Skip to content
/ weave Public

minimalistic zk web frontend

Notifications You must be signed in to change notification settings

matze/weave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weave

Weave is a self-hosted, single-user, web-based frontend to view and edit zk notes. It is lightweight, quick and opinionated. It features

  • a single binary with a built-in zk re-implementation (no zk binary needed)
  • fuzzy search across all note titles and tags
  • cross-linking and note editing
  • syntax highlighting of code blocks
  • real-time file watching (external edits show up immediately)
  • light and dark mode

DEMO

Building from source

You need a Rust toolchain (1.93+) and the tailwindcss standalone CLI binary in your PATH.

git clone https://github.com/matze/weave.git
cd weave
cargo build --release

The binary ends up in target/release/weave.

Quickstart

Point Weave at a zk notebook directory (here we use the demo notebook), set a password and run the application from source with:

ZK_NOTEBOOK_DIR="$(pwd)/notebook" WEAVE_PASSWORD="secret" cargo run --release

This starts the server on http://localhost:8000. A demo instance can be accessed at https://weave.bloerg.net.

Environment variables

Variable Description Default
ZK_NOTEBOOK_DIR Path to the zk notebook directory (required)
WEAVE_PASSWORD Password for signing in (empty, login disabled)
WEAVE_PORT Port the server listens on 8000

License

MIT

About

minimalistic zk web frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published