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

bin+lib nodl

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

1 unstable release

new 0.2.1 Oct 17, 2024

#1286 in Command line utilities

Download history 146/week @ 2024-10-14

146 downloads per month

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