Skip to main content

A CLI note-taking tool inspired by Zettelkasten

Project description

Sure! Here’s an updated README.md reflecting your current features and design:


Shard CLI

A CLI note-taking tool inspired by Zettelkasten, designed for terminal users and Linux setups.


Features

  • Create Markdown notes with automatic unique IDs based on customizable date/time formats

  • Notes named by their titles (slugified) for easy navigation

  • Assign notes to user-configurable "kasten" collections (e.g., inbox, literature notes, etc.)

  • Add tags and backlinks (links to other notes by ID, tag, or title)

  • Customizable config for:

    • Vault path (where notes are stored)
    • Date/time format for note IDs and timestamps
    • Kasten collections with numeric IDs and names
    • Preferred terminal text editor command to open notes (e.g., vim, nano, tini)
  • Automatic creation of config file on first run, cross-platform (~/.config/shard-cli/config.toml on Unix, app data folder on Windows)

  • Simple Git integration planned (e.g., shard push to commit & push changes)

  • Designed for efficient Zettelkasten workflows but flexible for any note organization


Installation

Install via PyPI:

pip install shard-cli

[NOT YET IMPLEMENTED] Or from AUR (Arch Linux User Repository):

yay -S shard-cli

Usage

Create a new note

shard new "My Note Title" -t biology,chemistry -k 1 -l tag1,1234,OtherNote

Options:

  • -t, --tags: Comma-separated list of tags
  • -k, --kasten: Numeric ID of the kasten collection
  • -l, --links: Comma-separated list of linked note IDs, tags, or note titles

Config file

The config file is automatically created on first run at:

  • Unix: ~/.config/shard-cli/config.toml
  • Windows: %APPDATA%\shard-cli\config.toml

Example config snippet:

vault_path = "~/zettelkasten"
editor_cmd = "vim"
date_format = "%Y%m%d%H%M%S"

[kasten]
1 = "Inbox"
2 = "Literature Notes"
3 = "Permanent Notes"

Planned Features

  • Git integration commands (shard push etc.) for easy version control and backup
  • Enhanced backlinks visualization and navigation
  • Support for additional note formats and metadata
  • More powerful tagging and filtering capabilities

Contributing

Contributions, bug reports, and feature requests are welcome! Feel free to open an issue or pull request.


License

CC BY-NC-SA 4.0

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

shard_cli-0.1.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

shard_cli-0.1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shard_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.4

File hashes

Hashes for shard_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3ea67135103fb77788f0a43930ff889251fe8e0087fc0895afc61097fdb1414c
MD5 3d9389cbaa56eb61fc996ac32d694f14
BLAKE2b-256 cdbfdf5ab38869614558594486de714273fda7cd21e283523470c462ae6a43eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shard_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.4

File hashes

Hashes for shard_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f83e00acb490a7953e58ea8748c66a74118315fbd66e386abad26c7c93e189de
MD5 b6b44cfd627d29256aec2418e85e1887
BLAKE2b-256 f8e94f0b90d21a171de8fa0d385130cf7b6af73c86e4a5ba35b9d83caedfcaef

See more details on using hashes here.

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