#directed-graph #notes #command-line #note #links #command-line-tool #building

bin+lib nodl

Command line tool for building a directed graph of links between notes

1 unstable release

0.2.1 Oct 17, 2024

#1556 in Parser implementations

MIT/Apache

13KB
196 lines

nodl

Command line tool for building a directed graph of links between notes.

  • If note a has a tag for note b, then
    • Note b is a parent of note a
    • Note a is a child of note b
  • If note a has a link for note b, then
    • Note a will have b as a link
    • Note b will have a has a backlink
  • Tags and links are built off the filename, which may be different from the title

Output format

  • JSON output with list of files (with note slug as key). For each one
    • List of links
    • List of backlinks
    • List of parents
    • List of children
    • Whether file exists or not (boolean)

Dependencies

~7MB
~123K SLoC