Extend ProGit with Lua

Build powerful plugins with the ProGit SDK. Safe, sandboxed, and blazing fast with LuaJIT.

Try Playground Read Docs

Live Playground

Write and test ProGit plugins directly in your browser.

plugin.lua
Output
Click "Run" to see output... Or install locally: $ progit plugin install ./plugin.lua Enable in project: $ progit plugin enable hello Usage: $ progit hello "ProGit" Hello, ProGit!

API Reference

Hooks

React to Git events and lifecycle changes

pre-commit()post-commit()pre-push()post-merge()

Commands

Register custom CLI commands

register()()execute()()complete()()

UI

Extend the TUI with custom panels

panel()()widget()()keybind()()

Git

Interact with the Git repository

status()()log()()branch()()diff()()

Issues

Programmatic issue management

create()()list()()update()()close()()

AI

Integrate with the AI agent

prompt()()suggest()()embed()()

Example Plugins