{"id":49827296,"url":"https://github.com/asengar14/rgenex","last_synced_at":"2026-07-31T08:01:10.432Z","repository":{"id":349817099,"uuid":"1192889476","full_name":"asengar14/rgenex","owner":"asengar14","description":"Angular CLI-style code generator for React. Scaffold components, hooks and pages instantly.","archived":false,"fork":false,"pushed_at":"2026-04-27T19:19:22.000Z","size":1483,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-15T20:43:56.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/asengar14.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":"2026-03-26T16:58:26.000Z","updated_at":"2026-04-30T17:04:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/asengar14/rgenex","commit_stats":null,"previous_names":["asengar14/rgenex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asengar14/rgenex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asengar14%2Frgenex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asengar14%2Frgenex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asengar14%2Frgenex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asengar14%2Frgenex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asengar14","download_url":"https://codeload.github.com/asengar14/rgenex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asengar14%2Frgenex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36100390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-31T02:00:06.731Z","response_time":112,"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":"2026-05-13T18:00:54.899Z","updated_at":"2026-07-31T08:01:10.390Z","avatar_url":"https://github.com/asengar14.png","language":"JavaScript","funding_links":[],"categories":["Angular-Inspired Solutions"],"sub_categories":["Wrappers"],"readme":"# rgenex\n\n[![npm version](https://img.shields.io/npm/v/rgenex)](https://www.npmjs.com/package/rgenex)\n[![license](https://img.shields.io/npm/l/rgenex)](LICENSE)\n[![npm downloads](https://img.shields.io/npm/dm/rgenex)](https://www.npmjs.com/package/rgenex)\n\n**Config-driven React architecture scaffolding for teams.**  \nDefine your project structure once in `rgenex.config.js` and generate code consistently across your entire team.\n\n---\n\n## 🚀 Quick Start\n\n```bash\nnpm install --save-dev rgenex\n```\n\n![Install](https://raw.githubusercontent.com/asengar14/rgenex/refs/heads/main/demo/install.gif)\n\n```bash\nnpx rgenex init\n# Creates rgenex.config.js based on your detected stack\n```\n\n![Init](https://raw.githubusercontent.com/asengar14/rgenex/refs/heads/main/demo/rgenex_init.gif)\n\n```bash\nnpx rgenex generate component Button\n# shorthand\nnpx rgenex g component Button\n```\n\n![Generate](https://raw.githubusercontent.com/asengar14/rgenex/refs/heads/main/demo/rgenex_component_generate.gif)\n\n---\n\n## ✨ Core Features\n\n- 🎯 **Config-Driven Generation** — Define structure, naming conventions, and file patterns once in `rgenex.config.js`\n- 👥 **Team Standardization** — Enforce consistent React architecture across your team\n- ⚡ **Instant Scaffolding** — Generate components, hooks, and pages in one command\n- 🛡️ **Safe Generation** — Preview output before writing and prevent accidental overwrites\n- 🧪 **Built-in Test Support** — Auto-generate test files (Vitest, Jest)\n- 🎨 **Smart Stack Detection** — Detects TypeScript, styling, and testing setup automatically\n- 📦 **Zero Bundle Impact** — Dev-only tool, excluded from production builds\n- 🔧 **Configurable Structure** — Adapt templates, paths, and conventions to your architecture\n\n---\n\n## 🆕 Improved Developer Experience in v1.1.0\n\n![rgenex v1.1.0 Features](https://raw.githubusercontent.com/asengar14/rgenex/refs/heads/main/demo/rgenex_component_flags.gif)\n\n### Preview Before Generating\n\n```bash\nnpx rgenex g component Button --dry\n```\n\nPreview files before writing them to disk.\n\n---\n\n### Safe Overwrite Protection\n\n```bash\nnpx rgenex g component Button\n```\n\nIf files already exist, rgenex prompts before overwriting.\n\n---\n\n### Force Overwrite\n\n```bash\nnpx rgenex g component Button --force\n```\n\nSkip overwrite prompts when needed.\n\n---\n\n### List Available Generators\n\n```bash\nnpx rgenex list\n```\n\nView all configured generators in your project.\n\n---\n\n## 📖 Documentation\n\n- **[QUICK_START.md](./QUICK_START.md)** — Complete guide with examples\n- **[CHANGELOG.md](./CHANGELOG.md)** — Release history\n- **[CONTRIBUTING.md](./CONTRIBUTING.md)** — Contributing guidelines\n\n---\n\n## 💡 What It Generates\n\n### Components\n\n```bash\nnpx rgenex g component Button\n```\n\nCreates:\n\n- `Button.tsx`\n- `Button.test.tsx`\n- `Button.module.scss`\n- `index.ts`\n\n*(Structure depends on your config)*\n\n---\n\n### Hooks\n\n```bash\nnpx rgenex g hook useCounter\n```\n\nCreates:\n\n- `useCounter.ts`\n- `useCounter.test.ts`\n\n---\n\n### Pages\n\n```bash\nnpx rgenex g page Dashboard\n```\n\nCreates:\n\n- `Dashboard.tsx`\n- `Dashboard.test.tsx`\n\n---\n\n## ⚙️ Configuration — The Real Power\n\nAfter running `npx rgenex init`, configure your team’s standards once:\n\n```javascript\n// rgenex.config.js - Your team's code standards\nmodule.exports = {\n  language: \"typescript\", // Enforce TypeScript\n  styling: \"scss-modules\", // Your design system\n  testing: \"vitest\", // Your test framework\n\n  paths: {\n    components: \"src/components\", // Where to generate\n    pages: \"src/pages\",\n    hooks: \"src/hooks\",\n  },\n\n  generators: {\n    component: {\n      structure: \"grouped\", // Grouped or flat structure\n      includeTest: true, // Always generate tests\n      includeStyle: true, // Always generate styles\n      updateBarrel: true, // Auto-update index.ts exports\n    },\n  },\n};\n```\n\n---\n\n### Define Once. Enforce Everywhere.\n\nEvery team member uses the same configuration.\n\nNo more debates about:\n\n- Folder structure\n- Naming conventions\n- Test file placement\n- Style file conventions\n\n---\n\n## 🛠️ Requirements\n\n- Node.js \u003e= 16.0.0\n- npm or yarn\n\n---\n\n## 📝 License\n\nMIT\n\n---\n\n## 🤝 Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n---\n\n**Built by [Aditya Singh Sengar](https://github.com/asengar14)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasengar14%2Frgenex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasengar14%2Frgenex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasengar14%2Frgenex/lists"}