Skip to main content

Cheatos

Inspired by the need to stop forgetting one-liners for tools like tar, ffmpeg, or git rebase.

Cheatos is a terminal post-it notes manager — lightweight CLI tool for storing cheat sheets called "cheatos", that you access, edit, and tag right from your shell.


✨ Features

  • ✅ Create, edit, and delete short snippets of command-line knowledge
  • 🏷️ Organize with tags
  • 🖊️ Uses $EDITOR for clean editing flow
  • 🔍 Fuzzy search (soon!)
  • 📦 Export/import in JSON or BSON format
  • 🧠 Shell autocompletion for subcommands, cheato names, and tags

🚀 Installation

pipx install cheatos

Make sure to have pipx and Python 3.7+ installed. pipx is preferred over pip for global installations to avoid dependency conflicts and not breaking your OS' Python installation.


🛠️ First Time Use

When you run Cheatos for the first time, it will prompt to enable shell autocompletion for Bash/Zsh automatically.


🧪 Usage

Create a new cheato

cheatos add archive

Your $EDITOR opens. Write your note. Example:

To archive a directory:
tar czf archive.tar.gz folder/

You'll then be prompted to enter tags like:

archive, tar, linux

Show a cheato

cheatos show archive

List all cheatos (optionally by tag)

cheatos list
cheatos list --tag linux

Edit content or tags

cheatos edit archive
cheatos edit archive --tags

Delete a cheato

cheatos remove archive

Rename a cheato

cheatos rename oldname newname

🔁 Export / Import

Export all cheatos to a backup:

cheatos export backup.json
cheatos export backup.bson

Import cheatos from backup:

cheatos import backup.json
cheatos import backup.bson

Use --force to overwrite existing ones.


🧩 Autocompletion

If you skip setup on first run, you can manually enable shell autocompletion:

eval "$(register-python-argcomplete cheatos)"

Add this to your .bashrc or .zshrc.

(I plan to add a command to re-prompt for autocompletion setup.)


✅ Coming Soon

  • cheatos search with fuzzy matching
  • cheatos config command to tweak behavior
  • More export formats (e.g. Markdown)

📄 License

MIT © 2025 Gorbiel

Release files for cheatos 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cheatos 1.0.2
File Size Uploaded
cheatos-1.0.2.tar.gz 13.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cheatos 1.0.2
File Interpreter ABI Platform
cheatos-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 23.1 kB

Release files / cheatos-1.0.2.tar.gz

Download URL cheatos-1.0.2.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
95213d157a13e27760c802bf0fdc813684acfc5f4ee8183a14db52a33a360130
BLAKE2b-256 checksum
How to use checksums
216b889354a4d7abd0c34d39cece3f8955ccc63bbe497241b7b871eb0bdd4805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2025.

Transparency log

Release files / cheatos-1.0.2-py3-none-any.whl

Download URL cheatos-1.0.2-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2a6a222c6a10d0c74e027d3590f6bddce24de527d6fee120cba939007997d0a
BLAKE2b-256 checksum
How to use checksums
f7a2a684bc2e780ed4105a3dd609e856c56fe421c0f2c1da3890f1a0aa1f4ee3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page