Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wezm/pkb

Personal knowledge base
https://github.com/wezm/pkb

personal-knowledge-base pkb rust

Last synced: about 1 month ago
JSON representation

Personal knowledge base

Awesome Lists containing this project

README

        

# pkb — Personal Knowledge Base

`pkb` is a small [Rust] application that allows you to efficiently publish a
collection of Markdown files. I run my instance at [linkedlist.org].

[![Build Status](https://api.cirrus-ci.com/github/wezm/pkb.svg)](https://cirrus-ci.com/github/wezm/pkb)

## Configuration

* Copy the `Rocket.sample.toml` file to `Rocket.toml` and 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 run` and visit
* You should create Markdown file called `home.md`. This file will be shown as
the homepage:

## Deployment

1. Build a release binary: `cargo build --release --locked`, it will be created at
`target/release/pkb`.
1. Copy the binary, `public` directory, and your `Rocket.toml` to your server (this
assumes your build machine and server are binary compatible).

## History

`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.

[Rust]: https://www.rust-lang.org/
[linkedlist.org]: https://linkedlist.org/
[ruby branch]: https://github.com/wezm/pkb/tree/ruby