Skip to main content

A commandline note organization tool.

Project description

Bronotes

Basically a wrapper to access notes in a directory on your system anywhere from the commandline. And keep it in sync with git.

Functionality so far:

  • Create a note directory on your system on first start
  • Add new notes
  • Remove notes
  • Move notes and directories around
  • Edit notes with your $EDITOR
  • List notes dir in a tree
  • Generate autocompletions for zsh
  • Sync with git
  • The show and edit actions search for matching notes if no valid path is given

Installation

$ pip install bronotes

On first command a folder to be used is asked.

Completions

For now there's no built-in completions. ZSH completions can be generated so you can place them where needed:

$ bnote completions | tee ~/.oh-my-zsh/completions/_BRONOTES

Usage

$ bnote -h
usage: bnote [-h] action ...

positional arguments:
  action       Bronote actions.
    add        Add a note or directory.
    rm         Delete a note or directory.
    list       Show the notes structure as a tree.
    edit       Edit a note.
    mv         Move a note or directory.
    set        Set config options.
    completions
               Generate zsh autocompletions.
    show       Show the contents of a note.
    sync       Sync the notes dir with git.

optional arguments:
  -h, --help   show this help message and exit
  • Subcommands have their own help pages.
  • When using the edit or show subcommand, it falls back on the -s option if the path to your note is not valid.
  • If the first argument given is not recognized by bronotes, a default action will be taken and the first argument will be fed to that action instead. This is configurable with the 'set' action and defaults to 'list'

Git

You can use the sync command to keep a repo in sync with git. Using basic pull/push on master. If you want to have more control simply don't use this. If the repo isn't a git repo yet you will be asked to initialize an empty one and set up remotes. When quit halfway through this process it's probably better to either start over or just fix it manually.

Autosyncing is possible, but will do so after every edit or add action. So figure out if you want that yourself.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bronotes-1.7.6.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

bronotes-1.7.6-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file bronotes-1.7.6.tar.gz.

File metadata

  • Download URL: bronotes-1.7.6.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for bronotes-1.7.6.tar.gz
Algorithm Hash digest
SHA256 8fa693f7becc544c5f6389a5b1d34c993bb4a6a11d785b2f47e3f9cea7aa193c
MD5 537bd0e8a14244504b0d3b84defa3d85
BLAKE2b-256 7d64972aedcbe2b340048af518825b7aa8806f0c50ddaaecaf5970947f409026

See more details on using hashes here.

File details

Details for the file bronotes-1.7.6-py3-none-any.whl.

File metadata

  • Download URL: bronotes-1.7.6-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for bronotes-1.7.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9592c7bd6cf2a0f0147289268f715d0dfccf44ad442d9e509c5110eea996e7fd
MD5 6d0f5ea35163a0d2eef9fe36b71c05c1
BLAKE2b-256 d0a345165fd5fd708ee09d9904ced053d22b290479eef1d4b160ecdee2248b79

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page