#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

0.2.1 Oct 17, 2024

#1395 in Command line utilities

Download history 130/week @ 2024-10-12 33/week @ 2024-10-19 2/week @ 2024-10-26 2/week @ 2024-11-02

167 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