smarana 0.3.2

An extensible note taking system for typst.
smarana-0.3.2 is not a library.

smarana

An extensible note taking system for typst.

Design

  • Local sqlite database.
  • cli that exposes everything in plaintext/json so that external tools can make use of the output for UI.
  • Separate threads + modules for cli, and config parsing.

Basics

Notebook

  • init argument that takes in path or nothing and initializes the notebook in the path or the current directory.
  • sync argument that syncs the database to index all notes.

Notes

  • new argument that creates a note.
  • edit argument that opens the note in the configured editor.
  • list argument that lists all the notes
  • json argument that outputs all notes with its metadata in json.

Config

  • alias argument that lists all the alias set by the user.
  • config argument that opens the configuration file to edit. (if it is inside the notebook root then opens local config in .smarana) otherwise in XDG_CONFIG_HOME/smarana.