SaptakS / saptaks-blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Khata: The writing pad

This is the Rust implementation of Shonku project.

This is the very early stage.

To build from the source

cargo build --release

How to use?

You will the following directory structure.

|-> templates
|-> pages
|-> posts
|-> output
    |
    |-> posts
    |-> pages
    |-> categories
    |-> assets

You can make them all as

mkdir -p pages posts output/{posts,pages,categories}
cp -r assets output/

Create a new blog post

./khata --new

Build the posts after any change

./khata

To build the updated/new posts.

To rebuild the whole site

./khata --rebuild

To rebuild the whole site.

To view the help

./khata -h

To view all the help options.

We have default templates and assets in the git repo.

To view which binary you are using

./khata -e

About

License:GNU General Public License v3.0


Languages

Language:CSS 44.4%Language:Rust 23.1%Language:JavaScript 21.1%Language:HTML 11.3%