A prototype workflow shell for your notes.
TODO: screenshot, link to asciinema
- install nix
- add
experimental-features = nix-command flakes
to your nix config (quick intro to flakes) - install:
nix profile install github:aquiferma/noteable
4: run:noteable
Note: To use the bundled binary cache, you will need to be listed in your nix.conf trusted-users
or have nix running in single user mode.
The menu should be self-documenting. If you want to run something that's not in the menu, press ` for a shell.
- Capture/edit (NeoVIM)
- Preview/Browse (emanote)
- Search (telescope)
- Filter (facets)
- Push
- Review (linter, PR mod queue)
- Script to sync a list of files/directories to another branch
- Integration test
- Confirm added/removed/changed files or abort
- Config file https://www.w3schools.io/file/yaml-sample-example/
publications:
- branch: techblog
selectors:
- /tech
confirm: true
- Menu to install/check git hook
- supervisor (runit I think)
- Need an
openport
script https://unix.stackexchange.com/questions/55913/whats-the-easiest-way-to-find-an-unused-local-port
-
e
launch nvim- launch nvim server on first run
- Customize neovim config using https://github.com/syberant/nix-neovim/
- Add telescope, and a binding
- Shortcut to traverse wikilinks (ref srid/emanote#237 (comment))
-
, b
Backlinks (ask Emanote show, with Telescope)
-
\
"global leader menu" (I think) which-key not nvim-libmodal but maybe both? -
\ /
find notes (telescope, basic)
- Interface: https://pre-commit.com/
- Manage local repo hooks interactively
- Emanote checks
- Interactive resolvers?
-
b
branchesConfigurations-
b
open a new draft branch -
/
search branches -
r
review change requests (gh pr list
)
-
-
\ f
Facetted search- Implementations research:
- emanote query (proposed) or
curl ${emanote_service}/-/export.json | jq ...
- facetted desktop search engine: (TODO: figure out persistent / cache dirs for index etc )
- Feed emanote export into recoll?
- https://github.com/mickael-menu/zk as facetting backend? Not sure it's adding beyond emanote, but worth testing.
- emanote query (proposed) or
-
/
push telescope onto mode stack (ESC
returns to facets)-
a
All notes (reset filters) -
s
Statuses-
w
Working copygit status
-
p
Published
-
- Tags
- By Type
- Markdown
- Ledger (https://www.ledger-cli.org/)
- Images
- Videos
- Audio
- Templates
- Metadata
-
- Implementations research:
Needed packages
- git ui: neogit (magit clone) or lazygit
- nix-community/nixvim#16