{% extends "base.html" %} {% block title %}Add {{ source_type }} source β LynxManager{% endblock %} {% block content %}
{% if source_type == "codebase" %}
Indexes a folder of source code so your AI client can search it semantically.
Each chunk is one syntactic unit (function, class, doc paragraph). The file
watcher reindexes on save so results stay fresh. With git integration on,
Lynx can also do diff-aware searches (search_diff) β useful
during code review when you want to find everything related to your current
changes.
Crawls a public documentation site and stores it locally. After the initial
crawl (triggered by lynx build --source <name>), searches
are 100% offline. The crawl is depth-limited and same-origin by default so
you don't accidentally index half the web. Re-run build manually whenever
you want a refresh β there's no automatic re-crawl.
Points at a folder of PDFs. Lynx extracts the text layer page by page and
indexes one chunk per page; AI clients cite results as
document.pdf p.42. Scanned PDFs (no text layer) and
password-protected files are skipped automatically. The watcher is OFF by
default since re-extracting a folder of PDFs is costly β trigger refreshes
manually via lynx build --source <name>.