|Horsemans b8bdbc1854 Initial commit.||2 years ago|
|.gitignore||1 week ago|
|LICENSE||1 week ago|
|README.md||1 week ago|
|foot.html.tmpl||1 week ago|
|head.html.tmpl||1 week ago|
|make.sh||1 week ago|
|next.sh||1 week ago|
|rsync-excludes.txt||1 week ago|
|sync.sh||1 week ago|
Piecemeal is two tiny shell scripts that allow you to quickly create a microblog.
There are no settings, and no configuration. The layout of URLs or the home page cannot be changed.
The focus is to get you to write something with as little thought as possible.
Entries have no title. The first sentence of each entry is truncated for display on the home page.
Entries have no metadata. Only the file creation date is respected, which is used to roughly group entries together on the home page.
Entries are Markdown files.
Entry files are created using
next.sh. This will automatically number your next entry, create the Markdown file in the appropriate place, and open $EDITOR.
The URL layout is fixed. Entries are named
index.md in individual folders with monotonically increasing integral names. The output file,
index.html, is placed in the same directory.
Output is generated using
make.sh. It will process each Markdown file, and generate the index page and all output files.
Piecemeal expects CommonMark to be installed, and
cmark to be in your
$PATH. To install CommonMark, contact your system administrator.
Header and footer templates are applied to each output file.
Templates are placed in
foot.html.tmpl. Sample templates are provided.