Skip to content

damianovsky/totphog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TOTPHog Logo

TOTPHog

TOTP Codes, Simplified

A self-hosted TOTP code manager for development and testing.
Like MailHog, but for 2FA codes.

PHP 8.3 Symfony 7.0 Docker MIT License


🐷 What is TOTPHog?

TOTPHog is a lightweight, self-hosted TOTP (Time-based One-Time Password) manager designed for development and testing environments.

Think of it like MailHog - but instead of catching emails, it manages TOTP codes. Perfect for testing 2FA flows without reaching for your phone.

⚠️ For development only - No authentication, tokens stored in plain JSON. Never use in production.


✨ Features

  • πŸ” Generate valid TOTP codes from secret keys
  • πŸ“± Import tokens from QR codes (otpauth:// URIs)
  • πŸ–₯️ Clean web UI with real-time code updates
  • πŸ”Œ Full REST API for automation
  • πŸ“Š QR code generation for exporting tokens
  • 🐳 Single Docker container, zero config

πŸš€ Quick Start

Docker (Recommended)

docker run -d -p 8045:80 --name totphog damianovsky/totphog

Open http://localhost:8045

Docker Compose

    1. Clone the repository
git clone https://github.com/damianovsky/totphog.git
    1. Navigate to the project directory
cd totphog
    1. Start the containers
docker compose up -d

πŸ“– Documentation

Full documentation is available in the `docs/` directory:


πŸ“„ License

MIT License - see LICENSE for details.


Made with 🐷 for developers who need TOTP codes without the hassle

About

🐷 Self-hosted TOTP code manager for development and testing. Like MailHog, but for 2FA codes.

Topics

Resources

License

Stars

Watchers

Forks