Repository navigation
Description
What happened
Ran graphify extract . --code-only on a Nuvemshop (Tiendanube) theme project (v0.9.41). The theme is ~137 .tpl files (Liquid-style templating: {% include %}, {{ variable }}, {% if %}), plus a few .js files and .txt/.json config files.
Output:
[graphify extract] --code-only: skipping 8 non-code file(s) (6 docs, 0 papers, 2 images) — no LLM extraction
[graphify extract] found 4 code, 0 docs, 0 papers, 0 images
[graphify extract] 137 file(s) not classified (no supported extension or shebang), skipped: 404.tpl, address.tpl, addresses.tpl, banner-services-item.tpl, banner-services.tpl, banners_help.tpl (+131 more)
Only the 4 .js files were parsed (9 nodes / 13 edges total). Every .tpl file was skipped as "not classified" — none of the include/extends relationships between templates and snippets (which is most of the actual structure of a theme like this) end up in the graph.
What I expected
Since .tpl here is essentially HTML plus a Liquid-like templating syntax, I expected either first-class parsing (a tree-sitter grammar for this templating syntax), or at minimum {% include 'path/to/snippet.tpl' %} being resolved into a references/imports edge between the two template nodes, similar to how markdown [text](./other.md) links become edges today.
Why it matters
Nuvemshop/Tiendanube is a large e-commerce platform (mostly Latin America / Brazil) and theme projects are structured almost entirely as networks of small .tpl partials including each other — exactly the kind of "which snippet is used where" navigation problem graphify is good at for other stacks. Right now that whole category of project gets close to zero value out of the tool.
Suggestion
Add .tpl (or a --treat-as-html / custom-extension-mapping flag) so {% include %} and {{ }} at least get treated as HTML-like for the purpose of extracting include edges, even without full Liquid semantics. Happy to share an anonymized sample of the template structure if useful for building a test fixture.
Environment
graphify 0.9.41 (installed via pip install graphifyy), Linux (Linux Mint), run with graphify extract . --code-only (no LLM backend configured).
Activity