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 3.9+ macOS · Linux License: MIT

Demo · Install · Usage · Security · Development


Demo

timo github copies a code, timo opens the fzf picker to find and copy Cloudflare, then timo --add adds Proton from its secret key


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 List accounts and how many there are
--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 3.0.1

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 3.0.1
File Size Uploaded Provenance Actions
timo_otp-3.0.1.tar.gz 65.9 kB With provenance Details for timo_otp-3.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 109.8 kB

Release files / timo_otp-3.0.1.tar.gz

Download URL timo_otp-3.0.1.tar.gz
Size 65.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2343b47ea673105232465c9efe9a8ed238796e1a6e9c150d2d9aeb6a2d1d9d3a
BLAKE2b-256 checksum
How to use checksums
aca986461160ea6bc70d9a8ab811f20eaf9783423fe530aeffeac9b908501bba
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 10, 2026.

Transparency log

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

Download URL timo_otp-3.0.1-py3-none-any.whl
Size 43.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c48e51901a2c0231465ccc5b0f0295fff037d727ce8deb37dc42123a4c7a4c79
BLAKE2b-256 checksum
How to use checksums
c2d738057406def4978851a85fc889fadc22ebb4ce36e02617c9a36189ad17ea
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 10, 2026.

Transparency log

Security for timo-otp 3.0.1

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-3.0.1.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 10, 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