1.8 KiB
1.8 KiB
Contributing to Pulse
Thank you for your interest in contributing to Pulse! We welcome contributions from the community to help make privacy-first analytics better for everyone.
Getting Started
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/pulse.git cd pulse - Install dependencies:
npm install - Set up environment variables:
Copy
.env.example(if available) or create.env.localwith the following:NEXT_PUBLIC_API_URL=http://localhost:8082 NEXT_PUBLIC_AUTH_URL=http://localhost:3000 NEXT_PUBLIC_AUTH_API_URL=http://localhost:8081 NEXT_PUBLIC_APP_URL=http://localhost:3003 - Run the development server:
npm run dev
Development Workflow
- Create a new branch for your feature or fix:
git checkout -b feature/my-new-feature - Make your changes.
- Lint and Type Check:
Before committing, ensure your code passes our quality checks:
npm run lint npm run type-check - Commit your changes with a descriptive message.
- Push to your fork and submit a Pull Request.
Code Style
- We use Next.js with TypeScript.
- Styling is done with Tailwind CSS.
- Please follow the existing code style and conventions found in the project.
- Ensure all new components are responsive and support dark mode.
Pull Request Guidelines
- Provide a clear description of what your PR does.
- Link to any relevant issues.
- Ensure all checks pass (linting, type checking).
- If you are adding a new feature, please include screenshots or a video if applicable.
License
By contributing to Pulse, you agree that your contributions will be licensed under the AGPL-3.0 License.