{"id":45591755,"url":"https://github.com/openjobspec/ojs-admin-ui","last_synced_at":"2026-02-23T12:42:16.505Z","repository":{"id":338803222,"uuid":"1158763618","full_name":"openjobspec/ojs-admin-ui","owner":"openjobspec","description":"Universal admin dashboard for any Open Job Spec conformant backend.","archived":false,"fork":false,"pushed_at":"2026-02-16T21:12:19.000Z","size":656,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-16T21:46:45.775Z","etag":null,"topics":["admin","background-jobs","dashboard","ojs","openjobspec","react","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openjobspec.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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":"2026-02-15T21:54:01.000Z","updated_at":"2026-02-16T21:11:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/openjobspec/ojs-admin-ui","commit_stats":null,"previous_names":["openjobspec/ojs-admin-ui"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/openjobspec/ojs-admin-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openjobspec%2Fojs-admin-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openjobspec%2Fojs-admin-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openjobspec%2Fojs-admin-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openjobspec%2Fojs-admin-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openjobspec","download_url":"https://codeload.github.com/openjobspec/ojs-admin-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openjobspec%2Fojs-admin-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["admin","background-jobs","dashboard","ojs","openjobspec","react","typescript"],"created_at":"2026-02-23T12:42:14.591Z","updated_at":"2026-02-23T12:42:16.496Z","avatar_url":"https://github.com/openjobspec.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OJS Admin UI\n\nUniversal admin dashboard for any [Open Job Spec](https://openjobspec.org) conformant backend.\n\n**Works with any OJS backend** — Redis, Postgres, Kafka, SQS, or any custom implementation that exposes the OJS Admin API.\n\n## Features\n\n- 📊 **Dashboard** — Aggregate stats, queue overview, throughput charts\n- 📋 **Queues** — List, pause/resume, purge with counts and throughput\n- ⚡ **Jobs** — Search, filter, inspect full job detail with error history\n- ⚙️ **Workers** — Monitor connected workers, quiet, deregister stale\n- ☠️ **Dead Letter** — Browse DLQ, bulk retry, delete, stats by error type\n- 🔍 **Settings** — Backend info, conformance level, capabilities, extensions\n- 🌙 **Dark mode** — System-aware with manual toggle\n- 📡 **Auto-refresh** — Configurable polling interval (default 5s)\n- 🧩 **Manifest-driven** — Auto-discovers backend capabilities, hides unsupported features\n\n## Quick Start\n\n### Option 1: Embed in your backend (recommended)\n\nBackends serve the admin UI as static files. The UI makes API calls to the same origin.\n\n```bash\nnpm install @openjobspec/admin-ui\n```\n\n```javascript\nimport { mountOJSAdmin } from '@openjobspec/admin-ui';\n\n// Mount into a DOM element\nconst unmount = mountOJSAdmin(document.getElementById('admin'), {\n  baseUrl: '',           // same-origin (default)\n  basename: '/ojs/admin' // URL prefix for routing\n});\n```\n\n### Option 2: Standalone development\n\n```bash\ngit clone https://github.com/openjobspec/ojs-admin-ui\ncd ojs-admin-ui\nnpm install\nnpm run dev\n```\n\nThe dev server proxies `/ojs/*` to `http://localhost:8080` — start any OJS backend there.\n\n## Architecture\n\n```\n┌─────────────────────────────┐\n│ OJS Backend                 │\n│                             │\n│  GET  /ojs/manifest         │  ← capabilities discovery\n│  GET  /ojs/v1/admin/*       │  ← admin API\n│  GET  /ojs/admin/           │  ← serves this UI\n│                             │\n└─────────────────────────────┘\n```\n\nThe admin UI is a pure SPA (React + Vite + Tailwind). No server component. Backends embed the `dist/` files and serve them at any path.\n\n## API Contract\n\nThe UI consumes the [OJS Admin API Specification](../spec/spec/ojs-admin-api.md):\n\n| Endpoint | Used By |\n|----------|---------|\n| `GET /ojs/manifest` | Settings, feature flags |\n| `GET /ojs/v1/admin/stats` | Dashboard |\n| `GET /ojs/v1/admin/queues` | Dashboard, Queues |\n| `GET /ojs/v1/admin/jobs` | Jobs |\n| `GET /ojs/v1/admin/workers` | Workers |\n| `GET /ojs/v1/admin/dead-letter` | Dead Letter |\n| `POST .../pause`, `resume`, `retry`, `cancel` | Actions |\n\n## Tech Stack\n\n- **React 19** + TypeScript\n- **Vite 6** for build tooling\n- **Tailwind CSS 3** for styling\n- **Recharts** for throughput charts\n- **React Router 7** for navigation\n\nBundle size: ~370KB gzipped.\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenjobspec%2Fojs-admin-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenjobspec%2Fojs-admin-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenjobspec%2Fojs-admin-ui/lists"}