Skip to main content

Annotated bookmark CLI — save links with mandatory context

Project description

linkmark — Annotated Bookmark CLI

Save links with mandatory context — because bookmarks are useless without the "why."

Install

# Clone or copy the file
cp linkmark.py /usr/local/bin/linkmark
chmod +x /usr/local/bin/linkmark

# Or run directly
python3 linkmark.py

Requirements: Python 3.11+, zero external dependencies (stdlib only).

Quick start

# Add a bookmark (note is mandatory)
linkmark add "https://docs.python.org/3/library/sqlite3.html" "Python sqlite3 docs — FTS5 reference" --tag python --tag docs

# List recent bookmarks
linkmark list

# Search
linkmark search "python"

# Export
linkmark export --format markdown > bookmarks.md
linkmark export --format json > bookmarks.json

# Stats
linkmark stats

# List tags
linkmark tags

# Delete
linkmark delete 1

Commands

Command Description
add <url> <note> [--tag TAG ...] Save a bookmark with mandatory annotation
list [--page N] [--limit N] List recent bookmarks, newest first
search <query> [--limit N] Full-text search (FTS5, falls back to LIKE)
export [--format markdown|json] Export all bookmarks
stats Show total, this week, top tags
delete <id> Remove a bookmark by ID
tags List all tags with counts

Storage

  • SQLite database at ~/.local/share/linkmark/bookmarks.db
  • FTS5 virtual table for full-text search (auto-created if available)
  • Tags stored in normalized many-to-many tables

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

linkmark-1.0.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

linkmark-1.0.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file linkmark-1.0.0.tar.gz.

File metadata

  • Download URL: linkmark-1.0.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for linkmark-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9f023cb951d4391783f5148c47ce125122d5b07521129e3b81830bdb682c4e7a
MD5 ab2a372e01af1f3cf9f0c21177597bb2
BLAKE2b-256 94c902cbbd3a74163b280b7220e43f3c43abd039d97c77e9cf7a5381b0744284

See more details on using hashes here.

File details

Details for the file linkmark-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: linkmark-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for linkmark-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf3dea6a2d16fbc0038f9d7d68b514379a2b6134dabf826dcdd88c423a89b47f
MD5 f4d47d07a2f6b4f7f10aa18399124486
BLAKE2b-256 0e76adfa8d307444001a5b7e6d7a0e0a4c3e733d0c4f6878902a61b248d7163f

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