Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork96
Full stack meta-framework for building iOS, Android, and Progressive Web Apps with Tamagui and deploying to Cloudflare.
License
timothymiller/t4-app
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Interactive CLI to start a full-stack, typesafe, universal Expo & Next.js app on Cloudflare's edge platform.
Get started with theT4 Stack by runningbun create t4-app
The T4 Stack is a universal web and native stack made byTim Miller focused ondeveloper experience,rapid development, andperformance.
Easy integration withCloudflare services, such as R2 & D1 enable developers to build apps withAI-powered features at alower cost compared to AWS.
Ship it today and witness6 second package install times &30 second backend deployments.
👉 Further documentation can be found on theT4 Stack website. 👈
- 💨Million.js
- Virtual DOM replacement for React
- Achieve SolidJS-like performance with React
- 🎂PattyCake
- Zero-runtime pattern matching with ts-pattern
- 🔥Hono
- 💚Cloudflare Workers
- 📁Cloudflare D1
- SQLite database for the edge
- 🗄️Drizzle
T4 is a project starter kit for buildingtype-safe,native &web applications in TypeScript using Tamagui, tRPC, and Tauri. Deploy to Cloudflare for a global edge network. All at a fraction of the cost of AWS, Vercel, or Azure.
It provides a unified, opinionated, & minimalistic setup for quickly getting started with building native & web apps, using the same code, without having to worry about the complexities of setting up a development environment.
- 📱 iOS
- 🤖 Android
- 🕸️ Web
- Progressive Web App (PWA) support
- 💻 macOS
- 🪟 Windows
- 🐧 Linux
- 🧪 (Experimental) Desktop support via Tauri
Build native apps for iOS, Android, macOS, Windows, and Linux using the same codebase.
bun v1.0 is required to use
create-t4-app
To scaffold an app usingcreate-t4-app, run any of the following commands.
bun create t4-app
If you would like to use Tauri use:
bun create t4-app --tauri
T4 is the result of extensive research and testing to identify the best libraries for React Native and Web development. We've done the hard work for you, so you can focus on building amazing apps without worrying about performance bottlenecks.
Whether you're developing a mobile app with React Native or a web app using React, T4 is the perfect choice. Our template is designed to seamlessly integrate with your existing projects, making it easy to enhance performance without starting from scratch.
👉 6 second package install time
👉 30 second backend deployments
👉 90 second frontend deployments
Small learning curve
Instant feedback, rapid development
Universal acrossReact Native &React Web
High code re-use
Low bundle size
Edge compatible
Fast startup time
Simple setup
Allows for platform-specific code when needed.
- Tamagui - A UI kit for building beautiful and responsive user interfaces.
- TanStack - High-quality open-source software for React developers.
- tRPC - A TypeScript framework for building end-to-end typesafe APIs.
- TypeScript - A typed superset of JavaScript that compiles to plain JavaScript.
The VSCode extension is optional but highly recommended. It provides a better developer experience by providing code actions to help you scaffold your app. You can find more info in thedocs or install it from theVSCode Marketplace.
- ✅ 6 second package install time
- ✅ 30 second backend deployments
- ✅ 90 second frontend deployments
- ✅ Tamagui UI kit across all platforms.
- ✅ Bun support
- ✅ Million.js Support
- ✅ PattyCake Support
- ✅ Valibot Support
- ✅ Generate Valibot Type Guards from your Drizzle Schema
- ✅ Supabase Auth
- ✅ Uses Next.js for building web apps.
- ✅ Uses Expo for building native mobile apps.
- ✅ PWA by default for native desktop support. No Electron required.
- ✅ Uses Cloudflare Workers for serverless functions.
- ✅ No Docker containers required.
- ✅ Uses tRPC & Tanstack Query for fetching & caching across all platforms.
- ✅ Authentication across all platforms.
- ✅ Powered by TypeScript for type safety and better developer experience.
- ✅ Comes with pre-configured Biome for lightning fast code consistency.
- ✅ Github Action publishing for Expo apps
- ✅ Database migration in CI/CD
- ✅ Tauri Support
👉 The wish list has moved tothe docs website.
For help, discussion about best practices, or any other conversation that would benefitcreate-t4-app:
We welcome contributions from anyone and everyone. Please read ourcontributing guidelines for more information on how to get started.
- Nate Birdman - Creator of Tamagui
- Aiden Bai - Creator of Million.js and PattyCake
- Yusuke Wada - Creator of Hono.js
- Daishi Kato Creator of Jotai
- Fernando Rojo - Inspiration behind Solito
- Tanner Linsley - Creator of TanStack
- Expo Developers - Insightful office hours
The T4 App is not affiliated with or endorsed byEquipmentShare orT3 app.
Create T4 App is licensed under theMIT License.
About
Full stack meta-framework for building iOS, Android, and Progressive Web Apps with Tamagui and deploying to Cloudflare.
Topics
Resources
License
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.

