Thank you for your interest in contributing to Pulse! We welcome contributions from the community to help make privacy-first analytics better for everyone.
- 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
- 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.
- 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.
- 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.
All contributions must be signed off under the Developer Certificate of Origin (DCO). By signing off, you certify that you wrote the contribution or otherwise have the right to submit it under this repository's license.
Sign off every commit:
git commit -sThis adds a Signed-off-by: Your Name <your@email> trailer to the commit
message. Pull requests containing commits without a sign-off cannot be
accepted.
By contributing to Pulse, you agree that your contributions will be licensed under the AGPL-3.0 License.