Skip to main content

A fast terminal clipboard history manager with image support

Project description

jot 📋

A lightweight clipboard history manager for the terminal. Tracks everything you copy — text and images — so you never lose something you copied 10 minutes ago.

Features

  • Saves clipboard history automatically in the background
  • Supports both text and images
  • Images auto-expire from /tmp/jot/ on reboot — no clutter
  • Deduplicates entries by content hash
  • Simple, fast commands you'll actually use daily

⚠️ Privacy Notice

jot stores your full clipboard history including any sensitive data (passwords, tokens, auth codes). The database at ~/.jot/history.db is unencrypted. Don't use on shared machines without understanding this.

Installation

git clone https://github.com/yourusername/jot.git
cd jot
pip install -e .

Then start the daemon:

jot daemon start

Usage

jot ls                  # show last 20 clipboard entries
jot ls --n 50           # show last 50 entries
jot get <n>             # copy entry #n back to clipboard
jot search <query>      # search text history
jot clear               # wipe all history

Daemon

jot daemon start        # start background clipboard watcher
jot daemon stop         # stop the watcher
jot daemon status       # check if running

How it works

jot daemon start forks a background process that polls your clipboard every 500ms. New entries are saved to a local SQLite database at ~/.jot/history.db.

  • Text entries are stored directly in the DB, capped at 500
  • Image entries are saved as PNGs to /tmp/jot/, path stored in DB, capped at 50. If an image has expired, jot ls shows [image expired]

Project Structure

jot/
├── jot.py        # CLI entrypoint and all commands
├── daemon.py     # background clipboard watcher
├── storage.py    # SQLite wrapper
└── setup.py      # package config

Requirements

  • Python 3.8+
  • click
  • rich
  • pyperclip
  • Pillow

License

MIT

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

jot_history-1.0.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

jot_history-1.0.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jot_history-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ffdbf24d1aa200469d346b329eb6e383915a0be9ba4e498355c07afe3e075eef
MD5 6a7402f1212b718a492732a18f3e688a
BLAKE2b-256 81514a8a7d1302627ff61879849fda8b62018b66b644ac0c7435a0deb5d368c8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jot_history-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 612eddb0c879c1780cfd257534d1fb61d3159d51f1a49e49001e909e70608e6c
MD5 1ab949b347d8172837e5f2321ec3288a
BLAKE2b-256 0a2e552c60c57444001c7b0816429438bc6c97b6e327a1463f295689276d37f5

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