pkb is a small Rust application that allows you to efficiently publish a
collection of Markdown files. I run my instance at linkedlist.org.
- Copy the
Rocket.sample.tomlfile toRocket.tomland fill in your own details - Link the directory with your Markdown files in it. E.g.
ln -s ~/Dropbox/My\ Markdown\ Files pages - Start the server,
cargo runand visit http://127.0.0.1:8000/pages - You should create Markdown file called
home.md. This file will be shown as the homepage: http://127.0.0.1:8000
- Build a release binary:
cargo build --release --locked, it will be created attarget/release/pkb. - Copy the binary,
publicdirectory, and yourRocket.tomlto your server (this assumes your build machine and server are binary compatible).
pkb was originally implemented in 2015 as a Ruby on Rails application. The ruby branch
contains the code before it was rewritten in Rust in 2022.