TNTStack – Monorepo template for cross-platform apps (Tauri+Next.js)
TNTStack – Monorepo template for cross-platform apps (Tauri+Next.js)
Hi HN, I originally switched from PyQt5 to Tauri to get smaller desktop binaries and better performance. Later, I wanted to add a web version and put everything into a monorepo. That's when I hit a wall. Using a standard React app for Tauri (desktop) and Next.js for the web meant maintaining two entirely different architectures. Even though I was sharing UI components, I was essentially building and debugging two separate apps. To solve this, I replaced the standard React setup in Tauri with Next.js (using static HTML export). TNTStack is the result. It's a cross-platform monorepo template where both web and native apps run on the exact same Next.js architecture. You write the core and ui once, and it builds for all platforms. It’s a specific stack, but figuring out the configuration for this dual Next.js setup took a lot of trial and error. Hopefully, it saves someone else the setup time. I would love to hear your thoughts on this monorepo structure and the dual Next.js approach. Repo: https://github.com/odest/tntstack Live Demo: https://tntstack.odest.dev Docs: https://tntstack.odest.dev/docs
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
How to create cross-platform apps with Ionic and Stamplay
Htop 2.0 released, now cross-platform
A cross-platform implementation of beep
A cross-platform JWT Debugger
3DGS.cpp – performant, cross platform Gaussian Splatting with Vulkan
Hadouken – a cross-platform, extensible BitTorrent daemon
I built an all-in-one template for cross-platform development
I built a template for cross-platform development (Expo and Next)
Template repo to make cross platform desktop apps without Electron
Simple, Cross-Platform calculator built with Electron.js