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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04604777d9520758a4acc524caca648d10efdcb010e4f38905e9e3ac632f1b90
|
|
| MD5 |
5c5e2920e3202efc4357f7d6c97bc0dd
|
|
| BLAKE2b-256 |
8f4b75ac05b40e5bbe48993208003058928b24eb65f158d6f825095a4ed872da
|
Provenance
The following attestation bundles were made for notes_md-0.1.1.tar.gz:
Publisher:
publish.yml on viacoffee/notes_md
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
notes_md-0.1.1.tar.gz -
Subject digest:
04604777d9520758a4acc524caca648d10efdcb010e4f38905e9e3ac632f1b90 - Sigstore transparency entry: 780467001
- Sigstore integration time:
-
Permalink:
viacoffee/notes_md@334791a0c10dbd44cfa9d3d273b8883b5297c4e1 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/viacoffee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@334791a0c10dbd44cfa9d3d273b8883b5297c4e1 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e5c05726222c862c24d669bdd7b576ace0e73962e988d1ba11df49ff6a5f267
|
|
| MD5 |
a1a0781a962c17fe04e6379d0c6100fd
|
|
| BLAKE2b-256 |
87fc48e2f198d374fef2867790c83a4405cf0a44be41a86b4dce8362909193e9
|
Provenance
The following attestation bundles were made for notes_md-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on viacoffee/notes_md
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
notes_md-0.1.1-py3-none-any.whl -
Subject digest:
2e5c05726222c862c24d669bdd7b576ace0e73962e988d1ba11df49ff6a5f267 - Sigstore transparency entry: 780467004
- Sigstore integration time:
-
Permalink:
viacoffee/notes_md@334791a0c10dbd44cfa9d3d273b8883b5297c4e1 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/viacoffee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@334791a0c10dbd44cfa9d3d273b8883b5297c4e1 -
Trigger Event:
release
-
Statement type: