Skip to content

dionysuzx/maid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maid banner

Maid is a smol bot that runs local Codex on GitHub events.

It watches for opened PRs and issue or PR mentions to your configured GitHub bot account (a "maid), checks that the request came from a trusted master account, prepares an isolated worktree, runs codex, and posts Codex's final answer back as a comment. It can also run automatic reviews for configured repositories, and trusted users can request adhoc operator tasks with /operate.

Each task runs in its own git worktree while sharing a cached bare repository for the source GitHub repo.

Getting Started

Maid expects Rust/Cargo, git, gh, codex, just, and nvim on PATH. Authenticate gh as the GitHub bot account before starting Maid.

Clone the repo, create your local config, edit it, then start the bot:

git clone https://github.com/dionysuzx/maid.git
cd maid
just init
just config
just start

Useful commands:

just status
just logs
just stop
just restart
just update

Configuration

Runtime config lives at ~/.maid/config.toml. Run just config to edit it, and use config.example.toml as the configuration reference.

About

Simple loop that spawns Codex threads on GitHub events.

Resources

Stars

Watchers

Forks

Contributors