Skip to content

feat(tauri): Replace Node with Bun & Add Tauri Integration for Cross-Platform Desktop/Mobile Builds#72

Open
imsakg wants to merge 1 commit into
remvze:mainfrom
imsakg:tauri
Open

feat(tauri): Replace Node with Bun & Add Tauri Integration for Cross-Platform Desktop/Mobile Builds#72
imsakg wants to merge 1 commit into
remvze:mainfrom
imsakg:tauri

Conversation

@imsakg

@imsakg imsakg commented Jul 7, 2025

Copy link
Copy Markdown

This pull request introduces Tauri integration into the project, replacing the previous Node.js-based commands with Bun and adding necessary configurations and dependencies for building cross-platform desktop and mobile applications. Key changes include updates to the README.md file, new dependencies in package.json, and the addition of Tauri-specific files and configurations.

Tauri Integration

  • README.md: Updated commands to use Bun instead of npm and added Tauri-specific commands for development and building applications across platforms.
  • package.json: Added @tauri-apps/cli as a dependency to enable Tauri integration.
  • src-tauri/Cargo.toml: Added a Rust configuration file for the Tauri app, specifying dependencies like tauri, serde, and log.
  • src-tauri/tauri.conf.json: Added Tauri configuration for app details, build commands, and bundling options, including support for all platforms.

Tauri Project Setup

- Add `bun run` equivalents for npm scripts in README commands section
- Include Tauri development and build commands for desktop and mobile platforms
- Add `bun.lock` file for package locking with Bun package manager
@imsakg

imsakg commented Jul 7, 2025

Copy link
Copy Markdown
Author

This PR could have missing or wrong parts. So, before merging it let's discuss on it.

  • We should change icons under src-tauri/icons/
  • Maybe we can hide window decorators and make app draggable from it's body.
  • I checked bun run tauri dev and bun run tauri build. Both working awesome but we need to check ios and android targets.

@ASafaeirad

Copy link
Copy Markdown

Why bun?

@imsakg

imsakg commented Aug 2, 2025

Copy link
Copy Markdown
Author

It is fast.

@ASafaeirad

ASafaeirad commented Aug 8, 2025

Copy link
Copy Markdown

Amazing reason, let's port it to Rust to make it even faster :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants