Metadata-Version: 2.1
Name: gitblog2
Version: 0.1.0
Summary: Git + Markdown = blog
License: MIT
Author: Henri Hannetel
Author-email: henri.hannetel@pm.me
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: Jinja2 (>=3.1.2,<4.0.0)
Requires-Dist: Markdown (>=3.4.1,<4.0.0)
Requires-Dist: pygit2 (>=1.11.1,<2.0.0)
Requires-Dist: typer (>=0.7.0,<0.8.0)
Description-Content-Type: text/markdown

# ![Git-blog Logo](media/favicon.svg "title") Git-blog

Git + Markdown = Your blog

## TODO

* Add bio and picture from github
* Look at cool HTML elements: <https://tapajyoti-bose.medium.com/7-cool-html-elements-nobody-uses-436598d85668>
* css toolchain like <https://github.com/FullHuman/purgecss/issues/264>
* Live update locally
* Draft support (set publish_date to first `mv`)
* Fix root index.html not served by redbean

## Internals

Stylesheet is based on water.css

## Development

You can lively check your local changes by running the following commands in 2 separate terminals:

```bash
curl https://redbean.dev/redbean-tiny-2.2.com > redbean.zip
zip redbean.zip .init.lua
./redbean.zip -D www/

# Lively rebuild
./live-build.sh

# Serve the blog
docker run -v "${PWD}/.out/blog":/usr/share/nginx/html:ro -p 127.0.0.1:8080:80 nginx:alpine
```

Reload <http://127.0.0.1:8080/tech> to check the results.

