[APP] - Steerhouse

Open Beginner friendly
#1,064 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
php
Domain
api

Research direction

The issue fully specifies a new Heimdall app: read Steerhouse's docs/interfaces.md for the GET /api/stats endpoint, and copy the pattern of an existing enhanced app with a bearer-token API key (e.g. Tracearr for the skip-TLS toggle). Add the app class in the Heimdall-Apps repo, implement the Run / Queue / Failed tile from the returned counts, and verify with testRunner, php -l (8.2) and PHPCS PSR-12. Done means the tile shows correct counts, goes active during runs, and reports invalid credentials for a wrong key.

Written by the indexing model from the issue text.

Description

app-request request-valid
App name

Steerhouse

Website

https://github.com/HoneyBearTech/Steerhouse

License

MIT License

Tile background

dark

Icon

steerhouse.svg

Description

Adds Steerhouse (https://github.com/HoneyBearTech/Steerhouse), a self-hosted web UI and API for
running Ansible playbooks, as an enhanced app.

  • Endpoint: GET /api/stats, documented in Steerhouse's docs/interfaces.md. It returns counts only:
    queued, running, succeeded_24h, failed_24h, workers_online.
  • Auth: Authorization: Bearer . Steerhouse has a "stats" key preset that can read these
    counts and nothing else; the config field is a password input.
  • Tile: Run / Queue / Failed (failed and timed-out runs in the last 24 hours). Status is "active"
    while runs are queued or running (5 s refresh), otherwise 30 s.
  • Optional "Skip TLS verification" toggle, as in Tracearr.

Test plan: tested against a self-hosted Steerhouse in linuxserver/heimdall. Test says "Successfully
communicated with the API" with a valid key and "Failed: Invalid credentials" with a wrong one; the
tile's numbers match the API, it is active while a run is in progress and inactive otherwise, and a
revoked key leaves it at zero without errors. testRunner, the unit tests, php -l (8.2) and PHPCS
PSR-12 pass.

I intend to build this as an Enhanced app myself
  • Yes, I plan to add Enhanced support in a follow-up
Dominant language
PHP
Stars
326
Forks
338
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxserver/Heimdall-Apps

All issues in linuxserver/Heimdall-Apps

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.