Skip to main content

A CLI note-taking tool inspired by Zettelkasten

Project description

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shard_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e6aa4a07762a0625fb155fd94e98e83a3e2aa53c1505a7abb81ee03c4d1b7957
MD5 30b9ae1351886987ac84dcf49c47e004
BLAKE2b-256 f88738471f8494f6dc6f3c95def81f08cc176d4a96a08fefccd7172f54024b39

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for shard_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f4c324cb4eb51ed82cb61f16f87391ef71e4fa6972f874ddaf4032f60472003d
MD5 3c58204c11143df895e86c0efc7782e4
BLAKE2b-256 5bae4f86d7a12439c26ebdaa76453597ce9e0ffa815a1d286691c5a783f0e473

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