Skip to main content

timo: encrypted at rest, no phone needed, no network. Fast, encrypted, import from Google Authenticator or any QR, export to any other app

Your authenticator app, in the terminal, one word away.
Time-based Identity Manager for OTPs

Tests PyPI Python versions macOS · Linux License: MIT

Demo · Install · Usage · Security · Development


Demo

timo google copies a code, then timo opens the fzf picker to find and copy Cloudflare


Type a word, get the code on your clipboard. No phone, no app switching. Pick from a fuzzy list with fzf when you're not sure, import everything from Google Authenticator in one go, and take it all with you when you leave.

  • One word, one code: copied to your clipboard, cleared after 45s
  • Encrypted at rest: scrypt + AES-256-GCM, passphrase in your OS keychain
  • Bring your accounts: Google Authenticator export or any 2FA setup QR, via image, webcam or link
  • Take them with you: export as setup QR codes or otpauth:// links to any other app

Install

brew install pipx fzf                     # Debian/Ubuntu: sudo apt install pipx fzf
pipx install timo-otp

# Optional: scan QR codes from images and with the webcam
brew install zbar                         # Debian/Ubuntu: sudo apt install zbar-tools
pipx install --force 'timo-otp[webcam]'   # reinstalls timo with webcam support

Update with pipx upgrade timo-otp.


Usage

timo --initialize    # import a Google Authenticator export (first run sets your passphrase)
timo --add           # add one account from a setup QR, otpauth:// link or secret key
timo github          # copy the code of the account matching "github"
timo                 # pick an account with fzf
Command What it does
timo WORDS Copy the code of the matching account (--no-copy to just print it)
--list · --stats List accounts, or count them per issuer
--watch Show every code, live
--add · --remove · --edit [WORDS] Add, remove, rename an account or fix its key
--export [WORDS] Move accounts to another app (--format uri for links)
--backup · --restore NAME Encrypted backups, made automatically before every change
--passwd · --forget Change the passphrase, or drop it from the keychain

Run timo --help for the full list. Plain words are always a search, so an account can be called edit or list.


Security

  • Secrets live in ~/.config/timo/secrets.enc (override with TIMO_HOME), with 700/600 permissions and crash-safe writes.
  • The fzf preview never sees your secrets or passphrase, only the next 10 minutes of codes.
  • Decrypted secrets are never written to disk, webcam frames stay in memory, and export QR codes are cleared from scrollback.
  • Exported otpauth:// links are not encrypted: delete them once imported.
  • No sudo, no network.

Development

python3 -m venv env
env/bin/pip install -e '.[dev]'
env/bin/python -m pytest

See CONTRIBUTING.md before opening a pull request, and SECURITY.md to report a vulnerability.


License

MIT. Built on fzf, zbar, PyAV and zxing-cpp.

Metadata

Release files for timo-otp 2.0.0

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

Source distribution (sdist)

Source distribution for timo-otp 2.0.0
File Size Uploaded Provenance Actions
timo_otp-2.0.0.tar.gz 66.1 kB With provenance Details for timo_otp-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for timo-otp 2.0.0
File Interpreter ABI Platform Actions
timo_otp-2.0.0-py3-none-any.whl Python 3 none any Details for timo_otp-2.0.0-py3-none-any.whl

Total release size: 110.1 kB

Release files / timo_otp-2.0.0.tar.gz

Download URL timo_otp-2.0.0.tar.gz
Size 66.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bf5a2eff8835f6ef765b2578185c11cb1d86a15daa78f5e4665bf08ff67db977
BLAKE2b-256 checksum
How to use checksums
8b4889aff351a486253ad610dcd3991cd4382b2e247127241e36dd11ecb96ba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

Release files / timo_otp-2.0.0-py3-none-any.whl

Download URL timo_otp-2.0.0-py3-none-any.whl
Size 44.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a35d04be368d97e4692c2539f9d55c71a45779b9180d4b0eacf01762c3e81b01
BLAKE2b-256 checksum
How to use checksums
23215774643e95ec43cef00ac3e014dc41b68920c1c63cfdd91aac3bc29dc8fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

Security for timo-otp 2.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for timo_otp-2.0.0.tar.gz

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 Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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