Because who needs Google Authenticator when you can roll your own sketchy system tray app?
Welcome to the most "enterprise-grade" 2FA authenticator you've ever seen! This beautiful piece of software engineering is a Windows system tray application that generates TOTP codes. It's like Google Authenticator, but with 100% more hardcoded values and 0% architectural patterns!
- β¨ Single-file architecture - Why use multiple files when you can cram 818 lines into one massive Program.cs?
- π¨ "Modern" UI - Rounded corners! Subtle shadows! It's basically the next macOS!
- π± Actually Responsive Design - Uses em units and screen percentages like a real web developer!
- π Security First - All your secrets are safely embedded as resources (what could go wrong?)
- π Blazing Fast - Updates every 500ms whether you need it or not!
- πΎ Memory Efficient - Calls
GC.Collect()
manually because we're performance experts - π― Production Ready - Contains helpful comments like
// Better vertical centering
- Clone this repository
- Create an
accounts.json
file (seeaccounts.json.example
) - Build with Visual Studio or
dotnet build
- Run and pray to the demo gods
- Right-click the tray icon to exit (left-click for the magic!)
Create an accounts.json
file with your TOTP secrets:
{ "accounts": [ { "name": "Your Bank Account (totally safe)", "secret": "DEFINITELY_NOT_YOUR_REAL_SECRET", "digits": 6, "algorithm": "SHA1" } ] }
Note: This file is in .gitignore because we learned about security the hard way.
- β MVC
- β MVVM
- β Repository Pattern
- β Dependency Injection
- β The "Everything in Main" Pattern (Patent Pending)
- CSS-like Units:
Em(4.2f)
andScreenWidth(22)
- we're basically web developers now! - Inline Event Handlers: Because separating concerns is overrated
- Custom Graphics Extensions: Why use existing UI frameworks when you can draw rounded rectangles manually?
- Global State: Static methods everywhere, just like the good old days!
- DPI Awareness:
Application.SetHighDpiMode(HighDpiMode.PerMonitorV2)
- look how fancy we are!
- π
(ει€) Hardcoded window positioning (ει€γγγΎγ§)FIXED! Now uses screen percentages like a pro! - π
(ει€) Blurry text (ει€γγγΎγ§)FIXED! Crystal clear DPI-aware rendering! - π
(ει€) Terrible scaling (ει€γγγΎγ§)FIXED! Responsive em-based layout system! - π No error handling for malformed JSON (crashes are features!)
- π Memory leaks? What memory leaks? We call
GC.Collect()
! - π Thread safety is for enterprise applications
- π No unit tests (testing is for people who don't believe in their code)
Q: Why does this exist?
A: I was tired of using my phone.
Q: Is this secure?
A: As secure as storing your passwords in a text file named "definitely_not_passwords.txt"
Q: Can I use this in production?
A: You can do many things. Should you? That's between you and your conscience.
Q: Why is everything in one file?
A: Microservices are overrated. We're bringing back the monolith, one giant Program.cs at a time.
Q: Why does it look like macOS?
A: Don't flatter me, it looks like shit.
Found a bug? Great! Here's how you can help:
(ει€) Fork the repository (ει€γγγΎγ§)(ει€) Create a feature branch (ει€γγγΎγ§)(ει€) Write tests (ει€γγγΎγ§)- Just edit Program.cs directly and add more inline code. It's the way.
This code is released under the "Please Don't Use This In Production" license.
Use at your own risk. I'm not responsible for any security breaches, mental breakdowns, or existential crises that may result from reading or using this code.
"It works on my machine!" - Eric S, 2025