# Motrix Next Contributing Guide Maintained by [@AnInsomniacy](https://github.com/AnInsomniacy). PRs and issues are welcome! Before you start contributing, make sure you understand [GitHub flow](https://guides.github.com/introduction/flow/). ## ๐Ÿ›  Development Setup ### Prerequisites - [Rust](https://rustup.rs/) (latest stable) - [Node.js](https://nodejs.org/) >= 22 - [pnpm](https://pnpm.io/) >= 9 ### Getting Started ```bash git clone https://github.com/AnInsomniacy/motrix-next.git cd motrix-next pnpm install pnpm tauri dev # Start dev server (Tauri + Vite) ``` Rust backend (standalone): ```bash cd src-tauri cargo build cargo test ``` ## โœ… Code Quality All checks must pass before PR merge: ```bash pnpm lint # ESLint (0 errors, 0 warnings) pnpm test # Vitest npx vue-tsc --noEmit # TypeScript strict mode cd src-tauri && cargo test # Rust tests ``` Pre-commit hooks (husky + lint-staged) auto-run `eslint --fix` and `prettier --write` on staged files. ## ๐Ÿ“ Component Guidelines - **Keep `