A Python extension for Gloodata that lets you explore GitHub repositories stored in a local SQLite database. Designed for LLM-based interactions: query repo metadata, commits, and file trees through natural language, no UI needed.
Check that you are in a recent version of uv:
uv self updateFirst you need to generate the githubrepo.db file using the scripts in tools/github-repo-to-sqlite.
Feel free to change the exported repository, here we are going to export the facebook/react repo:
cd tools/github-repo-to-sqlite
# get your token here https://github.com/settings/tokens
export GIHUB_TOKEN="YOUR TOKEN HERE"
bun run dumpRepo.js facebook react react-issues.json react-releases.json
bun run issuesToSqlite.js react-issues.json react-releases.json ../../githubrepo.dbGitHub docs: Managing your personal access tokens
uv run src/main.pyAvailable environment variables and their defaults:
EXTENSION_PORT:9876EXTENSION_HOST:localhostEXTENSION_DB_PATH:./githubrepo.db
For example, to change the port:
EXTENSION_PORT=6677 uv run src/main.py- Define new SQL queries in
queries.sql - Create tool functions in
src/toolbox.pyusing the@tb.tooldecorator - Specify visualization types and parameters in the return dictionary
This project is open source and available under the MIT License.
For questions, issues, or contributions, please open an issue on GitHub or contact the maintainers.
