Chevette is a MarkDown powered static blog engine.
Project description
Version 0.1.0
Chevette
Chevette is a static blog engine written in Python. It presently only supports version 3.5 and up. There are currently no plans to add compatibility to previous versions although efforts from other contributors are most welcome.
Note: the project is currently an alpha release. There are still tests that need to be performed so certain functionality might not be fully stable.
Installation
Installation is fairly straightforward. Make sure you have either pip
or pipenv
installed on your system and run the following command:
pip install chevette
# or if you are using pipenv
pipenv install chevette
Basic Usage
Installing chevette will give you access to a command line utility to help you with your needs.
Create a blog
It's a simple as executing
chevette new <path/to/your/project/directory>
This will generate a basic boilerplate project for your site (Including template files).
Build the blog
To build your blog (ie: convert all your markdown posts to html):
- Navigate to the project directory (if you're not already there)
cd /path/to/your/project/directory
- Run the
build
command
chevette build
This will generate all the necessary html files (including pages and other assets) and place them in a directory called public
within the project directory.
Launch a server
Chevette comes with a very simple http server to help you track the changes you make to your blog.
- In a new terminal session, navigate to the
public
folder inside of your project directory (see the previous section)
cd /path/to/your/project/directory/public
- Run the
serve
command
chevette serve
A server will be launched which will be accessible at localhost:9310
Roadmap
As I've mentioned in the beginning of this README, chevette is still in its infancy and is very much a work in progress. There are many features I would like to implement, including the following:
- Code syntax highlighting in posts
- A drafts / unpublished mechanism
- Better logging, error messages
- More robust tests
- Add more options to the CLI commands
- Various performance tweakings
- A
publish
command as can be seen in projects like hyde or hugo - Tidying up the codebase
- Compilation of css and javascript assets
- many more as we think of them
Issues and contributing
If you come across this project and you either feel inclined to add your contribution or simply want to report a bug, the best way to so is through github issues.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chevette-0.1.0.tar.gz
.
File metadata
- Download URL: chevette-0.1.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc4d6c9b82faf4891804ff28a6b7fb4891851f0622c259be9bfa0ecc52b35f9d |
|
MD5 | 726bcfb077767073dd842ea1fe5f816c |
|
BLAKE2b-256 | d9c397a944e744094cbc2356dea4a6d5a39ed3d5ab09866dc3710e9a8fd749d3 |
File details
Details for the file chevette-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: chevette-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3cf439eaa84aa170183359b1a981d7ef37a2d3daed88e4d98d014d61083af34 |
|
MD5 | 5c3875833eed2a8ecefaaf848d68d908 |
|
BLAKE2b-256 | 2b127a994ae44ed8321ea1c4b661abcb52f3395393bb50906eaa87aa3cb9987c |