greener

module
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: Apache-2.0

README

Greener

Docker Image Version

Greener is a lean and mean test result explorer.

Among other use cases, it lets you:

  • Get to test results fast (query specific sessions, tests, statuses, labels etc.)
  • Group test results and check aggregated statuses (e.g. group_by(#"os", #"version") labels)

Features:

  • Easy to use
  • No changes to test code needed
  • Simple SQL-like query language (with grouping support)
  • Attach labels and/or baggage (arbitrary JSON) to test sessions
  • Self-contained executable (only requires SQLite/PostgreSQL/MySQL database)
  • Small (~27mb executable / compressed Docker image)

Check out Greener Documentation for details.

Demo: Demo

Usage

Docker
# run Greener server
mkdir greener-data

docker run --rm \
    -v $(pwd)/greener-data:/app/data \
    -p 8080:8080 \
    -e GREENER_DATABASE_URL=sqlite:////app/data/greener.db \
    -e GREENER_AUTH_SECRET=my-secret \
    cephei8/greener:latest

# create user
go install github.com/cephei8/greener/cmd/greener-admin@main

greener-admin \
    --db-url sqlite:///greener-data/greener.db \
    create-user \
    --username greener \
    --password greener

Then open http://localhost:8080 in your browser.

Docker Compose

Check out compose.yaml for example of using Docker Compose and PostgreSQL.

Building from source
# build
npm install
npm run build
go build ./cmd/greener

# run Greener server
mkdir greener-data

./greener --db-url "sqlite:///greener-data/greener.db" --auth-secret "my-secret"

# create user
go install github.com/cephei8/greener/cmd/greener-admin@main

greener-admin \
    --db-url sqlite:///greener-data/greener.db \
    create-user \
    --username greener \
    --password greener

Then open http://localhost:8080 in your browser.

Reporting test results to Greener

Check out Ecosystem section for ways to report test results to Greener.

For the "hello world" the easiest option may be to use cephei8/greener-reporter-cli.

Ecosystem

Plugins/reporters:

Supporting libraries:

Contributing

See CONTRIBUTING.md.

License

This project is licensed under the terms of the Apache License 2.0.

Directories

Path Synopsis
cmd
greener command
greener-admin command
mcp
sse

Jump to

Keyboard shortcuts

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