Dozens B. McCuzzins 9bb2b1d06c | ||
---|---|---|
db | ||
templates | ||
LICENSE | ||
README.md | ||
justfile |
README.md
consump
it's like goodreads for x
CC BY 4.0 2023
about
a convoluted pipeline of transformations that creates an html log of tv shows, podcasts, and music from a plain text database.
this is what powers http://tilde.town/~dozens/consume/
features
- plain text database!
- ed?
- produces html/css/javascript (js for filtering content type; css for lookin good; html because don't you want to read it??)
- rss feed
dependencies
- recutils: https://www.gnu.org/software/recutils/
- mustache: https://mustache.github.io/
- csvjson (csvkit): https://csvkit.readthedocs.io/
- jq: https://stedolan.github.io/jq/
- (optional) just: https://github.com/casey/just
getting started
-
install dependencies
-
update
templates/feed.mustache
andtemplates/html.mustache
to include your own links and information for the generated rss and html. update theup
recipe in the justfile to put the generated files wherever you want them. -
run
just new
. or copy the 'new' script from the justfile into a bash file and run it. NOTE: this script runs ed(1), because that's what I like. If you are not familiar with ed(1), change that part of the script to use $EDITOR. If you would like to be familiar with ed(1) then check out the links listed below. -
just html
andjust rss
will build the html and rss respectively. Again, you can cobble these together from the justfile into a bash script if you don't have/want to install just.just build
will assemble both the html and the rss.