2 unstable releases

0.2.0 Oct 17, 2024
0.1.0 Oct 15, 2024

#1075 in Web programming

49 downloads per month

MIT license

14KB
281 lines

Shellpage

Quickstart your blog posts in Github Pages. Write your posts in Markdown and render them in html with templates, javascript and css. Shellpage uses Tera for templates, but you don't even need to use them, if you don't want.

Check out this repo to see the results

Example usage

# Creates new post and launches editor
shellpage new-post "BlogPost" -o

# Converts the Markdown files to HTML, apllies templates and updates index 
shellpage publish --all --overwrite

# Updates index.html with the full list of blog posts
shellpage update-index

Example config file

# config.toml

_sign_name = "John"
repo_path = "/home/user/blog/"
md_storage = "/home/user/blog/md/"
html_storage = "/home/user/blog/html/"
template_path = "/home/user/blog/templates/*"
editor = "nvim"

Dependencies

~10–19MB
~269K SLoC