Skip to content

Conversation

@Aditya30ag
Copy link
Contributor

@Aditya30ag Aditya30ag commented Feb 2, 2026

Summary

This pull request adds a Getting Started section to the frontend README.

The new section documents how to install dependencies and run the frontend in development and production modes, including Tauri desktop development.

Closing issue #1129

Summary by CodeRabbit

  • Documentation
    • Updated main README with new Contributing section and links to contribution guidelines
    • Added GPL-3.0 License section to main README
    • Expanded frontend README with comprehensive Getting Started guide including prerequisites, installation, development setup, and troubleshooting

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 2, 2026

📝 Walkthrough

Walkthrough

This pull request updates the project's documentation by restructuring the root README with new Contributing and License sections, while also adding a comprehensive Getting Started guide to the frontend README with setup instructions and troubleshooting.

Changes

Cohort / File(s) Summary
README Structure Updates
README.md
Replaces old contribution guidance with new Contributing section (bullet points for chat, issues, code contributions with link to CONTRIBUTING.md), removes Discord block, and adds License section linking to LICENSE.md.
Frontend Setup Documentation
frontend/README.md
Adds comprehensive Getting Started section covering prerequisites, dependency installation, development server execution, Tauri desktop app development, build/preview commands, useful scripts, and troubleshooting with bash code examples.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

📚 A rabbit hops through docs so neat,
Where setup guides and paths now meet,
Contributing paths are crystal clear,
With "Getting Started" drawing near,
Our burrow now has maps to cheer! 🐰

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: it adds getting started and dev instructions to the frontend README, which directly aligns with the +46 lines added to frontend/README.md.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@frontend/README.md`:
- Line 49: Update the broken setup command by changing the npm script named
"setup:linux" to invoke the correct script file (replace references to
./setup_env.sh with scripts/linux-dev.sh) in package.json, and update the README
entry that currently shows `npm run setup:linux — run scripts/setup_env.sh` to
reference `scripts/linux-dev.sh` instead so both package.json "setup:linux" and
the README consistently point to the actual script (linux-dev.sh).
🧹 Nitpick comments (2)
frontend/README.md (2)

12-51: Use proper markdown headings instead of bold text.

The subsection labels (**Prerequisites**, **Install dependencies**, etc.) should use proper markdown headings (e.g., ### or ####) instead of bold text. This improves document structure, navigation, and accessibility.

📝 Suggested refactor to use proper headings
-**Prerequisites**
+### Prerequisites

 - Node.js (LTS) installed (recommended v18+)
 - npm, pnpm, or yarn
 - If you plan to run the desktop app with Tauri: Rust toolchain (install via `rustup`) and Tauri prerequisites — see https://tauri.app/

-**Install dependencies**
+### Install dependencies

 ```bash
 cd frontend
 npm install

-Run the frontend development server
+### Run the frontend development server

npm run dev

-Run the desktop app (Tauri) in development
+### Run the desktop app (Tauri) in development

npm run tauri dev

-Build & preview
+### Build & preview

npm run build
npm run preview

-Useful scripts
+### Useful scripts

  • npm run test — run tests
  • npm run lint:check / npm run lint:fix — linting
  • npm run format:check / npm run format:fix — formatting
  • npm run setup:linux — run scripts/setup_env.sh to prepare the Linux dev environment

-Troubleshooting
+### Troubleshooting


</details>

---

`16-16`: **Format the bare URL properly.**

The Tauri URL should be wrapped in angle brackets or converted to a proper markdown link for better rendering and compliance with markdown best practices.



<details>
<summary>🔗 Suggested fix for URL formatting</summary>

```diff
-- If you plan to run the desktop app with Tauri: Rust toolchain (install via `rustup`) and Tauri prerequisites — see https://tauri.app/
+- If you plan to run the desktop app with Tauri: Rust toolchain (install via `rustup`) and Tauri prerequisites — see <https://tauri.app/>

Or use a proper link:

-- If you plan to run the desktop app with Tauri: Rust toolchain (install via `rustup`) and Tauri prerequisites — see https://tauri.app/
+- If you plan to run the desktop app with Tauri: Rust toolchain (install via `rustup`) and Tauri prerequisites — see the [Tauri prerequisites documentation](https://tauri.app/)

- `npm run test` — run tests
- `npm run lint:check` / `npm run lint:fix` — linting
- `npm run format:check` / `npm run format:fix` — formatting
- `npm run setup:linux` — run `scripts/setup_env.sh` to prepare the Linux dev environment
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

fd -t f "setup_env.sh" scripts/

Repository: AOSSIE-Org/PictoPy

Length of output: 44


🏁 Script executed:

ls -la scripts/ 2>/dev/null || echo "scripts/ directory not found"

Repository: AOSSIE-Org/PictoPy

Length of output: 542


🏁 Script executed:

grep -A 2 "setup:linux" frontend/package.json

Repository: AOSSIE-Org/PictoPy

Length of output: 259


Fix broken setup:linux command — the script setup_env.sh does not exist.

The npm script setup:linux in package.json references ./setup_env.sh, but this file does not exist in the scripts/ directory. The actual file is scripts/linux-dev.sh. Update both the package.json script definition and the README.md documentation to reference the correct script.

🤖 Prompt for AI Agents
In `@frontend/README.md` at line 49, Update the broken setup command by changing
the npm script named "setup:linux" to invoke the correct script file (replace
references to ./setup_env.sh with scripts/linux-dev.sh) in package.json, and
update the README entry that currently shows `npm run setup:linux — run
scripts/setup_env.sh` to reference `scripts/linux-dev.sh` instead so both
package.json "setup:linux" and the README consistently point to the actual
script (linux-dev.sh).

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.

1 participant