2.3.0 • Published 4 years ago
muninn-cli v2.3.0
muninn
muninn is a set of utilities helping me build and navigate my personal flat-file markdown wiki.
This is personal software project, shared mainly as a reference point. I wont be fixing bugs that don't happen to me, or add functionalities I don't want/need.
I'm using it in combination with muninn-vim.
Assumptions
- wiki is markdown based
- links between notes are made using standard markdown linking:
linking to [this note](./this-note.md)(spaces in filename should be escaped with\) - todos are create with gfm:
- [ ] a todo,- [x] done todo - additional support for
@tags:- [ ] a todo with scheduled date @due(2020-02-17) @important@due()tag value is formattedYYYY-MM-DD@due()tags matching todays date are highlighted in green in the UImuninn tasksdepends on@due()tags
Installation
npm install -g muninn-climuninn config, and set:
{
"dir": "/Users/Me/Dropbox/Wiki/" // or wherever the wiki is
}Usage
muninn tasks- lists tasks (using- [ ] some task @due(YYYY-MM-DD)format)ndays into the future:muninn tasksdisplays all tasks, formatted for CLImuninn tasks --days 2displays tasks for today and tomorrowmuninn tasks --vimdisplays vim-formatted list
muninn backlinks- roam-like backlinks (both markdown-links and text search)muninn backlinks --file Notes/Zettels/memex.mddisplays all backlinks linking to this file, assuming first line starting with# titleis the titlemuninn backlinks --file Notes/Zettels/memex.md --vimsame as above but vim-formatted
muninn get-asset- quick assets adding:- if URL then download into
.assets(support for images mainly) - if local file then copy into
.assets - returns markdown embed fragment for including into a note
- file is addressed by hash of the content
- if URL then download into
muninn ui- starts read-only UImuninn ui --port 3000- runs on specified port