shellpage

Crates.ioshellpage
lib.rsshellpage
version0.2.0
sourcesrc
created_at2024-10-15 16:45:02.11987
updated_at2024-10-17 17:27:36.771309
descriptionTool for conversion of markdown to html and quick blog setup
homepage
repositoryhttps://github.com/hellbound22/shellpage
max_upload_size
id1409715
size43,931
Rodrigo de Oliveira Mauricio (hellbound22)

documentation

README

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"
Commit count: 12

cargo fmt