OpenSourcePicks

Open source alternatives to popular software, with live GitHub data

GitHub stats refreshed every day

SilverBullet

Self-hosted Markdown knowledge base with wiki links, backlinks and Lua scripting, usable offline

Open source alternative to

Visit SilverBulletGitHubDocumentation

Main features

  • Notes stored as a folder of plain Markdown files
  • Wiki links with aliases and header links
  • Linked mentions (backlinks) under every page
  • Object graph view, marked experimental
  • Space Lua for queries, live expressions, commands and widgets
  • Tags, tasks and frontmatter in a queryable index
  • Offline-capable web app that installs on phones as a PWA
  • Accounts with per-space roles and OpenID Connect sign-in
  • Git-backed page history and optional Git sync
  • Plugs and libraries for extensions
  • HTTP API and MCP endpoint

What SilverBullet does

SilverBullet is a knowledge base that runs on your own server and is used from a browser. Each space is a folder of Markdown files on disk, and those files remain the source of truth: you can edit them with another editor, a script or an AI agent while SilverBullet is running, and it picks up the changes. Pages link to each other with [[wiki links]], and a Linked Mentions section at the bottom of each page lists every page that links to it.

What makes it different from other Markdown note apps is Space Lua, a Lua dialect built into the editor. Queries over pages, tags, tasks and other indexed objects can be written inline and render live inside a page, and the same language defines commands, widgets and templates. The docs present this as a way to grow from plain notes into a custom-built knowledge system without leaving the tool. Version 2 replaced the old query language and template types from the 0.x series with Space Lua, so guides written for v1 may no longer apply.

Server and Desktop editions

There are two editions, and only one is open source. SilverBullet Server, the subject of this page, is MIT-licensed, runs as a single binary or Docker container, and supports any number of users at home or at work. SilverBullet Desktop is a native app for macOS, Windows and Linux that opens local folders as spaces and can sync with a server. The FAQ states that Desktop is not open source, although it shares the same editor and libraries; it is free for personal and education use, and work use needs a paid Pro license.

Self-hosting SilverBullet

The server binary is available for macOS, Linux (x86_64 and arm64), Windows and FreeBSD, and Docker images are published on GHCR and Docker Hub. You give it a data folder and it listens on port 3000; on first start a setup wizard creates accounts and the first space. Accounts get read or write roles per space, OpenID Connect providers can handle sign-in, and anonymous read access can be allowed per space. The default Docker image includes Chromium for server-side scripting; slim images leave it out.

The browser client is an offline-first progressive web app. It keeps a copy of the space in the browser, works without a connection, and reconciles edits when it reconnects. On a phone you install it from the browser to the home screen; there is no app-store app. Client encryption of that browser copy is available in beta, but data on the server is stored as plain files, so this is not end-to-end encryption. The docs state that the server contains no trackers or telemetry.

Hosted version

The developers do not run a hosted service. The pricing page points to a third-party host that runs SilverBullet Server for you.

Limitations

The scripting-first design has a learning curve if you just want to write notes. Shared editing uses file watching and three-way merging rather than live co-editing, and the docs mark it, along with the graph view, as experimental. Git sync is described as a backup mechanism, not a collaboration tool. There is no dedicated Obsidian importer; you can point a space at an existing Markdown folder, but Obsidian-specific syntax may not render the same way. The native app that some users will expect is the closed Desktop edition.

Who it suits

SilverBullet suits self-hosters who want their notes as plain Markdown on a server they control, reachable from any browser, and who like the idea of scripting their own views and workflows. For a desktop app on the same kind of folder, see Zettlr or Tolaria; the Obsidian alternatives page compares storage and sync across the category.

License details

MIT. The MIT license covers SilverBullet Server. The separate SilverBullet Desktop app is closed source and needs a paid Pro license for work use.

What the MIT License means for you

Technical details

Built with

  • Rust
  • TypeScript
  • Lua

GitHub topics

  • end-user-programming
  • knowledge-management
  • lua
  • markdown
  • note-taking
  • personal-knowledge-management

Reviewed by the OpenSourcePicks editors from the project's repository and documentation. Something out of date? Tell us.

SilverBullet compared with similar tools

AppLicenseSelf-hosting needsHosted versionLast commit
AFFiNEMIT*PostgreSQL, RedisYestoday
AppFlowyAGPL-3.0*Nothing beyond the appYes1 month ago
JoplinAGPL-3.0-or-later*Nothing beyond the appYestoday
MemosMITSQLiteNotoday
SilverBulletMIT*Nothing beyond the appNoyesterday
SiYuanAGPL-3.0*Nothing beyond the appYes11 days ago

An asterisk marks a license with exceptions, such as proprietary directories or paid plugins; see the app page.