elly

command module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 20 Imported by: 0

README

elly

Github pull requests presented in a prioritized order, via a keyboard driven web gui & API.

Configured by a Github PAT (personal access token) and the Github username, using the env vars GITHUB_USER and GITHUB_PAT respectively. Should be hosted locally.

flowchart TB
    subgraph elly daemon
    A[run ./elly] -->|Runs| B(Request PRs)
    B -->|Timer, default 10 min| B
    F[(prs.json)]
    B -->|Persists|F
    A -->|Runs| C(HTTP server)
    C -->|Reads| F
    C --> D(Server rendered GUI)
    C --> E(API)
    end
    D -.-> G(Github PR view)

Screenshot of GUI

Screenshot of GUI's about screen

PAT Oauth permissions

A Github personal access token these permissions:

  • commit status (read only)
  • contents (read only)
  • metadata (read only)
  • pull requests (read only)

Installation

go install github.com/chelmertz/elly@latest

will fetch you the latest binary. See contrib/elly.service for a systemd example of managing the service.

Design decisions

See /decisions for ADRs.

Developing

With a .env file containing something like:

export GITHUB_USER=chelmertz
export GITHUB_PATH=github_pat_123k135hjhhjtjethwejhtjh5jhj
find . | grep -E 'html|go' | entr -r -s 'source .env && go run .'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL