lipu-e-pilin/README.md

22 lines
880 B
Markdown
Raw Permalink Normal View History

2022-12-22 02:55:15 +01:00
# Lipu e pilin
Lipu e pilin (Toki Pona for "document experiences"), is just a bunch of scripts to allow you to do microblogging using git commits.
2022-12-22 02:59:58 +01:00
You can use it as an offline/downloadable blog, readable with git log, or as a traditional web page, with the index.html generate at each commit.
2022-12-22 02:55:15 +01:00
## How it works
When you create a commit, the pre-commit hook runs a perl script to export a git log in a neat and simple HTML file.
## Requirements
- Linux/UNIX system
- Perl
## Installation
2022-12-22 02:59:58 +01:00
Download the latest release. After extracting it, run `git init` in the directory.
Copy the pre-commit hook in your .git/hooks directory.
2022-12-22 02:55:15 +01:00
Et voilà!
Note: because the HTML file is created by parsing a git log command, its always late of 1 commit.
2022-12-22 04:09:36 +01:00
## Demo
If you want to see the HTMLpage render, here you can see [my personal lipu e pilin log](https://june.lacoloc.cafe/log.html)