{"id":31476061,"url":"https://github.com/zonca/openstack_unshelver_webapp","last_synced_at":"2025-10-02T00:51:09.058Z","repository":{"id":316155284,"uuid":"1062171024","full_name":"zonca/openstack_unshelver_webapp","owner":"zonca","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-23T01:42:51.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T02:45:59.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zonca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-22T22:49:33.000Z","updated_at":"2025-09-23T01:42:55.000Z","dependencies_parsed_at":"2025-09-23T02:46:16.242Z","dependency_job_id":"e776026c-3cc5-4684-926a-d8698ea1b4ff","html_url":"https://github.com/zonca/openstack_unshelver_webapp","commit_stats":null,"previous_names":["zonca/openstack_unshelver_webapp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/zonca/openstack_unshelver_webapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fopenstack_unshelver_webapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fopenstack_unshelver_webapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fopenstack_unshelver_webapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fopenstack_unshelver_webapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonca","download_url":"https://codeload.github.com/zonca/openstack_unshelver_webapp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fopenstack_unshelver_webapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277936834,"owners_count":25902302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-01T02:00:09.286Z","response_time":88,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-02T00:51:05.742Z","updated_at":"2025-10-02T00:51:09.039Z","avatar_url":"https://github.com/zonca.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenStack Unshelver Web App\n\nCheck out the accompanying blog post: https://www.zonca.dev/posts/2025-09-22-openstack-unshelver-demo\n\nFastHTML web application that authenticates users via GitHub OAuth (restricted to a\nparticular organisation) and provides buttons that unshelve and monitor configured\nOpenStack instances.\n\n## Features\n- GitHub OAuth login with organisation membership enforcement\n- Config-driven list of OpenStack instances to unshelve\n- Unshelve workflow with live status updates every 10 seconds\n- HTTP readiness probing and direct link to the instance web UI once online\n\n## Configuration\nCreate a configuration file following [`config.example.yaml`](config.example.yaml) and\nsupply it as `config.yaml` or via the `UNSHELVER_CONFIG` environment variable.\n\nKey sections:\n- `app`: UI title, session secret, polling and HTTP probe timings\n- `github`: OAuth client credentials, redirect URI, required organisation\n- `openstack`: Authentication credentials passed to `openstacksdk`\n- `buttons`: One entry per UI button with instance name and optional behaviour overrides\n\n## Running the App\nThis project uses [uv](https://github.com/astral-sh/uv).\n\n```bash\nuv run python app.py\n```\n\nBy default the app listens on `http://localhost:5001`. Adjust the `redirect_uri`\naccordingly in GitHub OAuth settings and the configuration file.\n\n## Testing\nRun the unit tests with:\n\n```bash\nuv run pytest\n```\n\n## Notes\n- The web UI keeps state in-memory; if you run multiple processes you should add a\n  shared backing store for task status.\n- TLS certificate verification for instance readiness checks can be disabled per button\n  using `verify_tls: false` when required for self-signed certificates.\n- The OpenStack credentials can be provided either as username/password/project or\n  application credentials (set `application_credential_id` and\n  `application_credential_secret`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonca%2Fopenstack_unshelver_webapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonca%2Fopenstack_unshelver_webapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonca%2Fopenstack_unshelver_webapp/lists"}