Skip to content

Rename library-portal to library, swap Stirling-PDF for BentoPDF, fix distribution repo-root bug - #3

Merged
vecnode merged 3 commits into
mainfrom
library-bentopdf-distfix
Jul 12, 2026
Merged

Rename library-portal to library, swap Stirling-PDF for BentoPDF, fix distribution repo-root bug#3
vecnode merged 3 commits into
mainfrom
library-bentopdf-distfix

Conversation

@vecnode

@vecnode vecnode commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Renames the library-portal app to library in everything user-facing (TUI Open menus, app registry, MCP tool descriptions, docs); the docker/library-portal/ folder path is unchanged.
  • Removes Stirling-PDF entirely and adds BentoPDF's self-hosted build (ghcr.io/alam00000/bentopdf-simple, AGPL-3.0, reuses port 8080) in its place.
  • Fixes a real distribution bug: is_valid_repo_root() required a .git directory, which distribute_cli.bat's packaged output never has - so every Docker-app "open" button failed with "could not locate repository root" (the ".git not found" issue) once distributed. Now checks for scripts/ + docker/ instead, both of which ship in the distribution.

Test plan

  • cargo build/test/clippy/fmt --check all pass
  • vn app list shows docs, silverbullet, bentopdf, library, media-downloader, doc-processor
  • Built a distribution package via distribute_cli.bat, confirmed no .git in it, ran vn app open library --no-open from inside it - it now reaches the Docker daemon check instead of failing at repo-root detection
  • Will trigger workflow_dispatch CI manually before merging (this repo's CI is manual-only)

🤖 Generated with Claude Code

vecnode and others added 3 commits July 12, 2026 17:38
… distribution repo-root bug

- Rename the "library-portal" app to "library" throughout (TUI menus, app
  registry, MCP tool descriptions, docs) - the docker/library-portal/ folder
  path and its build context are left as-is.
- Remove Stirling-PDF entirely (app registry, TUI menus, docs, SECURITY.md
  threat model) and replace it with BentoPDF's self-hosted build
  (ghcr.io/alam00000/bentopdf-simple, AGPL-3.0, reuses port 8080).
- Fix a real distribution bug: is_valid_repo_root() required a .git
  directory, which distribute_cli.bat's packaged output never has (it's a
  plain folder, not a git checkout) - every Docker-app "open" button in a
  distributed copy failed with "could not locate repository root". Now
  checks for scripts/ + docker/ instead, which both ship in the
  distribution. Verified by building a distribution package and running
  `vn app open library` from it with no .git present - it now reaches the
  Docker daemon check instead of failing at repo-root detection.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Drops SilverBullet entirely: app registry entry, its plan_for arm, the
space-folder backup helper it was the only caller of, the docker.rs
"vn docker up silverbullet" special case, TUI Open-menu entries, MCP
tool description, and the Silverbullet menu/prompts in both win11 and
ubuntu22 main scripts (renumbering the remaining menu choices). Docs
(AGENTS.md, SECURITY.md, README.md, docker/README.md, mcp-functions.md,
scripts/README.md) updated to match.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…icons

- docs: mdbook requires SUMMARY.md (book.toml sets src = "."); it was
  missing from the port, so mdbook serve failed immediately on start
  ("Couldn't open SUMMARY.md"). Added one listing README.md and
  mcp-functions.md as chapters.
- doc-processor: its Dockerfile copies assets/icons/black-square.svg as
  the UI favicon, but assets/ was never carried over during the port, so
  the build failed at that COPY step. Added assets/icons/ (the only
  assets/ subpath anything references).

Verified both: built and started each container, confirmed docs serves
(page title "Overview - vncli Docs") and doc-processor becomes ready on
its wait_port, then cleaned up the test containers/images.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vecnode
vecnode merged commit 0a2065c into main Jul 12, 2026
4 checks passed
@vecnode
vecnode deleted the library-bentopdf-distfix branch July 12, 2026 18:19
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.

1 participant