A couple of scripts to do microblogging with git commits.
Go to file
June Hardy bb210ad92e There were some typos. 2022-12-22 03:53:31 +01:00
git/hooks First commit! Scripts are ready 2022-12-22 02:45:12 +01:00
README.md There were some typos. 2022-12-22 03:53:31 +01:00
index.html There were some typos. 2022-12-22 03:53:31 +01:00
license.md Oops, I forgot the license. 2022-12-22 02:49:04 +01:00
log2html.pl First commit! Scripts are ready 2022-12-22 02:45:12 +01:00

README.md

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.

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.

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

Download the latest release. After extracting it, run git init in the directory.
Copy the pre-commit hook in your .git/hooks directory.
Et voilà!

Note: because the HTML file is created by parsing a git log command, its always late of 1 commit.