Skip to main content

TermStory — Your Personal Developer Memory Engine

PyPI version CI Python Versions License: MIT Ask DeepWiki

Parse your shell history. Recover your past. Understand your work.

TermStory turns your terminal history into a searchable, AI-narrated timeline of your development life. It groups shell commands into sessions, correlates Git commits, resolves project names, and renders everything into a high-density TUI dashboard — with a built-in forensic engine that can recover the real dates of commands you typed before you even knew timestamps were missing.

Install

One-liner (recommended):

curl -fsSL https://raw.githubusercontent.com/bitflicker64/Termstory/main/scripts/install.sh | bash

Or from PyPI:

pip install termstory

Quick Start

1. Enable timestamps (zsh only — one time setup)

TermStory works best when your shell records timestamps.

echo '\nsetopt EXTENDED_HISTORY\nsetopt HIST_STAMPS="yyyy-mm-dd"' >> ~/.zshrc
source ~/.zshrc

(If you have old history without timestamps, TermStory's Timestamp Detective will automatically forensically recover real dates.)

2. First Run

# Launch the interactive TUI Dashboard
termstory ui

# View your developer activity for today
termstory today

# Search across your history and session summaries
termstory search auth

TUI Dashboard

TermStory TUI Dashboard

TermStory v0.6.0 — AI-narrated daily chronicle, project timeline, focus metrics, and command playback.

Documentation & Key Features

Learn more about TermStory by exploring the detailed documentation below:

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to get started, set up your development environment, and submit pull requests.

Uninstall

Use the dedicated uninstaller script — it removes the venv, data directory, and the PATH line that the installer added to your shell RC file:

curl -fsSL https://raw.githubusercontent.com/bitflicker64/Termstory/main/scripts/uninstall.sh | bash -s -- --yes

Or run locally:

bash scripts/uninstall.sh --yes

Or uninstall by hand (a subset of what the script does):

pip uninstall termstory -y 2>/dev/null
rm -rf ~/.termstory-venv
rm -rf ~/.termstory

License

MIT © TermStory Contributors

GitHub: https://github.com/bitflicker64/Termstory
PyPI: https://pypi.org/project/termstory/

Release files for termstory 0.6.3

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

Source distribution (sdist)

Source distribution for termstory 0.6.3
File Size Uploaded
termstory-0.6.3.tar.gz 295.3 kB Details

Built distribution (wheel)

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

Total release size: 501.3 kB

Release files / termstory-0.6.3.tar.gz

Download URL termstory-0.6.3.tar.gz
Size 295.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fa1863ad0d63e8986234ed58e3d3a1b89882b0cabb410ff2f44c27c8fac85f1c
BLAKE2b-256 checksum
How to use checksums
ee843caf67107c90c8e05457dd1fb613f904f7e1f24ed5e0275f7d650552ef0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / termstory-0.6.3-py3-none-any.whl

Download URL termstory-0.6.3-py3-none-any.whl
Size 206.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cfca037d04a6a04940409953197f06d23e6177119a011d63aabbf5ed980a302
BLAKE2b-256 checksum
How to use checksums
1740ca8fe956d26cf3ccceb605f47f519c41b9dbef32fcc9d4c2c6f24289e125
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

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