|Horsemans b8bdbc1854 Initial commit.||2 years ago|
|.gitignore||2 months ago|
|LICENSE||2 months ago|
|README.md||2 months ago|
|foot.html.tmpl||2 months ago|
|head.html.tmpl||2 months ago|
|make.sh||2 months ago|
|next.sh||2 months ago|
|rsync-excludes.txt||2 months ago|
|sync.sh||2 months 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.