{"id":16690202,"url":"https://github.com/aptmac/console-plugin-pf-seed-demo","last_synced_at":"2026-04-25T15:35:32.539Z","repository":{"id":244296554,"uuid":"814235684","full_name":"aptmac/console-plugin-pf-seed-demo","owner":"aptmac","description":"POC of OpenShift Console Plugin-ifying the Patternfly React Seed project","archived":false,"fork":false,"pushed_at":"2025-12-02T14:31:02.000Z","size":1315,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T01:59:20.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aptmac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-06-12T15:45:10.000Z","updated_at":"2025-12-02T14:30:59.000Z","dependencies_parsed_at":"2024-06-13T23:00:29.649Z","dependency_job_id":null,"html_url":"https://github.com/aptmac/console-plugin-pf-seed-demo","commit_stats":null,"previous_names":["aptmac/console-plugin-pf-seed-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aptmac/console-plugin-pf-seed-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptmac%2Fconsole-plugin-pf-seed-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptmac%2Fconsole-plugin-pf-seed-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptmac%2Fconsole-plugin-pf-seed-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptmac%2Fconsole-plugin-pf-seed-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aptmac","download_url":"https://codeload.github.com/aptmac/console-plugin-pf-seed-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptmac%2Fconsole-plugin-pf-seed-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32267710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"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":[],"created_at":"2024-10-12T15:50:42.988Z","updated_at":"2026-04-25T15:35:32.509Z","avatar_url":"https://github.com/aptmac.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenShift Console Plugin: PatternFly React Seed Demo\n\n## Idea\n\nThe purpose behind this repository is to see what is required (and if it is possible) to modify an existing React project such that it can function as a dynamic plugin for the OpenShift Console while maintaining it's ability to be a standalone application.\n\nThe idea here was to take the PatternFly React Seed project and add the necessary parts on-top of it that would allow it to run as a dynamic plugin. At the very least, this includes a `console-extensions.json`, and `\"consolePlugin\"` entry in `package.json` for running locally.\n\nThe first problem I encountered was that the PF seed application currently uses React 18, which caused some warnings mentioning an incompatibility with the version 17 required for plugins. For this reason I picked a commit `62e92b7`, which was the last PF seed commit before they migrated to 18.\n\nThis repository is kind of hacked and thrown together, but does work and is a nice starting point for seeing how an existing project can be modified to work as both a plugin and a standalone application. Using the regular `npm run start:dev` or `npm run build \u0026\u0026 npm run start` will serve the PF application as expected. For the plugin, `yarn run start-console` will start a local instance of the OpenShift console and then you can run `npm run start-plugin` to run the dynamic plugin. At the moment I have the plugin running both as it's own Perspective, and as a section under the Admin portion of the Console.\n\n## Commands\n```sh\n# Install development/build dependencies\nnpm install\n```\n\n### OpenShift Dynamic Plugin\n```sh\n# Start the OpenShift Console locally at localhost:9000\nyarn run start-console\n\n# Run the project as a dynamic plugin, and serve components at localhost:9091\nnpm run start-plugin\n```\n\n### Regular React \u0026 PatternFly application\n```sh\n# Start the development server at localhost:9096\nnpm run start:dev\n\nor\n\n# Run a production build (outputs to \"dist\" dir)\nnpm run build\n\n# Run the \"production\" server at localhost:8080\nnpm run start\n```\n## Screenshot\n![screenshot](https://github.com/aptmac/console-plugin-pf-seed-demo/assets/10425301/42e46134-80b3-40a0-ae33-905ed68c1f57)\n\nRegular React application on the left, OpenShift Console on the right\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faptmac%2Fconsole-plugin-pf-seed-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faptmac%2Fconsole-plugin-pf-seed-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faptmac%2Fconsole-plugin-pf-seed-demo/lists"}