Recibimos comisiones cuando compras a través de los enlaces de abajo.
Programmable Markdown knowledge base — Start with linked Markdown notes, then grow them into your own system with live task queries and Lua
Programmable Markdown knowledge base — Start with linked Markdown notes, then grow them into your own system with live task queries and Lua scripts.
READMEsilverbulletmd/silverbullet en GitHub
SilverBullet is a knowledge base that scales from keeping just a few personal notes, to maintaining a product’s full documentation, to your hyper customized team’s wiki with custom workflows. It supports both single-user and multi-player editing. And builds all this on top of a folder with markdown files, turbo charged with (Space) Lua, fully under your (versioned) control.
Check out the instructions.
SilverBullet's frontend ("client") is written in TypeScript and built on top of the excellent CodeMirror 6 editor component. Additional UI is built using Preact. ESBuild is used to build the frontend.
The server backend is written in Rust. It serves the pre-built client bundle, the file/space HTTP API, authentication, and a headless-Chrome runtime for server-side Lua.
bin/silverbullet/: The standalone silverbullet server binary (Rust) (this is the one you generally run)bin/sb/: The sb CLI client (Rust)bin/plug-compile.ts: the plug compilerclient/: The SilverBullet client (browser, TypeScript)server/: The SilverBullet server library (Rust): HTTP router, handlers, auth, runtime seamserver-common/: Shared Rust crate (space primitives, shared types)server-runtime-chrome/: Headless-Chrome runtime backend (Rust)plugs: Set of built-in plugs (TypeScript) that are distributed with SilverBulletlibraries: A set of libraries (space scripts, page templates, slash templates) distributed with SilverBullet (Space Lua)plug-api/: Useful APIs for use in plugs and published to NPM
lib/: Useful libraries to be used in plugssyscalls/: TypeScript wrappers around syscallstypes/: Various (client) types that can be references from plugsscripts/: Useful scriptsdocs/: documentation (published as docs.silverbullet.md and bundled as Desktop's Help)rustup): Used to build the serverThe project includes .nvmrc and .node-version files. If you use nvm or another Node version manager, it will automatically use the correct Node.js version:
nvm use # If using nvm
First, install dependencies:
make setup
To create a (release) build:
make
This will produce silverbullet and cli binaries in ./target/release/, run ./target/release/silverbullet to run the server.
SilverBullet has two halves you rebuild independently:
client/) is built by ESBuild into client_bundle/, which the server then serves.server/, server-common/, server-runtime-chrome/, bin/silverbullet/) is a compiled binary.Run the server in development with cargo run. A debug build serves the client bundle live from client_bundle/ on disk (a release build embeds it instead):
npm run build
cargo run <PATH-TO-YOUR-DATA-FOLDER>
When you change only the client (TypeScript in client/): you do not need to restart the server. Rebuild just the client bundle and reload the page in your browser — the debug server serves the freshly-built bundle straight from disk:
npm run build
To build a self-contained release binary (with the client bundle embedded), and run it:
make
./target/release/silverbullet <PATH-TO-YOUR-DATA-FOLDER>
# Clean all generated files
make clean
# Typecheck and lint all code
make check
# Format all code
make fmt
# Run all tests
make test
# Run benchmarks
make bench
Note, you do not need Node.js nor Rust locally installed for this to work:
docker build -t silverbullet .
To run:
docker run -p 3000:3000 -v <PATH-TO-YOUR-DATA-FOLDER>:/data silverbullet
Actively maintained (recent upstream activity).
Última actualización desde GitHub: hace 4 horas
Las cifras de GitHub se actualizan varias veces al día.
Todas las alternativas de código abierto a Notion y Obsidian que aparecen aquí, lado a lado. Haz clic en una columna para ordenar.
AppFlowy | 79,8 mil | +291 | AGPL-3.0 | hace 15 días | – |
|---|---|---|---|---|---|
MemosAlojamiento en un clic | 64,8 mil | +107 | MIT | hace 5 horas | – |
Joplin ServerAlojamiento en un clic | 57,4 mil | +71 | Other | hace 5 horas | – |
TriliumNextAlojamiento en un clic | 39,2 mil | +89 | AGPL-3.0 | hace 4 horas | – |
Wiki.jsAlojamiento en un clic | 29,4 mil | +28 | AGPL-3.0 | hace 18 horas | – |
DocmostAlojamiento en un clic | 22,5 mil | +40 | AGPL-3.0 | hace 4 horas | – |
BookStackAlojamiento en un clic | 19,2 mil | +7 | MIT | hace 13 horas | – |
BlinkoAlojamiento en un clic | 11,3 mil | +16 | GPL-3.0 | hace 4 días | – |
HedgeDocAlojamiento en un clic | 7,5 mil | +3 | AGPL-3.0 | hace 23 horas | – |
SilverBulletEste proyectoAlojamiento en un clic | 6,7 mil | +56 | MIT | ayer | – |
OpenKnowledge | 4,9 mil | – | GPL-3.0 | hace 3 horas | – |
DokuWikiAlojamiento en un clic | 4,8 mil | +5 | GPL-2.0 | ayer | – |
Inicia sesión o crea una cuenta para comentar.
Aún no hay comentarios. Escribe el primero.
Luce tu proyecto: una tarjeta en vivo con tu posición y tu valoración, que se actualiza sola.
¿Prefieres la pequeña? Añade ?style=flat