{"id":20705285,"url":"https://github.com/gluestack/next-wordpress-plugins","last_synced_at":"2025-04-23T01:34:43.981Z","repository":{"id":65323542,"uuid":"589586048","full_name":"gluestack/next-wordpress-plugins","owner":"gluestack","description":"⚠️ Experimental ⚠️ : Bring WordPress-like plugin system to Next.js","archived":false,"fork":false,"pushed_at":"2023-10-03T10:11:08.000Z","size":1935,"stargazers_count":35,"open_issues_count":3,"forks_count":4,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-29T20:51:11.173Z","etag":null,"topics":["nextjs","plugin-system","wordpress"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/gluestack.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}},"created_at":"2023-01-16T13:21:19.000Z","updated_at":"2025-01-17T13:19:32.000Z","dependencies_parsed_at":"2023-10-03T17:47:20.046Z","dependency_job_id":null,"html_url":"https://github.com/gluestack/next-wordpress-plugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gluestack%2Fnext-wordpress-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gluestack%2Fnext-wordpress-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gluestack%2Fnext-wordpress-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gluestack%2Fnext-wordpress-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gluestack","download_url":"https://codeload.github.com/gluestack/next-wordpress-plugins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250353632,"owners_count":21416691,"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","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":["nextjs","plugin-system","wordpress"],"created_at":"2024-11-17T01:17:06.693Z","updated_at":"2025-04-23T01:34:43.958Z","avatar_url":"https://github.com/gluestack.png","language":"TypeScript","readme":"# Next.js WordPress-like Plugin System 🚨 (Experimental)\n\n\u003e ⚠️⚠ This is an experimental project, a proof-of-concept to bring WordPress like, file-based plugins to Next.js. ⚠⚠️\n\n## Why?\n\nTaking inspirations from the WordPress Plugin system. Wouldn't it be easy if we could install plugins for **Google Analytics**, **Social Login**, **E-commerce** (maybe) and customize as you need!\n\n## Demo\n\n[![Next.js WordPress-like Plugin System](screencast/screencast.png)](https://www.loom.com/share/5354c3e306cb41ec92daa4b00130c5bd \"Next.js WordPress-like Plugin System\")\n\n## The checklist (from WordPress)\n\n- [x] File-system based\n- [ ] Persistant Store per plugin\n- [x] Register Components\n- [x] Register Routes\n- [ ] Register Functions\n- [ ] Event System across plugins\n- [ ] Dependency management\n\n## The state of this experiment\n\nThis is a very early experiment that has two plugins\n\n- **ShareButtonPlugin**: Registers a ShareButton component that can be used anywhere in the app.\n\n- **ComingSoonPlugin**: Registers a route `/coming-soon` using the Dynamic Routes of Next.js.\n\n## Folder structure\n\n```\nbootstrap.ts\nsrc/\nplugins/\n    share-button/\n    coming-soon-page/\npages/\n    [...all].tsx\n```\n\n```\nNote:\n- bootstrap.ts is used to initialize the plugin-system\n- src folder contains the source code of the plugin-system\n- plugins folder contains the individual plugin folders\n- pages folder contains the dynamically rendered routes registered by the plugins\n```\n\n## Running the dev environment\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgluestack%2Fnext-wordpress-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgluestack%2Fnext-wordpress-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgluestack%2Fnext-wordpress-plugins/lists"}