Nuxtor
Build tiny desktop apps with Tauri, Nuxt 4 and NuxtUI 4
Install / Use
/learn @NicolaSpadari/NuxtorREADME
Check more screenshots at preview
<br />Technologies run-down
- Nuxt v4
- Tauri v2
- NuxtUI v4
- TailwindCSS v4
- Typescript
- ESLint
- Auto imports (for Tauri api too!)
Functionalities
- Run shell commands from the app
- Send custom notifications to the client (remember to turn on/grant notifications in your computer settings)
- Display OS related informations
- Store and retrieve data locally
- Show tray icon
- Support all Nuxt functionalities (routing/layout/middleware/modules/etc...)
Setup
- Before running this app, you need to configure your environment with Rust. Take a look at the Tauri docs.
- This project enforces bun. In order to use another package manager you need to update
package.jsonandtauri.conf.json - The frontend runs on the usual port
3000of Nuxt, the Tauri server uses the port3001. This settings are customizable in thenuxt.config.tsandtauri.conf.json. - Once ready, follow these commands:
# use this template
$ npx degit NicolaSpadari/nuxtor my-nuxtor-app
# go into the folder
$ cd my-nuxtor-app
# install dependencies
$ bun install
# start the project
$ bun run tauri:dev
This will run the Nuxt frontend and will launch the Tauri window.
Build
$ bun run tauri:build
This command will generate the Nuxt static output and bundle the project under src-tauri/target.
Debug
$ bun run tauri:build:debug
The same Tauri bundle will generate under src-tauri/target, but with the ability to open the console.
iOS development
- Requires a MacOS system, XCode installed
- You must first setup your environment and XCode, as per documentation
- Make sure to have created a development team in XCode and you have choosen command line tools location in settings
- You must install homebrew and through that install
cocoapods - First time only, run
tauri ios init - If everything is installed correctly, running
bun tauri:ios:devshould fire up the iOS simulator and install Nuxtor - In XCode you should set All, Debug, Release "Automatically manage signing" and choose yout personal Team
- Running
bun tauri:build:ioswill generate the .ipa file
Android development
- Requires Android Studio installed
- You must first setup your environment and Android SDK, as per documentation
- Make sure to have installed all SDK components and NDK as indicated
- First time only, run
tauri android init - If everything is installed correctly, running
bun tauri:android:devshould fire up the Android emulator and install Nuxtor - Running
bun tauri:build:androidwill generate the .apk file
Notes
- Tauri v2 brings some big refactors, such as packages names and permission management. New permissions have to be granted under
src-tauri/capabilities/main.json - Tauri functions are auto imported with the help of a custom module, named like
useTauri<LibraryName>. If another Tauri plugin is added, then the module has to be updated to support its functions underapp/modules/tauri.ts - As per documentation, Nuxt SSR must be disabled in order for Tauri to act as the backend. Still, all Nuxt goodies will be functional.
License
MIT License © 2024-PRESENT NicolaSpadari
Related Skills
node-connect
335.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.5kCommit, push, and open a PR
