A static blog generator
Project description
YABI: Yet Another Blogging (tool) Implementation
yabi allows you to create a simple and customizable blog site with minimal effort.
Write your posts in markdown, build the blog site, and deploy it anywhere you like.
Installation
The easiest way to install from PyPI is to the pip
command
pip install --user yabi
If you have cloned the source code you can install it with
pip install --user .
Getting started
Say, you want to create a new blog that describes your philosophical thoughts. You call it Discourses. To create this new blog type in a terminal
yabi init Discourses
now navigate to the newly created folder
cd Discourses
To publish your first though, create a new file on, e.g., posts/my_first_thought.md
. The only requirements for a post is that
- It is somewhere inside the
posts
folder - Has set the label
draft
to "yes" or "no" at the file header. - It has a level 1 Markdown heading with the title of the post right after the label(s).
Apart from these minimal requirements, the post can have any valid Markdown syntax.
draft: no
# My first thought
I will drink more water. I will exercise more and I will wake up earlier.
No, I'm not. I rather not to.
Finally, build the website using the command
yabi build
All the contents of the website are built under the folder public
. You can upload these files to any hosting service of your liking. If
you wish to check how the site will look you can use the command
yabi test
which will create a local server with your website on http://localhost:9090
by default.
Features
- Simply and minimalistic user interface
- Sane defaults for the website. Have a nice blog with all the expected features: archive, categories, and a home page with the latest posts
- Markdown-format post system. No need of complex databases, the only thing needed to build your website are the markdown files containing your posts. Ideal for version control!
- Optimized build system. Only builds what you have recently added/changed.
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 yabi-1.0.tar.gz
.
File metadata
- Download URL: yabi-1.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a905cef39ca7db889351f8ad998a28c67f227d83ad794b094f34edc357bbeb8 |
|
MD5 | 495f8eb8729334c67fb3762977c09494 |
|
BLAKE2b-256 | cd0fefcec75bb8911e82ed776917e7a3ba560d463c5dd74881c8a6dcd9120d5c |
File details
Details for the file yabi-1.0-py3-none-any.whl
.
File metadata
- Download URL: yabi-1.0-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed923322f1dc6fed0630fd4c938e5914c2766cbcdc4cca1ad663fc492d49e64 |
|
MD5 | 7929836b31adb4ee7b510d13542231c1 |
|
BLAKE2b-256 | 6c7b0db5a12a12c0d897a206746533c176bbcc4be71687410b2b528ffcb3d90a |