Welcome to the Next.js 15 + Tailwind CSS v4 project configured to run inside Termux (Android).
This repo demonstrates how to set up and run Next.js on Android devices. π
- β‘ Next.js 15 β Modern React framework
- π¨ Tailwind CSS v4 β Utility-first styling
- π± Termux (Android) β Linux environment on mobile
Next.js 15 comes with Turbopack as its new bundler.
However, Turbopack does not work inside Termux because it relies on native Rust bindings that arenβt available for Android/ARM in this setup.
This project includes a special dev dependency:
lightningcss.android-arm64.nodeβ Works only inside Android Termux
β Not compatible with Windows, Linux, or macOS
If youβre not on Termux (Android), remove the dependency before running:
npm uninstall lightningcss.android-arm64.node
π Hosting Instructions (Click to Expand)
npm uninstall lightningcss.android-arm64.node
Now youβre free to host your app on platforms like:
Want to make this project better? PRs are welcome! π‘
- Fork the repo
- Create a new branch:
git checkout -b feature-name
- Commit changes:
git commit -m "Added feature XYZ"
- Push branch & open a PR
If you found this useful:
β Star the repo & spread the word!
- π Next.js Docs
- π¨ Tailwind Docs
- π± Termux Wiki