Loading...
Discovering amazing open source projects
Discovering amazing open source projects
Loading post content...
SilverBullet combines a Markdown‑based note‑taking app with the power of Lua scripting, delivering a fully offline‑first personal wiki you can self‑host. It gives you data privacy, zero vendor lock‑in, and the ability to turn plain notes into interactive applications.
Ever opened a note‑taking tool, typed a few ideas, and suddenly realized you’re locked into a proprietary ecosystem? Your data lives on a third‑party server, you’re forced to pay for premium features, and you can’t extend the app beyond the UI the vendor provides. For developers, writers, and power users, that friction is a daily productivity killer.
Enter SilverBullet – an open‑source, self‑hosted personal productivity platform that treats your notes as first‑class code. Built on plain Markdown, powered by Lua, and delivered as a Local‑First Progressive Web App (PWA), SilverBullet gives you the freedom to write, script, query, and sync your knowledge without ever surrendering control of your data.
${lua expression}
. Turn a simple note into a dynamic dashboard, calculator, or mini‑app.[[page name]]
syntax to create bi‑directional links. Linked mentions surface automatically, giving you a living knowledge graph.Feature | What It Means for You |
---|---|
Markdown + Live Preview | Write in familiar Markdown and see a WYSIWYG preview instantly, while still having raw source at your fingertips. |
Lua scripting in‑page | ${10 + 2} evaluates to 12 ; more complex scripts can fetch data, compute statistics, or generate UI elements on the fly. |
Bidirectional links | [[Project Plan]] creates a forward link; the target page automatically lists you under “Linked Mentions”. |
Front‑matter & tags | Add YAML front‑matter to any page for metadata (e.g., status: draft ). Tags (#todo ) enable quick filtering and grouping. |
Object indexing & queries | Use the built‑in query language (SELECT * FROM pages WHERE tags CONTAINS 'project' ) to pull out relevant notes without leaving the editor. |
Local‑First PWA | The app runs entirely in the browser, storing a copy of every file locally. Syncs to the server when a network is available, ensuring you never lose access. |
Self‑hosted & portable | Deploy with a single Docker command or run via npm . Your entire knowledge base lives in a regular folder you can back up, version‑control, or move at will. |
Extensible UI | Plug‑in style UI components can be added via Lua, letting you build custom dashboards, calendars, or task boards inside your notes. |
Multi‑device access | Any modern browser—desktop, laptop, or mobile—can load your Space, giving you a consistent experience everywhere. |
Below is a minimal path to get SilverBullet up and running on a fresh machine. The project provides both a Docker image and a classic Node.js setup; pick the one that fits your workflow.
docker run -d \
--name silverbullet \
-p 3000:3000 \
-v $(pwd)/silverbullet-data:/app/data \
silverbulletmd/silverbullet:latest
-v
flag mounts a host directory (silverbullet-data
) where all Markdown files will be stored.http://localhost:3000
to start creating pages.# Clone the repository
git clone https://github.com/silverbulletmd/silverbullet.git
cd silverbullet
# Install dependencies
npm ci
# Build the assets
npm run build
# Start the server (default port 3000)
npm start
Tip: For production you’ll likely want to run the app behind a reverse proxy (e.g., Nginx) and enable HTTPS. The README contains a full Docker‑Compose example and TLS instructions.
${Date.now()}
and watch it render the current timestamp.[[Another Page]]
to create a link; the target page will automatically list the backlink under “Linked Mentions”.Ctrl+Shift+F
(or click the “Query” icon) to run an object query like SELECT title FROM pages WHERE tags CONTAINS 'project'
.For deeper guidance, consult the official docs: Getting Started Guide.
Feature | SilverBullet (Open‑Source) | Notion | Evernote | Microsoft OneNote |
---|---|---|---|---|
Data ownership | ✅ Files stored on your server (Markdown) | ❌ Cloud‑only, proprietary format | ❌ Cloud‑first, limited export | ❌ Cloud‑first, Microsoft ecosystem |
Offline‑first | ✅ Full PWA caching & local DB | ✅ Desktop apps work offline (limited sync) | ✅ Basic offline mode | ✅ Desktop app fully offline |
Programmability | ✅ Lua embedded in pages | ❌ No scripting | ❌ No scripting | ❌ No scripting |
Bidirectional links | ✅ Automatic backlinks | ✅ (via “Relation” blocks) | ❌ No native backlinks | ❌ No native backlinks |
Export format | ✅ Plain Markdown (editable) | ❌ Proprietary JSON/HTML export | ❌ ENEX (XML) | ❌ OneNote package |
Self‑hosting | ✅ Docker/Node.js | ❌ Not possible | ❌ Not possible | ❌ Not possible |
Cost | ✅ Free (MIT license) | ❌ Free tier limited, paid plans | ❌ Free tier limited, paid plans | ❌ Free tier limited, paid Office 365 |
Extensibility | ✅ Lua plugins, custom UI | ❌ Limited API, no UI extensions | ❌ No extensibility | ❌ No extensibility |
Bottom line: If you value privacy, want to run custom code inside your notes, and need a truly portable knowledge base, SilverBullet offers a feature set that matches or exceeds the most popular proprietary tools—without the subscription fees or data‑lock.
SilverBullet is maintained by a small but active core team and a growing community of contributors. The project follows an open governance model:
plugins/
directory; you can drop a .lua
file into your Space to add new UI widgets.docs/
folder, ensuring the docs stay in sync with code changes.PROJECTS.md
file, inviting anyone to vote on upcoming features.For weekly news in the tech-world check out The Infinity Dev Newsletter
Ready to take back control of your notes and start building interactive knowledge bases?
SilverBullet proves there is indeed a “silver bullet” for personal productivity: an open, extensible, offline‑first platform that lets you write, compute, and connect—all on your own terms. Give it a spin today and turn your notes into the first line of code for your next big idea.
Curating the best open source projects every day. Follow us for daily discoveries of amazing tools and libraries.
Get all the latest posts delivered straight to your inbox.
We respect your privacy. Unsubscribe at any time.