Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chinmayvivek/tauri-rust
This project demonstrates how to develop a desktop application using Tauri, combining the power of Next.js for the frontend and Rust for the backend.
https://github.com/chinmayvivek/tauri-rust
nextjs react rust rust-lang tauri tauri-app yarn
Last synced: about 1 month ago
JSON representation
This project demonstrates how to develop a desktop application using Tauri, combining the power of Next.js for the frontend and Rust for the backend.
- Host: GitHub
- URL: https://github.com/chinmayvivek/tauri-rust
- Owner: CHINMAYVIVEK
- Created: 2024-07-20T17:30:19.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-20T17:41:15.000Z (4 months ago)
- Last Synced: 2024-10-10T20:03:21.634Z (about 1 month ago)
- Topics: nextjs, react, rust, rust-lang, tauri, tauri-app, yarn
- Language: CSS
- Homepage: https://chinmayvivek.github.io
- Size: 524 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tauri-Rust
## Desktop Development using Tauri (Next.JS + Rust)
This project demonstrates how to develop a desktop application using Tauri, combining the power of Next.js for the frontend and Rust for the backend.
### Features
- **Tauri**: A framework for building tiny, fast binaries for all major desktop platforms.
- **Project Structure using CLI**: Organized project structure using Tauri's CLI tools.
- **Desktop App**: Develop and build cross-platform desktop applications.
- **Concepts**: Learn the essential concepts of integrating Next.js with Rust in a Tauri application.## Concepts
- **Tauri**: Uses a Rust backend to manage system-level operations and interactions while leveraging modern web technologies for the frontend.
- **Next.js**: Provides a powerful and flexible framework for building the frontend with React.
- **Rust**: Ensures performance and safety for backend operations in the desktop application.## Prerequisites
- **Node.js and Yarn**: Ensure you have Node.js and Yarn installed for managing the frontend dependencies.
- **Rust**: Ensure you have Rust installed for the backend.## Setup
1. **Install Dependencies**:
```bash
yarn install
```2. **Run the Tauri Development Server**:
```bash
yarn tauri dev
```## Building the App
To build the desktop application for production, run:
```bash
yarn tauri build
```## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Acknowledgments
- [Tauri](https://tauri.studio/)
- [Next.js](https://nextjs.org/)
- [Rust](https://www.rust-lang.org/)Feel free to open issues or pull requests if you have any suggestions or improvements!