GithubHelp home page GithubHelp logo

Go Report Card CI Worker (Golang) CI Frontend (UI) Twitter Follow Slack Community

mergestat MergeStat Logo

Banner describing MergeStat

MergeStat enables SQL queries for data in git repositories (and related sources, such as the GitHub API). It allows you to ask questions about the history and contents of your source code.

If you are looking for our CLI, which runs SQL queries against local git repositories, it's now called mergestat-lite

See our documentation for additional context.

MergeStat Queries

Running Locally

Try MergeStat locally with docker-compose by cloning this repository and running

docker-compose up

Now if you visit http://localhost:3300/ you should be able to access our management UI where you can begin adding repositories and syncing data.

NOTE if you'd like to make use of GitHub API data (any sync type that uses the GitHub API including repo auto imports) or any private GitHub repos you will need to supply a GitHub personal access token. We are working on GitHub auth alternatives, but for now a PAT is your best bet.

MergeStat GitHub PAT Management UI

You can manage a single PAT for your instance in the Settings area of the management UI.

Examples

Take a look at all of our examples

Resetting a Local Instance

If you'd like to "start from scratch" (i.e. reset the DB and start with a fresh deployment), run the following:

docker-compose down
docker volume rm mergestat_db_data

MergeStat's Projects

bulk icon bulk

CLI for running bulk actions (ad-hoc scripts) on sets of Git repositories

dblite icon dblite

SQLite extension for accessing other SQL databases, in SQLite

docs icon docs

MergeStat documentation site

gitgoperfs icon gitgoperfs

For comparing the relative performance of interacting with git from go using go-git, git2go and parsing output of the git command.

gitutils icon gitutils

Golang library for programmatically working with the git command (via the os/exec package).

haystack icon haystack

Haystack (as in, "finding a needle in a haystack") is a Go library for searching the contents of git repositories, backed by SQLite.

kyc icon kyc

kyc is a tool for deriving facts about source code in a git repo

libgit2 icon libgit2

A cross-platform, linkable library implementation of Git that you can use in your application.

mergestat icon mergestat

MergeStat enables anyone to ask questions about the history and contents of source code.

mergestat-git-dbt icon mergestat-git-dbt

Example dbt project showcasing various uses of git stats data from MergeStat

mergestat-gitstart icon mergestat-gitstart

MergeStat enables SQL queries for data in git repositories (and related sources, such as the GitHub API). It allows you to ask questions about the history and contents of your source code.

mergestat-lite icon mergestat-lite

Query git repositories with SQL. Generate reports, perform status checks, analyze codebases. 🔍 📊

pqueue icon pqueue

Go library for using PostgreSQL as a job queue

scribe icon scribe

Command line interface for translating natural language prompts into SQL queries using the OpenAI API

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.