Skip to main content

Markdown based notes CLI that uses current directory as the notebook name.

Project description

:notebook: notes_md

A lightweight CLI for managing Markdown notes per project, backed by Git.

Each directory you work in gets its own notes folder, stored in a centralized location($HOME/notes by default) and synced with Git. Notes are opened in your $EDITOR and designed to stay out of your working directory.

Installation

PyPI

pip install notes_md

Development

git clone https://github.com/viacoffee/notes_md.git
cd notes_md
pip install -e .

Quick Start

notes_md init
notes_md add my_awesome_notes
notes_md sync

Configuration

On first run, notes_md creates a config file in your home directory:

# $HOME/.config/notes_md/config.yaml

notes_dir: ~/notes

This directory will contain one subdirectory per project. Projects are created on notes_md init and use the current working directory as the project name.

Editor

notes_md uses $EDITOR (falls back to nano)

Git

For syncing, the $HOME/notes directory should be a git repo. notes_md sync triggers a commit and push to that repo.

Commands

Command Description
init Initialize a notes directory for the current working directory
add NOTE_NAME Create a new note, and opens it in $EDITOR
list List notes for the current project and select one to open
open NOTE_NAME Open a note in $EDITOR
remove NOTE_NAME Remove a note using (triggers git rm)
sync Commit and push notes (only if changes exist)
books List all notebooks and open one in $EDITOR

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

notes_md-0.1.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

notes_md-0.1.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file notes_md-0.1.1.tar.gz.

File metadata

  • Download URL: notes_md-0.1.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for notes_md-0.1.1.tar.gz
Algorithm Hash digest
SHA256 04604777d9520758a4acc524caca648d10efdcb010e4f38905e9e3ac632f1b90
MD5 5c5e2920e3202efc4357f7d6c97bc0dd
BLAKE2b-256 8f4b75ac05b40e5bbe48993208003058928b24eb65f158d6f825095a4ed872da

See more details on using hashes here.

Provenance

The following attestation bundles were made for notes_md-0.1.1.tar.gz:

Publisher: publish.yml on viacoffee/notes_md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file notes_md-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: notes_md-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for notes_md-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e5c05726222c862c24d669bdd7b576ace0e73962e988d1ba11df49ff6a5f267
MD5 a1a0781a962c17fe04e6379d0c6100fd
BLAKE2b-256 87fc48e2f198d374fef2867790c83a4405cf0a44be41a86b4dce8362909193e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for notes_md-0.1.1-py3-none-any.whl:

Publisher: publish.yml on viacoffee/notes_md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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