Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/setoelkahfi/tauri-on-bazel
Tauri on Bazel with NextJS 14.
https://github.com/setoelkahfi/tauri-on-bazel
bazel nextjs rust tauri
Last synced: 3 months ago
JSON representation
Tauri on Bazel with NextJS 14.
- Host: GitHub
- URL: https://github.com/setoelkahfi/tauri-on-bazel
- Owner: setoelkahfi
- License: gpl-3.0
- Created: 2024-04-14T12:21:42.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-23T16:54:27.000Z (6 months ago)
- Last Synced: 2024-10-12T08:43:59.163Z (4 months ago)
- Topics: bazel, nextjs, rust, tauri
- Language: TypeScript
- Homepage:
- Size: 1.82 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tauri-on-bazel
> {fast, correct} + {optimized, secure} = {tauri-on-bazel}
This is a small repository to demonstrate how to build a [Tauri](https://tauri.app/) v1.5 project using [NextJS](https://nextjs.org/) v14 + Typescript + Tailwindcss as a frontend framework with [Bazel](https://bazel.build/) v6.
![Screenshot 0 of Tauri on Bazel with NextJS, TypeScript, and Tailwindcss.](/screenshots/0.png?raw=true "Screenshot 0 of Tauri on Bazel with NextJS, TypeScript, and Tailwindcss.")
![Screenshot 1 of Tauri on Bazel with NextJS, TypeScript, and Tailwindcss.](/screenshots/1.png?raw=true "Screenshot 1 of Tauri on Bazel with NextJS, TypeScript, and Tailwindcss.")## Before running it
This project is using `git LFS`. After cloning it, remember to run the following commands.
```bash
git lfs install
git lfs pull
```## How to use
To run Tauri in development mode, just run the following:
```bash
bazel run //frontend/desktop:dev
```To bundle your app, just run:
```bash
bazel run //frontend/desktop:bundle
```This has been tested successfully on macOS M1.
## Output
You can retrieve the output app from `dist/bin/bundle.sh.runfiles/app/src-tauri/target/release/bundle`.
## Credits
Original [repo](https://github.com/marmos91/tauri-bazel-next-typescript).