Skip to content

Latest commit

 

History

History
117 lines (82 loc) · 2.66 KB

File metadata and controls

117 lines (82 loc) · 2.66 KB

Contributing to Repolyze

Thanks for your interest in contributing! This guide will help you get started.

Quick Start

# 1. Fork and clone
git clone https://github.com/YOUR_USERNAME/Repolyze.git
cd Repolyze

# 2. Install dependencies
pnpm install

# 3. Set up environment
cp .env.example .env.local
# Add your GITHUB_TOKEN and OPENROUTER_API_KEY

# 4. Start development
pnpm dev

📋 How to Contribute

Reporting Bugs

Open an issue with:

  • Clear description of the bug
  • Steps to reproduce
  • Expected vs actual behavior
  • Screenshots (if applicable)

Suggesting Features

Start a discussion with:

  • Problem you're trying to solve
  • Proposed solution
  • Any alternatives considered

Submitting Code

  1. Create a branch

    git checkout -b feature/your-feature
    # or: fix/bug-description
  2. Make changes and test

    pnpm lint        # Check for errors
    pnpm type-check  # Verify types
    pnpm build       # Test build
  3. Commit using Conventional Commits

    git commit -m "feat: add new feature"
    git commit -m "fix: resolve bug"
    git commit -m "docs: update readme"
  4. Push and open PR

    git push origin feature/your-feature

📝 Commit Convention

Type Description
feat New feature
fix Bug fix
docs Documentation
style Formatting (no code change)
refactor Code restructuring
perf Performance improvement
test Adding tests
chore Maintenance

Examples:

feat: add branch comparison view
fix: resolve memory leak in file tree
docs: update API documentation

✅ PR Checklist

Before submitting:

  • Code follows existing style
  • pnpm lint passes
  • pnpm type-check passes
  • Changes tested locally
  • Documentation updated (if needed)

🏷️ Good First Issues

Look for issues labeled:

💬 Need Help?


Thanks for contributing! ☕