Skip to main content

Welcome Contributors!

Thank you for your interest in contributing to Orphelix! We welcome contributions from everyone, whether you’re fixing a typo, adding a feature, or improving documentation.
Before contributing, please read our Code of Conduct.

Ways to Contribute

Code

Fix bugs, add features, improve performance

Documentation

Improve docs, add examples, fix typos

Testing

Write tests, report bugs, test features

Design

UI/UX improvements, accessibility

Getting Started

1. Fork and Clone

1

Fork repository

Click β€œFork” on GitHub
2

Clone your fork

3

Add upstream remote

4

Install dependencies

5

Start development

2. Find Something to Work On

Look for issues labeled good first issueThese are:
  • Well-documented
  • Not too complex
  • Great for beginners
  • Have clear acceptance criteria

3. Claim an Issue

Comment on the issue:
I’d like to work on this issue. Could you assign it to me?
Wait for confirmation before starting work.

Development Workflow

Create Feature Branch

Branch naming conventions:
  • feature/ - New features
  • fix/ - Bug fixes
  • docs/ - Documentation changes
  • refactor/ - Code refactoring
  • test/ - Test improvements
  • chore/ - Build, dependencies, etc.

Make Changes

Follow our coding standards:
TypeScript:
  • Use TypeScript for all new code
  • Avoid any type
  • Add JSDoc comments for public APIs
Formatting:
  • Prettier handles formatting (runs on save)
  • 2 spaces for indentation
  • Single quotes for strings
  • Semicolons optional
Naming:
  • camelCase for variables and functions
  • PascalCase for components and types
  • UPPER_SNAKE_CASE for constants
  • kebab-case for file names
Components:
  • Use functional components with hooks
  • Prefer named exports over default exports
  • Keep components under 300 lines
  • Extract reusable logic to custom hooks
Hooks:
  • Name custom hooks use*
  • Keep hooks under 150 lines
  • Use TanStack Query for data fetching
  • Use Zustand for global state
Files:
  • One component per file
  • Co-locate types with components
  • Use @/ path alias for imports
Structure:
  • One route per file
  • Export named functions (GET, POST, etc.)
  • Keep routes under 200 lines
  • Extract business logic to lib/
Error Handling:
  • Always try-catch async operations
  • Return appropriate HTTP status codes
  • Include error messages in response
  • Log errors for debugging
Example:
Required:
  • Add unit tests for new features
  • Add E2E tests for user flows
  • Ensure all tests pass before PR
Coverage:
  • Aim for 80%+ coverage
  • Test edge cases and errors
  • Mock external dependencies
Run tests:

Commit Your Changes

Follow Conventional Commits:
Commit types:
  • feat: - New feature
  • fix: - Bug fix
  • docs: - Documentation only
  • style: - Code style (formatting, semicolons, etc.)
  • refactor: - Code change that neither fixes bug nor adds feature
  • perf: - Performance improvement
  • test: - Adding or updating tests
  • chore: - Build process, dependencies, etc.
Examples:

Push Changes

Pull Request Process

1. Create Pull Request

Go to your fork on GitHub and click β€œNew pull request” PR Title: Follow conventional commit format:
PR Description Template:

2. Code Review

What reviewers look for:
  • Code quality and readability
  • Test coverage
  • Documentation updates
  • Breaking changes
  • Performance implications
  • Security concerns
Responding to feedback:
  1. Make requested changes
  2. Push to same branch (PR updates automatically)
  3. Respond to comments
  4. Mark conversations as resolved

3. CI Checks

Automated checks that must pass:
  • TypeScript compilation
  • ESLint (no errors)
  • Unit tests
  • E2E tests
  • Build succeeds
If CI fails:
Fix issues and push again.

4. Merge

Once approved and CI passes:
  • Maintainer will merge your PR
  • Your branch will be deleted
  • Congratulations! πŸŽ‰

Code Review Guidelines

For Contributors

Before requesting review:
  • Read your own code
  • Check for typos
  • Remove debug code
  • Add comments where needed
  • Update documentation
Maintainers review PRs in their free time. It may take a few days.
Respond to feedback within a week. PRs may be closed if inactive for >2 weeks.
Feedback is about the code, not you. Stay professional and courteous.

For Reviewers

  • Code correctness
  • Test coverage
  • Documentation
  • Performance
  • Security
  • Accessibility
  • Be specific and constructive
  • Explain the β€œwhy”
  • Suggest alternatives
  • Praise good work
  • Use β€œwe” not β€œyou”
  • Review within 1-2 days if possible
  • Leave comment if you need more time
  • Request changes or approve clearly

Documentation

When to Update Docs

Update documentation when you:
  • Add new feature
  • Change existing behavior
  • Add new API endpoint
  • Modify configuration
  • Update dependencies

Documentation Locations

Writing Good Docs

  • Clear and concise
  • Active voice
  • Short sentences
  • Examples with code
  • Screenshots when helpful
  • Start with overview
  • Prerequisites section
  • Step-by-step instructions
  • Troubleshooting section
  • Next steps / related pages
  • Include complete examples
  • Add comments
  • Show input and output
  • Use realistic data
  • Test all examples

Reporting Bugs

Before Reporting

  1. Search existing issues - Check if already reported
  2. Update to latest - Bug may be fixed
  3. Test in demo mode - Isolate from cluster issues
  4. Reproduce consistently - Document exact steps

Bug Report Template

Paste relevant logs here

Suggesting Features

Feature Request Template

Community Guidelines

Code of Conduct

We follow the Contributor Covenant:
  • Be respectful and inclusive
  • Welcome newcomers
  • Focus on what’s best for the community
  • Show empathy towards others
  • Accept constructive criticism gracefully

Communication Channels

GitHub Issues

Bug reports and feature requests

GitHub Discussions

General questions and ideas

Discord

Real-time chat (coming soon)

Twitter

Updates and announcements

Getting Help

Create an issue
Start a discussion
Ask in Discord or Discussions

Recognition

Contributors

All contributors are recognized in:

Types of Contributions

We recognize all contributions:
  • Code (features, fixes, refactoring)
  • Documentation (guides, API docs, examples)
  • Testing (writing tests, reporting bugs)
  • Design (UI/UX, logos, screenshots)
  • Community (answering questions, mentoring)
  • Infrastructure (CI/CD, deployments)

Becoming a Maintainer

Active contributors may be invited to become maintainers: Criteria:
  • 10+ merged PRs
  • 3+ months of active contribution
  • Good understanding of codebase
  • Helpful to community
  • Follows guidelines
Responsibilities:
  • Review PRs
  • Triage issues
  • Mentor contributors
  • Maintain code quality

Advanced Topics

Working with Forks

Keep fork updated:
Rebase feature branch:

Draft Pull Requests

Create draft PR for work in progress:
  1. Open PR as normal
  2. Click β€œCreate draft pull request”
  3. Mark ready for review when done
Benefits:
  • Get early feedback
  • Show progress
  • Run CI checks
  • Collaborate with others

Multiple Commits in PR

Option 1: Squash before merge
  • GitHub can squash on merge
  • All commits become one
  • Clean history
Option 2: Keep separate commits
  • Each commit is meaningful
  • Good commit messages
  • Logical progression

Co-authoring Commits

Give credit to collaborators:

Troubleshooting

Common Issues

Main branch is protected. Always work in feature branches:

Additional Resources

Getting Started

Set up development environment

Architecture

Understand system design

Testing Guide

Write and run tests

API Reference

API documentation

Thank You!

Thank you for contributing to Orphelix! Every contribution, no matter how small, makes a difference.
Questions? Ask in GitHub Discussions or create an issue.