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

Built distribution (wheel)

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

Total release size: 109.9 kB

Release files / timo_otp-3.0.0.tar.gz

Download URL timo_otp-3.0.0.tar.gz
Size 66.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cc595abffda28d523dd7e3d7f612510d77f29a812f2e90c5a96ed825254f6eea
BLAKE2b-256 checksum
How to use checksums
63a67a8142a6ab77935aba9abd65565dfd2f08c53a2baa13caa88dadb4f4f05c
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.0-py3-none-any.whl

Download URL timo_otp-3.0.0-py3-none-any.whl
Size 43.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f305946a2c811250849b4cbdea09648ba8a64f711f22e6f0caf633a44c29616
BLAKE2b-256 checksum
How to use checksums
2b62a9449b6977997ea4285f9bff75e99bcfbd94f1ae2c3fda4312c940e90024
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.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-3.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 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