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. Still in development but the basic functionality is there.

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
  • Show and edit search for a note if no path to an existing file is given

Todo

  • Create a git subcommand that basically just wraps the git cmd utility for more user control.
  • A lot of new tests need to be done, big chances ugly non-caught errors are present.
    • Especially git-related

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 /home/jwiersma/.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.

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.3.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

bronotes-1.3.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bronotes-1.3.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for bronotes-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b0f434e298d2a1e5499f46ff7ca9e3681ad6696b3446ea86c4d8de46bffdeb26
MD5 eec78ef8f1210c71f02ef09d0a501a92
BLAKE2b-256 9e1e5d9499dfefb6b493d192a47adff2dfceaca7322928450f06f413b7391240

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bronotes-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for bronotes-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 529e9c55ed04a66bd83a30dab44a36d32b6ddcbf84688d5ea8ce8b2c7f262805
MD5 e8d98eafaa3d9fa6807138a73d2acf4d
BLAKE2b-256 f6abbb29752de9d74f3dc39949ce36c617f686526506b6ac5021d2a5e484e291

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