Skip to content

Coder-s-OG-s/MergeShip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

234 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MergeShip

An Open Source Ecosystem and Organisation Management Platform

Helping contributors learn the right way and helping maintainers stay sane.

AboutFeaturesTech StackArchitectureQuick StartCommunityContributing


About The Project

MergeShip is an open source platform that works for two groups at the same time — contributors who want to get into open source, and maintainers who are managing open source organisations.

Open source today faces two major hurdles: contributors often lack a structured path and basic Git/GitHub knowledge, while maintainers are overwhelmed by low-quality AI-generated PRs and scattered data. MergeShip solves both problems together through gamified learning for contributors and a smart organised dashboard for maintainers.

Core Features

For Contributors

  • Smart Placement: Upon signing in, MergeShip analyzes your public GitHub profile and places you at the appropriate level (Level 0 to Level 2 maximum).
  • Foundational Course: Level 0 contributors take a 5-day course covering Git basics, workflow, and open source etiquette before accessing codebases.
  • Hierarchical Peer Mentorship: Level 2 contributors help Level 1, and Level 3 mentors Level 2, ensuring every PR is peer-reviewed.
  • Gamification: Earn points and badges for merged PRs and mentorship to unlock higher-level, more complex issues.

For Maintainers

  • Smart Dashboard: A unified, sorted view of all organisation activity, eliminating the need to jump between multiple GitHub pages.
  • Pre-Verified PRs: Pull Requests arrive with verification tags from mentors, allowing maintainers to focus on high-trust contributions.
  • Direct Communication: Chat directly with contributors or schedule 1:1 meetings from within the platform.

Tech Stack

MergeShip is built with a modern and scalable engineering stack:

  • Framework: Next.js (App Router) & React
  • Database & Auth: Supabase (Local Postgres + Auth Studio)
  • ORM: Drizzle ORM
  • Background Jobs: Inngest (Webhooks, Audits, PR processing)
  • AI / LLM: Groq Router
  • Testing: Vitest (Integration & Unit Testing)

Architecture Overview

The codebase follows a domain-driven design structure:

  • src/app/ - Next.js routes (dashboards, public profiles, API callbacks).
  • src/components/ - Reusable UI components and shared layouts.
  • src/lib/ - Core business logic including:
    • /db - Drizzle schemas and database clients.
    • /github - Octokit factories and webhook verifiers.
    • /pipeline - Difficulty scoring and recommendation ranking.
    • /xp - Gamification system, event auditing, and caps.
  • inngest/ - Asynchronous background functions for heavy workloads.
  • supabase/ - SQL migrations and Docker configurations.
  • tests/ & __fixtures__/ - High-coverage test suites and mock data.

Quick Start

Works on macOS, Linux, and Windows (WSL2). Full step-by-step in CONTRIBUTING.md.

  1. Verify Prerequisites: Ensure you have Node.js 20+ and Docker installed and running.
  2. Clone the repository:
    git clone https://github.com/Coder-s-OG-s/MergeShip.git
    cd MergeShip
  3. Install dependencies:
    npm install
  4. Set up environment variables:
    cp .env.example .env.local
  5. Start Supabase: (Local Postgres + Auth Studio)
    make supabase-start
  6. Configure Keys: Copy the ANON_KEY and SERVICE_ROLE_KEY from the previous command's output into your .env.local file.
  7. Initialize Database: Run migrations and auto-seed personas.
    make db-reset
  8. Start Redis: (Optional, will fall back to in-memory if skipped)
    make redis-start
  9. Start Development Server:
    npm run dev
  10. Sign In: Open http://localhost:3001/dev/login and click any persona to sign in. No GitHub OAuth or external accounts are required for local work.

For prerequisites, troubleshooting, and the full contributor workflow, read CONTRIBUTING.md.

Community

Have a question, idea, or want to introduce yourself? GitHub Discussions is the place.

  • General - questions, introductions, anything that doesn't fit elsewhere
  • Ideas - feature suggestions before opening an issue
  • Help - stuck on setup or a PR? ask here first
  • Show and tell - share what you built or contributed

Issues are for confirmed bugs and accepted feature work. Everything else goes in Discussions.

Contributing

We maintain a high engineering bar: strict TypeScript, zero lint warnings, and 80%+ test coverage on lib/.

License

This project is open-source and available under the MIT License. Making open source better — for the people who build it.

About

MergeShip: a gamified open-source bridge. Contributors find issues via swipe-based discovery, earning XP and tiered badges. Maintainers get an AI Command Center with triage, duplicate detection, and health metrics to prevent burnout and boost PR velocity. Scalable, efficient, and actually fun it's the mission-critical hub for repos.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors