Skip to content

Add Nimble web intelligence for URL extraction and topic search - #21

Closed
ilchemla wants to merge 2 commits into
Graphify-Labs:v3from
ilchemla:feat/nimble-integration
Closed

ilchemla wants to merge 2 commits into
Graphify-Labs:v3from
ilchemla:feat/nimble-integration

Conversation

@ilchemla

@ilchemla ilchemla commented Apr 7, 2026

Copy link
Copy Markdown

Why

graphify's /graphify add command currently uses Python's built-in urllib for fetching URLs — no JS rendering, no anti-bot handling, and basic HTML-to-markdown conversion. Modern websites increasingly rely on client-side rendering, which means urllib often returns empty or incomplete content.

Nimble is a web intelligence platform that turns any public webpage into clean, structured data. Their Extract API handles JS rendering, stealth unblocking, and returns clean markdown — all in a single API call. Their Search API lets AI agents search the live web and retrieve precise, full-page content in real time.

This PR integrates Nimble as an optional dependency, so graphify users can get significantly better web extraction out of the box.

What changed

  • Nimble Extract — /graphify add <url> now uses Nimble for real-time HTML/markdown extraction with stealth unblocking and JS rendering when nimble_python is installed (pip install graphifyy[nimble]). The built-in urllib path is used as an alternative when Nimble is not installed.
  • Nimble Search — New /graphify ingest-topic "<topic>" command. Searches the live web via Nimble Search (general focus, deep mode) and saves results as graphify-ready markdown files with full page content — not just snippets.
  • Added nimble = ["nimble_python"] optional dependency in pyproject.toml
  • Updated all 4 skill files (Claude, Codex, OpenCode, OpenClaw) with the new ingest-topic command
  • Updated README with web ingestion section, usage examples, and API key setup
  • Unit tests (mocked) and live integration tests (auto-skipped without API key)

🤖 Generated with Claude Code

ilchemla and others added 2 commits April 7, 2026 11:17
…search

Integrate Nimble (nimbleway.com) as an optional dependency for enhanced web
ingestion. When nimble_python is installed, /graphify add uses Nimble Extract
for real-time HTML/markdown with stealth unblocking and JS rendering. New
/graphify ingest-topic command searches the live web via Nimble Search (general
focus, deep mode) and saves results as graphify-ready markdown files.

- Add nimble_python optional dep in pyproject.toml
- Upgrade ingest.py: Nimble Extract for webpages/tweets/arxiv, cached client,
  new search_ingest() function, built-in urllib as alternative path
- Add /graphify ingest-topic command to all 4 skill files (Claude, Codex,
  OpenCode, OpenClaw)
- Update README with web ingestion section and usage examples
- Add unit tests (test_nimble_ingest.py) and live integration tests
  (test_nimble_live.py, auto-skipped without nimble_python/API key)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@safishamsi

Copy link
Copy Markdown
Member

I appreciate the work here but I am going to pass on this one.

graphify's design is that it runs entirely on your existing AI assistant's API key with no additional accounts or services needed. Adding Nimble as a dependency for core functionality like URL fetching changes that promise, and it ties graphify to a specific commercial vendor.

The JS rendering problem is real but I would rather solve it at the platform level (documenting that users can save content manually, or use browser extensions to export clean markdown) than by requiring a second paid API.

@safishamsi safishamsi closed this Apr 7, 2026
jansaasman added a commit to jansaasman/graphify that referenced this pull request Apr 9, 2026
Custom tree-sitter extractor for Common Lisp covering defpackage, defclass,
defun, defmethod, defgeneric, defmacro, CLOS method specializers, class
inheritance, docstrings as rationale nodes, function call graph, and
defpackage :use / require imports. Extensions: .lisp .cl .lsp .asd

Co-Authored-By: Claude Opus 4.6 <[email protected]>
V0v1kkk added a commit to V0v1kkk/graphify that referenced this pull request Apr 18, 2026
PR Graphify-Labs#19 (scanner.c fix) was merged. Added new issue Graphify-Labs#20 and PR Graphify-Labs#21
requesting PyPI publishing for tree-sitter-razor.

Made-with: Cursor
V0v1kkk added a commit to V0v1kkk/graphify that referenced this pull request Apr 27, 2026
…azor PyPI request

- PR Graphify-Labs#441: addressed 3 bugs from review, added 5 unit tests
- tree-sitter-razor: added issue Graphify-Labs#20 and PR Graphify-Labs#21 for PyPI publishing
- PR Graphify-Labs#19 (scanner.c fix): marked as merged

Made-with: Cursor
safishamsi added a commit that referenced this pull request Jun 19, 2026
…semantic scope, cache staleness, video update, transcribe robustness

Closes the non-crash tier of #1392 in the Claude-path skill fragments:
- #6/#7: build_from_json/build_merge now take directed=IS_DIRECTED in Step 4, Step 5 rebuild, and the --update merge/diff, with prose telling the agent to substitute IS_DIRECTED like INPUT_PATH (a --directed run no longer silently rebuilds undirected and collapses reciprocal edges)
- #10: semantic extraction only flattens document/paper/image, not code (AST already covers code) so subagents stop re-reading every source file
- #12: .graphify_cached.json is deleted on a cache miss so Part C never merges a stale cache from a prior run
- #11: --update now transcribes changed video files and moves transcripts to documents before the semantic pipeline
- #4/#5/#23: transcribe writes via write_text (no shell redirect), uses GRAPHIFY_WHISPER_MODEL/PROMPT env, status to stderr
- #2/#3: add-watch and exports use $(cat graphify-out/.graphify_python) explicitly; MCP Desktop config documents the absolute interpreter path
- #21: extraction-spec example id namespaced (auth_session_validatetoken)
- #22: query term split keeps tokens >= 3 chars

aider/devin monoliths are pinned by the roundtrip invariant and excluded; their own Step 1 already instructs replacing python3 with the resolved interpreter.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
PerryLin-0420 pushed a commit to PerryLin-0420/graphify-decouple that referenced this pull request Aug 13, 2026
…content-only semantic scope, cache staleness, video update, transcribe robustness

Closes the non-crash tier of Graphify-Labs#1392 in the Claude-path skill fragments:
- Graphify-Labs#6/Graphify-Labs#7: build_from_json/build_merge now take directed=IS_DIRECTED in Step 4, Step 5 rebuild, and the --update merge/diff, with prose telling the agent to substitute IS_DIRECTED like INPUT_PATH (a --directed run no longer silently rebuilds undirected and collapses reciprocal edges)
- Graphify-Labs#10: semantic extraction only flattens document/paper/image, not code (AST already covers code) so subagents stop re-reading every source file
- Graphify-Labs#12: .graphify_cached.json is deleted on a cache miss so Part C never merges a stale cache from a prior run
- Graphify-Labs#11: --update now transcribes changed video files and moves transcripts to documents before the semantic pipeline
- Graphify-Labs#4/Graphify-Labs#5/Graphify-Labs#23: transcribe writes via write_text (no shell redirect), uses GRAPHIFY_WHISPER_MODEL/PROMPT env, status to stderr
- Graphify-Labs#2/Graphify-Labs#3: add-watch and exports use $(cat graphify-out/.graphify_python) explicitly; MCP Desktop config documents the absolute interpreter path
- Graphify-Labs#21: extraction-spec example id namespaced (auth_session_validatetoken)
- Graphify-Labs#22: query term split keeps tokens >= 3 chars

aider/devin monoliths are pinned by the roundtrip invariant and excluded; their own Step 1 already instructs replacing python3 with the resolved interpreter.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants