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.2.tar.gz (9.0 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.2-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: notes_md-0.1.2.tar.gz
  • Upload date:
  • Size: 9.0 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.2.tar.gz
Algorithm Hash digest
SHA256 602e1359ce856de0f937744cd75699c9388fec7aba19f73cdb0cd4cdf59472f4
MD5 e87bcc3c2db304437f9516098b3d9c5c
BLAKE2b-256 33885cbe8d1d4457c9ad3e6e15b1c7390b88e8e4c5aee289c45c02206c15c7a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for notes_md-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: notes_md-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c8eb386954cc3c0f0805f9a689f07e6ce41c5f61b9c0ee2c9fdf17dab516bedc
MD5 b19df7c3b92974b9482bb0be2cc1024a
BLAKE2b-256 993a63cb2b330a1ea874ca8d02219e9c17383f2ebbe8c5e93a9e0a33f2f48659

See more details on using hashes here.

Provenance

The following attestation bundles were made for notes_md-0.1.2-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