Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mkramb/git-commit-analyzer

Open more actions menu

Repository files navigation

git-commit-analyzer

Lets have a conversation with our GIT history.

Setup

Local setup

Install pnpm:

corepack enable
corepack prepare pnpm@9.15.4 --activate

Compile & start commands:

pnpm run build
pnpm run start

Provisioning dependencies

Qdrant - vector database:

docker compose up
docker compose down
rm -fr ./qdrant_data

Serve LLM locally

ollama run llama3.2
ollama ps

Usage

Importing a new repository

DEBUG=app:* pnpm run import --repositoryPath ../platform/

Executing a query

curl -X POST http://localhost:3000/query \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Who made the most commits after 5h pm BST?"}' \
| jq -r '.content'
curl -X POST http://localhost:3000/query \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Provide a summary of most popular changes."}' \
| jq -r '.content'
curl -X POST http://localhost:3000/query \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Give me the latest commit from every author."}' \
| jq -r '.content'

About

Lets have a conversation with our GIT history.

Resources

License

Stars

Watchers

Forks

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.