Turn a folder into a browsable website, or serve current files directly. Use the published @dirwell/* packages; use Node.js 22.12 or later.
Try Ledger · Get started · Documentation
npx @dirwell/cli server ./downloads
npx @dirwell/cli build ./downloads --out ./site-downloadsNo project or config is required. Plain is included: native links and pagination, no browser JavaScript, fonts or share images. Server prints its URL and reads fresh data on requests; Ctrl+C stops it. Build replaces a dedicated output tree and copies selected source files. Publish the complete tree on a static host; keep unrelated files out of that directory.
For a searchable interface, install a rich theme:
npm install --save-dev @dirwell/cli @dirwell/theme-ledger
npx dirwell server ./downloads --theme ledger --liveUse dirwell.config.mjs to configure themes, selection and server/build options. Ledger uses Svelte; Crosswave uses Vue. Both remain separate optional installs. Core and integrations require explicit themes.
| Need | Package |
|---|---|
| Minimal build/server commands | @dirwell/cli |
| Filesystem, listing and static build API | @dirwell/core |
| Native HTML | @dirwell/theme-plain |
| Search, sort and keyboard navigation | @dirwell/theme-ledger |
| Media categories and controller navigation | @dirwell/theme-crosswave |
| Node HTTP routes and live file transport | @dirwell/server |
| Build-time metadata and PNG images | @dirwell/share-image |
| Static generation inside build tools | @dirwell/integrations |
| Svelte/Vue source compilation and local HMR | @dirwell/theme-authoring |
All nine share version 0.0.3 and the latest tag. Pin the tested version for reproducible builds. Core and Plain stay free of framework/image/font/watch dependencies. See the SDK guide for API, live server and listing policy examples.
| Task | Guide |
|---|---|
| Configure files, themes and URLs | Configuration |
| Publish under a fixed URL prefix | Deployment |
| Choose or customize an interface | Themes |
| Add titles and share images | Metadata |
| Integrate with a build or Node app | Build adapters · SDK |
| Understand API and limits | API reference · Support |
| Fix setup or links | Troubleshooting |
SDK installed-consumer checks cover Linux, Windows and macOS, ARM64/x64 and Node 22.12/24.1/26: three-theme SSG/MPA, CLI, live listing/files and source authoring. Browser tests cover native pagination, search/sort, history, live updates and simulated gamepads. Physical controller mappings, physical iOS, real screen-reader output and production-scale performance remain unqualified. See verification for evidence boundaries.
For shared routing.directoryUrls, homepage coexistence and deployment requirements, see Directory URLs. The URL publication design retains the ownership decisions, scenario matrices and verification evidence.
For repository setup, tests, examples, architecture, and release instructions, see Contributing.
Dirwell's code is MIT licensed. Bundled Source fonts and Ledger file icons have separate attribution and license terms in third-party notices.
For dependency audit scope, patched workspace resolutions, and retained development-only findings, see dependency security. Workspace overrides do not rewrite an installed consumer’s existing lockfile.
