You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
extract requires an LLM API key even if I’m not interested in doc extraction #1734
Extract fails on a repo that contains non-code without access to an LLM. I’d like it to just index the code and ignore the rest. The workaround is to add a graphifyignore, but since it is not clear what is and what is not considered code, creating that list is a very onerous trial and error. Especially since the list of what is not code is much bigger than what is code and the ignore file is supposed to define what is not code. Adding a simple override or a partial failure like ‘x code files extracted, with y non code files failed due to no llm api key present’ might be a more friendly failure? Or happy to run it with a —code-only flag or something to that effect.
Fixed on v8 (next release) — added the --code-only flag you suggested.
graphify extract . --code-only indexes the code via local AST (no API key needed) and skips the doc/paper/image files entirely, reporting what it skipped:
No more hand-crafting a .graphifyignore of everything non-code. And if you forget the flag on a mixed repo with no key, the error now points you straight at it ("Or pass --code-only to index just the code ..."). Regression tests cover both the flag succeeding keyless and the error hint. Thanks for the clear write-up — the trial-and-error-ignore pain was exactly the right thing to call out.
Activity
feat(extract): add --code-only to index code without an LLM key on a …
safishamsi commentedon Jul 8, 2026
Fixed on
v8(next release) — added the--code-onlyflag you suggested.graphify extract . --code-onlyindexes the code via local AST (no API key needed) and skips the doc/paper/image files entirely, reporting what it skipped:No more hand-crafting a .graphifyignore of everything non-code. And if you forget the flag on a mixed repo with no key, the error now points you straight at it ("Or pass --code-only to index just the code ..."). Regression tests cover both the flag succeeding keyless and the error hint. Thanks for the clear write-up — the trial-and-error-ignore pain was exactly the right thing to call out.
Release 0.9.11
feat(extract): add --code-only to index code without an LLM key on a …
docs(cli): surface --code-only in the extract usage and README (#2071)
Squashed commit of the following:
feat(extract): add --code-only to index code without an LLM key on a …
Release 0.9.11
docs(cli): surface --code-only in the extract usage and README (Graph…