basant/readme.md
2021-12-01 00:24:51 +10:00

1.6 KiB

Basant

The map is not the teritory.

I have carved out a small sancturary. It is available through my website: anish.lakhwara.com These are the tools I use construct the space.

Architecture

2 input sources, kitaab & streams These sources are then built into HTML files Those HTML files are published to my website

Inputs

Inputs should be seperated into a sub-module (for each?) so that they can be built heremetically through nixOS

kitaab requires a local copy, stored in /home/anish/vimwiki/ there needs to be a .vimwiki_tags file there (which can be built in vimwiki using :VimwikiRebuildTags) It'll grab the relevant files, censor them, and then add them to the raw/ directory under public-kitaab

streams is a big TODO

  • wallabag
  • shaarli
  • rss

Build

TODO depending on the file location (which is in turn determined by input source) a specific template gets applied links get made and it saves it to output

Publish

TODO some nix concotion that grabs the HTML and publishes it to anish.lakhwara.com

Old overview (src/inputs/kitaab/)

Helps make my Kitaab public by grabbing Kitaab, filtering & censoring it, and then passing it through to an SSG to make HTML out of a markdown page. makePublic.py

  • the whole filter pipeline

TagHelper.py

  • Reads the .vimwiki_tags file that is generated by vimwiki

tree.py

  • builds a tree out of all the links using dfs

network-builder.py

  • uses the network from tree.py to visualize links

tag-fixer.py

  • old script used to fix problem tags (1 character tags)
  • (TODO) tags that are case sensitive
  • (TODO) entries that have no tags