Skip to main content

One CLI. Every Sense. Zero Tokens.

Project description

Synesthesia

DOM/code/pixel → compact tree. One CLI that turns web pages, code, and screenshots into small searchable trees.

pip install nbsvision
syn --help
syn dom --url https://github.com --mini

🇬🇧 English | 🇷🇺 Русский | 🇩🇪 Deutsch | 🤖 AI

Requires Python 3.11+. From source: pip install git+https://github.com/freundapps/NBSvision.git

Synesthesia

36 tools · two-circuit @✓ · 0⏋ LLM — «One CLI. Every Sense. Zero Tokens.»


What is this?

NBSvision is a command-line toolkit (syn) that compresses messy inputs — live web pages, PDFs, spreadsheets, screenshots — into compact structural trees. Instead of feeding raw HTML or huge JSON to an LLM, you get a small tree you can search locally with syn find, using zero tokens for navigation and inspection.

Why would I use it?

1. Understand any web page in the terminal

Turn a live URL into a readable layout tree:

syn dom --url https://github.com --mini
syn dom --url https://github.com --json > tree.json

2. Find elements without an LLM

Search a saved tree by tag, name, or class — no API calls:

syn find tree.json --tag button
syn find tree.json --name "Sign in"

3. Turn files or screenshots into structure

Decode office documents or capture the screen:

syn decode data.xlsx --mini
syn pixel --screenshot --to-nbs

What's next?

Run interactive onboarding — it asks what you have (HTML, PDF, screenshot, code) and suggests the right commands:

syn doctor

For deeper topics: syn explain format, syn explain verify, or syn --help.

Terminology

ULTRA, NBSX, codon, and other format names are documented in docs/glossary.md. You do not need them for the quickstart above.


More commands

Task Command
Verify a spec syn verify < spec/two-circuit-verify.nbs
Scrape page text syn grab --url URL --text
Run a workflow syn run recipes/elif-to-dict-dispatch.nbsx
List all tools syn --help

Full signatures and agent-oriented docs: README.ai.md · machine-readable: README.ai.ultra


Real-world examples

Site Command
github.com syn dom --url https://github.com --mini
google.com syn dom --url https://google.com --mini
apple.com syn dom --url https://apple.com --mini

Project layout

NBSvision/
├── README.md              # This file — for humans
├── README.ai.ultra        # Compact tree — for LLM agents
├── recipes/               # 8 NBSX refactoring templates
├── spec/                  # NBS spec, verification fixtures
└── scripts/               # Python modules (syn router)

License

MIT — use freely, attribution appreciated.

⭐ If this saved you time, star the repo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbsvision-0.23.0.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nbsvision-0.23.0-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file nbsvision-0.23.0.tar.gz.

File metadata

  • Download URL: nbsvision-0.23.0.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for nbsvision-0.23.0.tar.gz
Algorithm Hash digest
SHA256 ed4b97d3e829b7cf2cdbf15c96405d5041ec97994b801fdf27f85c0a798b2cf0
MD5 bbeffb7869a401eb0372ef0888267b8f
BLAKE2b-256 bb588be01e96e1899560d29dd600cf99206993a404198112cb055237e2c6cec6

See more details on using hashes here.

File details

Details for the file nbsvision-0.23.0-py3-none-any.whl.

File metadata

  • Download URL: nbsvision-0.23.0-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for nbsvision-0.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ec7432aab3768b40e779736beb903425cd17863d9cd185f1960982cf3cba6fb
MD5 6b0c93aae407cb45cdd29b25edf482b7
BLAKE2b-256 39ced7bf1d9ee45486b44b7725890aecfbb9dc5c9de9050d783aab70a0387a68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page