-
Notifications
You must be signed in to change notification settings - Fork 176
docs: add destop application development instructions using tauri #648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for circuitverse ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
WalkthroughAdded a new documentation file at src-tauri/README.md describing prerequisites and development steps for running the Tauri-based desktop application, including required tools and the npm command to start the app in development mode. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 4
🧹 Nitpick comments (4)
src-tauri/README.md (4)
16-16: Heading casing.Use sentence case.
-### Run the app in development Mode +### Run the app in development mode
16-19: Add production build instructions.Docs mention building; include the command.
### Run the app in development mode ```bash npm run tauri dev
+### Build the app for production
+bash +npm run tauri build +--- `6-15`: **Consider adding platform prerequisites link.** Optional: Add a one-liner pointing to Tauri’s platform-specific prerequisites (Xcode CLT on macOS, MSVC on Windows, system deps on Linux). Example addition (after the list): ```diff +See platform-specific prerequisites for macOS, Windows, and Linux in the official Tauri docs.
16-19: Consider adding “install dependencies” step.Most users will need to install JS deps before running dev.
### Run the app in development mode ```bash +npm install npm run tauri dev</blockquote></details> </blockquote></details> <details> <summary>📜 Review details</summary> **Configuration used**: CodeRabbit UI **Review profile**: CHILL **Plan**: Pro **💡 Knowledge Base configuration:** - MCP integration is disabled by default for public repositories - Jira integration is disabled by default for public repositories - Linear integration is disabled by default for public repositories You can enable these sources in your CodeRabbit configuration. <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between 79ec233de7547924a0121f4a6ed51af70c7e1fad and 2d9316536f4448207056fea891398d392ea85ace. </details> <details> <summary>📒 Files selected for processing (1)</summary> * `src-tauri/README.md` (1 hunks) </details> <details> <summary>🧰 Additional context used</summary> <details> <summary>🪛 LanguageTool</summary> <details> <summary>src-tauri/README.md</summary> [grammar] ~4-~4: Ensure spelling is correct Context: ...i) You can also run CircuitVerse as a destop application using [tauri](https://tauri... (QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1) --- [grammar] ~10-~10: There might be a mistake here. Context: ... [node.js](https://node.js.org) (>= 16) [npm] (https://www.npmjs.com/) [Rust & C... (QB_NEW_EN) --- [grammar] ~11-~11: There might be a mistake here. Context: ...) (>= 16) [npm] (https://www.npmjs.com/) [Rust & Cargo] (https://rustup.rs/) (req... (QB_NEW_EN) --- [grammar] ~12-~12: There might be a mistake here. Context: ...om/) [Rust & Cargo] (https://rustup.rs/) (required by tauri) Tauri CLI (install w... (QB_NEW_EN) --- [grammar] ~13-~13: There might be a mistake here. Context: ...(https://rustup.rs/) (required by tauri) Tauri CLI (install with : `cargo install... (QB_NEW_EN) </details> </details> <details> <summary>🪛 markdownlint-cli2 (0.17.2)</summary> <details> <summary>src-tauri/README.md</summary> 11-11: Bare URL used (MD034, no-bare-urls) --- 12-12: Bare URL used (MD034, no-bare-urls) </details> </details> </details> <details> <summary>🔇 Additional comments (1)</summary><blockquote> <details> <summary>src-tauri/README.md (1)</summary><blockquote> `1-19`: **Verify Node engine and Tauri npm script in `src-tauri/package.json`** - Declare `"engines": { "node": ">=16" }` to match the README prerequisites. - Define a `tauri` script (e.g. `"tauri": "tauri dev"`) so that `npm run tauri -- dev` functions correctly. </blockquote></details> </blockquote></details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
| ## Desktop Application Development (Tauri) | ||
|
|
||
|
|
||
| You can also run CircuitVerse as a destop application using [tauri](https://tauri.app/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix typo and proper noun capitalization.
"destop" → "desktop"; capitalize Tauri.
Apply:
-You can also run CircuitVerse as a destop application using [tauri](https://tauri.app/)
+You can run CircuitVerse as a desktop application using [Tauri](https://tauri.app/)📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| You can also run CircuitVerse as a destop application using [tauri](https://tauri.app/) | |
| You can run CircuitVerse as a desktop application using [Tauri](https://tauri.app/) |
🧰 Tools
🪛 LanguageTool
[grammar] ~4-~4: Ensure spelling is correct
Context: ...i) You can also run CircuitVerse as a destop application using [tauri](https://tauri...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
🤖 Prompt for AI Agents
In src-tauri/README.md around line 4, fix the typo and capitalization in the
sentence: change "destop" to "desktop" and capitalize "Tauri" (e.g., "You can
also run CircuitVerse as a desktop application using Tauri"). Ensure link
remains intact and update only the typo and proper noun capitalization.
|
|
||
| ## Prerequisites | ||
|
|
||
| make sure to the following are installed on your system |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar cleanup.
Tighten the sentence and add a colon.
-make sure to the following are installed on your system
+Make sure the following are installed on your system:📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| make sure to the following are installed on your system | |
| Make sure the following are installed on your system: |
🤖 Prompt for AI Agents
In src-tauri/README.md around line 8, the sentence "make sure to the following
are installed on your system" is grammatically incorrect and needs tightening;
replace it with a properly capitalized and punctuated directive such as "Make
sure the following are installed on your system:" or "Ensure the following are
installed on your system:" and add a trailing colon to introduce the list.
| [node.js](https://node.js.org) (>= 16) | ||
| [npm] (https://www.npmjs.com/) | ||
| [Rust & Cargo] (https://rustup.rs/) | ||
| (required by tauri) | ||
| Tauri CLI (install with : `cargo install tauri-cli`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix links/Markdown, avoid bare URLs, and list prerequisites.
- Correct Node.js domain and link text.
- Remove spaces inside link syntax.
- Attach the “required by Tauri” note to Rust.
- Fix spacing around colon.
-[node.js](https://node.js.org) (>= 16)
-[npm] (https://www.npmjs.com/)
-[Rust & Cargo] (https://rustup.rs/)
-(required by tauri)
-Tauri CLI (install with : `cargo install tauri-cli`)
+- Node.js (>= 16): [nodejs.org](https://nodejs.org)
+- npm: [npmjs.com](https://www.npmjs.com/)
+- Rust & Cargo (required by Tauri): [rustup.rs](https://rustup.rs/)
+- Tauri CLI (install with: `cargo install tauri-cli`)📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| [node.js](https://node.js.org) (>= 16) | |
| [npm] (https://www.npmjs.com/) | |
| [Rust & Cargo] (https://rustup.rs/) | |
| (required by tauri) | |
| Tauri CLI (install with : `cargo install tauri-cli`) | |
| - Node.js (>= 16): [nodejs.org](https://nodejs.org) | |
| - npm: [npmjs.com](https://www.npmjs.com/) | |
| - Rust & Cargo (required by Tauri): [rustup.rs](https://rustup.rs/) | |
| - Tauri CLI (install with: `cargo install tauri-cli`) |
🧰 Tools
🪛 LanguageTool
[grammar] ~10-~10: There might be a mistake here.
Context: ... node.js (>= 16) [npm] (https://www.npmjs.com/) [Rust & C...
(QB_NEW_EN)
[grammar] ~11-~11: There might be a mistake here.
Context: ...) (>= 16) [npm] (https://www.npmjs.com/) [Rust & Cargo] (https://rustup.rs/) (req...
(QB_NEW_EN)
[grammar] ~12-~12: There might be a mistake here.
Context: ...om/) [Rust & Cargo] (https://rustup.rs/) (required by tauri) Tauri CLI (install w...
(QB_NEW_EN)
[grammar] ~13-~13: There might be a mistake here.
Context: ...(https://rustup.rs/) (required by tauri) Tauri CLI (install with : `cargo install...
(QB_NEW_EN)
🪛 markdownlint-cli2 (0.17.2)
11-11: Bare URL used
(MD034, no-bare-urls)
12-12: Bare URL used
(MD034, no-bare-urls)
🤖 Prompt for AI Agents
In src-tauri/README.md around lines 10-14, the Markdown links and notes are
malformed: fix the Node.js link text/domain to "Node.js" linking to
https://nodejs.org, remove stray spaces inside link brackets so each dependency
reads like [npm](https://www.npmjs.com/), attach the parenthetical "required by
Tauri" to "Rust & Cargo" (e.g., Rust & Cargo (required by Tauri)), and correct
the spacing around the colon in the Tauri CLI instruction to "install with:
`cargo install tauri-cli`"; ensure the list is a clear prerequisites bullet
list.
| ```bash | ||
|
|
||
| npm run tauri dev No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix code fence and remove stray blank line.
Close with matching triple backticks.
-```bash
-
-npm run tauri dev
+```bash
+npm run tauri dev
+```🤖 Prompt for AI Agents
In src-tauri/README.md around lines 17 to 19, the markdown code fence is
malformed and contains a stray blank line and missing closing backticks; fix it
by ensuring the fenced block starts with ```bash immediately followed by the
command on the next line (no extra blank line), and add the matching closing ```
after the command so the snippet is a proper fenced code block.

Fixes #
Describe the changes you have made in this PR -
This PR adds documentation for running and building the desktop application using Tauri
Screenshots of the changes (If any) -
Here are all the changes
Added Commands to run in development mode (
npm run tauri dev)Added commands to build for production(
npm run tauri build)Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.
Summary by CodeRabbit