Arnav Gupta
03/04/2026, 9:57 PMmultiplatform and write once, run anywhere definition to see truly how many shapes and forms a single Kotlin codebase can support. I want to report back that I have an app that works in all these forms
• mobile apps
◦ Android
◦ iOS
• wearable companions
◦ wearOS (android companion)
◦ watchOS (the UI is in Swift, but the core logic is shared)
• desktop - both standalone as well as tray icon popups
◦ linux (with appindicator for tray icon)
◦ macos (with menubar rendering)
◦ windows (with system tray)
• webapp (using wasmJs)
◦ standalone PWA
◦ chrome extension
◦ firefox extension
• CLI (or TUI) app
◦ this uses mordant to animate as well!
When I started out making this I was not fully sure I will be able to make it work on this wide an array of platforms with this little platform-specific code and almost 90%+ of code shared.
I do truly admire how much more AI assistants make you productive, I cannot imagine having covered so many platforms so many features as a sole developer on a single project, but I also know I could not direct the AI to make all this either, with some other framework/platform because I just know this one so well with years of experienceHere's the repo, feel free to check it out, and also feel free to contribute (send issues, PRs anything is quite welcome 🙂 if you feel the multiplatform module architecture can be made better in anway would love to hear suggestions! https://github.com/championswimmer/TwoFac
Kirill Grouchnikov
03/04/2026, 9:58 PMArnav Gupta
03/04/2026, 9:59 PM