{"id":15147610,"url":"https://github.com/manuelgil/vscode-nextjs-generator","last_synced_at":"2025-07-30T11:09:28.504Z","repository":{"id":212747526,"uuid":"731677572","full_name":"ManuelGil/vscode-nextjs-generator","owner":"ManuelGil","description":"VSCode extension to generate files for T3 Stack project. NextJS, NextAuth, Prisma, tRPC, and more.","archived":false,"fork":false,"pushed_at":"2025-01-10T04:29:19.000Z","size":11445,"stargazers_count":38,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T21:35:55.328Z","etag":null,"topics":["javascript","js","jsx","next","nextjs","react","reactjs","t3","t3-stack","t3stack","ts","tsx","typescript","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nextjs-generator","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/ManuelGil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["ManuelGil"],"ko_fi":"ManuelGil","custom":["https://paypal.me/ManuelFGil","https://www.buymeacoffee.com/ManuelGil"]}},"created_at":"2023-12-14T16:07:12.000Z","updated_at":"2025-03-27T07:22:56.000Z","dependencies_parsed_at":"2024-01-08T22:28:57.776Z","dependency_job_id":"4e66c828-1ce1-4227-9de3-a3d5abe0ce40","html_url":"https://github.com/ManuelGil/vscode-nextjs-generator","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.045454545454545414","last_synced_commit":"374cb49773786684d86988bcebc724745403000a"},"previous_names":["manuelgil/vscode-nextjs-generator"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/ManuelGil/vscode-nextjs-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManuelGil%2Fvscode-nextjs-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManuelGil%2Fvscode-nextjs-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManuelGil%2Fvscode-nextjs-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManuelGil%2Fvscode-nextjs-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ManuelGil","download_url":"https://codeload.github.com/ManuelGil/vscode-nextjs-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManuelGil%2Fvscode-nextjs-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267858175,"owners_count":24155917,"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-07-30T02:00:09.044Z","response_time":70,"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":["javascript","js","jsx","next","nextjs","react","reactjs","t3","t3-stack","t3stack","ts","tsx","typescript","vscode","vscode-extension"],"created_at":"2024-09-26T12:43:01.831Z","updated_at":"2025-07-30T11:09:28.494Z","avatar_url":"https://github.com/ManuelGil.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ManuelGil","https://ko-fi.com/ManuelGil","https://paypal.me/ManuelFGil","https://www.buymeacoffee.com/ManuelGil"],"categories":[],"sub_categories":[],"readme":"# T3 Stack / Next.js / React File Generator\n\n[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/imgildev.vscode-nextjs-generator?style=for-the-badge\u0026label=VS%20Marketplace\u0026logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nextjs-generator)\n[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/imgildev.vscode-nextjs-generator?style=for-the-badge\u0026logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nextjs-generator)\n[![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/imgildev.vscode-nextjs-generator?style=for-the-badge\u0026logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nextjs-generator)\n[![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/imgildev.vscode-nextjs-generator?style=for-the-badge\u0026logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nextjs-generator\u0026ssr=false#review-details)\n[![GitHub Repo stars](https://img.shields.io/github/stars/ManuelGil/vscode-nextjs-generator?style=for-the-badge\u0026logo=github)](https://github.com/ManuelGil/vscode-nextjs-generator)\n[![GitHub license](https://img.shields.io/github/license/ManuelGil/vscode-nextjs-generator?style=for-the-badge\u0026logo=github)](https://github.com/ManuelGil/vscode-nextjs-generator/blob/main/LICENSE)\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.producthunt.com/posts/t3-stack-next-and-react-file-generator?utm_source=badge-top-post-badge\u0026utm_medium=badge\u0026utm_souce=badge-t3\u0026#0045;stack\u0026#0045;next\u0026#0045;and\u0026#0045;react\u0026#0045;file\u0026#0045;generator\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/top-post-badge?post_id=431311\u0026theme=light\u0026period=daily\" alt=\"T3\u0026#0032;Stack\u0026#0044;\u0026#0032;Next\u0026#0032;and\u0026#0032;React\u0026#0032;File\u0026#0032;Generator - Effortless\u0026#0032;file\u0026#0032;generation | Product Hunt\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e A Visual Studio Code extension to automate file and boilerplate generation for T3 Stack, Next.js, and React projects.\n\n## Introduction\n\nModern fullstack applications often require repetitive setup of folders, files, and boilerplate code. The T3 Stack / Next.js / React File Generator simplifies these tasks by integrating common generation commands directly into your editor. This extension is compatible with all VSCode-based editors, including VSCode, VSCodium, WindSurf, Cursor, and others, and supports Next.js (v13 \u0026 v14), React, Prisma, Drizzle, Tailwind CSS, i18next, Zod, and other popular frameworks.\n\n![demo](https://raw.githubusercontent.com/ManuelGil/vscode-nextjs-generator/main/docs/images/demo.gif)\n\nReady to transcend your development experience?\n\nBoost your efficiency with this VSCode extension, designed to streamline file generation for your T3 Stack project. Whether crafting individual components or kickstarting a new venture, the extension simplifies tasks through intuitive commands. Additionally, initiate your NextJS server effortlessly, enabling swift previews of your application.\n\n![preview](https://raw.githubusercontent.com/ManuelGil/vscode-nextjs-generator/main/docs/images/preview.png)\n\n## Index\n\n- [T3 Stack / Next.js / React File Generator](#t3-stack--nextjs--react-file-generator)\n  - [Introduction](#introduction)\n  - [Index](#index)\n  - [Key Features](#key-features)\n  - [Getting Started](#getting-started)\n  - [Example: Project Configuration](#example-project-configuration)\n  - [Create a New Project](#create-a-new-project)\n  - [Documentation](#documentation)\n  - [Contributing](#contributing)\n  - [Code of Conduct](#code-of-conduct)\n  - [Changelog](#changelog)\n  - [Authors](#authors)\n  - [Follow Me](#follow-me)\n  - [Other Extensions](#other-extensions)\n  - [Recommended Browser Extension](#recommended-browser-extension)\n  - [License](#license)\n\n## Key Features\n\n- **Automated File Generation**\n  Scaffold components, pages, API routes, utilities, and tests with a single command.\n- **Framework Snippets**\n  Ready-to-use code snippets for Next.js, React, Prisma, Drizzle, Tailwind CSS, i18next, Zod, and more.\n- **Customizable Settings**\n  Define import aliases, file extensions, folder watches, and naming patterns.\n- **Integrated Commands**\n  Context menus and palette commands for project creation, file scaffolding, and CLI invocations.\n- **Multi-Version Support**\n  Full compatibility with Next.js 13 and 14, TypeScript, and modern fullstack workflows.\n\n## Getting Started\n\n- Open the **Command Palette** (Ctrl+Shift+P or ⌘+Shift+P) and enter `T3:` to view all available commands.\n- Right-click in the Explorer to access context-menu generation options.\n- Configure workspace settings in `.vscode/settings.json` to tailor file structure, import aliases, and naming conventions.\n\n## Example: Project Configuration\n\nAdd or update `.vscode/settings.json` in your project root:\n\n```jsonc\n{\n  \"nextjs.files.alias\": \"~\",               // Import alias (e.g., \"~\", \"@\", \"#\")\n  \"nextjs.files.extension\": \"tsx\",         // Default file extension\n  \"nextjs.files.showType\": true,           // Append type to filename (e.g., \"component\")\n  \"nextjs.files.include\": [\"js\",\"jsx\",\"ts\",\"tsx\"],\n  \"nextjs.files.exclude\": [\n    \"**/node_modules/**\",\n    \"**/dist/**\",\n    \"**/.*/**\"\n  ],\n  \"nextjs.files.watch\": [\"components\",\"pages\",\"api\"],\n  \"nextjs.files.showPath\": true,           // Display path in file name labels\n  \"nextjs.server.turbopack\": true,             // Enable Turbo mode (Next.js 14+)\n  \"nextjs.server.experimentalHttps\": true  // Enable HTTPS (Next.js 14+)\n}\n```\n\nReload VS Code to apply these settings.\n\n## Create a New Project\n\nUse the built-in T3 Stack / Vite CLI integration:\n\n1. Open the **Command Palette** and type `T3: Create Project`.\n2. Follow the interactive prompts to select templates, routes, and features.\n3. The extension will generate a fully configured T3 Stack or Next.js project in your chosen directory.\n\n## Documentation\n\nDetailed feature and usage documentation is available in the `docs` folder:\n\n- [Commands to Generate Files](./docs/generate-files.md)\n- [CLI Commands Reference](./docs/cli-commands.md)\n- [Snippet Reference](./docs/snippets.md)\n- [Context Menu Guide](./docs/context-menu.md)\n\n## Contributing\n\nT3 Stack / Next.js / React File Generator is open-source and welcomes community contributions:\n\n1. Fork the [GitHub repository](https://github.com/ManuelGil/vscode-nextjs-generator).\n2. Create a new branch:\n\n   ```bash\n   git checkout -b feature/your-feature\n   ```\n\n3. Make your changes, commit them, and push to your fork.\n4. Submit a Pull Request against the `main` branch.\n\nBefore contributing, please review the [Contribution Guidelines](https://github.com/ManuelGil/vscode-nextjs-generator/blob/main/CONTRIBUTING.md) for coding standards, testing, and commit message conventions. Open an Issue if you find a bug or want to request a new feature.\n\n## Code of Conduct\n\nWe are committed to providing a friendly, safe, and welcoming environment for all, regardless of gender, sexual orientation, disability, ethnicity, religion, or other personal characteristic. Please review our [Code of Conduct](https://github.com/ManuelGil/vscode-nextjs-generator/blob/main/CODE_OF_CONDUCT.md) before participating in our community.\n\n## Changelog\n\nFor a complete list of changes, see the [CHANGELOG.md](https://github.com/ManuelGil/vscode-nextjs-generator/blob/main/CHANGELOG.md).\n\n## Authors\n\n- **Manuel Gil** - _Owner_ - [@ManuelGil](https://github.com/ManuelGil)\n\nSee also the list of [contributors](https://github.com/ManuelGil/vscode-angular-generator/contributors) who participated in this project.\n\n## Follow Me\n\n- **GitHub**: [![GitHub followers](https://img.shields.io/github/followers/ManuelGil?style=for-the-badge\\\u0026logo=github)](https://github.com/ManuelGil)\n- **X (formerly Twitter)**: [![X Follow](https://img.shields.io/twitter/follow/imgildev?style=for-the-badge\\\u0026logo=x)](https://twitter.com/imgildev)\n\n## Other Extensions\n\n- **[Auto Barrel](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-auto-barrel)**\n  Automatically generates and maintains barrel (`index.ts`) files for your TypeScript projects.\n\n- **[Angular File Generator](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-angular-generator)**\n  Generates boilerplate and navigates your Angular (9→20+) project from within the editor, with commands for components, services, directives, modules, pipes, guards, reactive snippets, and JSON2TS transformations.\n\n- **[NestJS File Generator](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-generator)**\n  Simplifies creation of controllers, services, modules, and more for NestJS projects, with custom commands and Swagger snippets.\n\n- **[NestJS Snippets](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-snippets-extension)**\n  Ready-to-use code patterns for creating controllers, services, modules, DTOs, filters, interceptors, and more in NestJS.\n\n- **[T3 Stack / NextJS / ReactJS File Generator](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nextjs-generator)**\n  Automates file creation (components, pages, hooks, API routes, etc.) in T3 Stack (Next.js, React) projects and can start your dev server from VSCode.\n\n- **[Drizzle ORM Snippets](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-drizzle-snippets)**\n  Collection of code snippets to speed up Drizzle ORM usage, defines schemas, migrations, and common database operations in TypeScript/JavaScript.\n\n- **[CodeIgniter 4 Spark](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-spark)**\n  Scaffolds controllers, models, migrations, libraries, and CLI commands in CodeIgniter 4 projects using Spark, directly from the editor.\n\n- **[CodeIgniter 4 Snippets](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-snippets)**\n  Snippets for accelerating development with CodeIgniter 4, including controllers, models, validations, and more.\n\n- **[CodeIgniter 4 Shield Snippets](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-shield-snippets)**\n  Snippets tailored to CodeIgniter 4 Shield for faster authentication and security-related code.\n\n- **[Mustache Template Engine - Snippets \u0026 Autocomplete](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-mustache-snippets)**\n  Snippets and autocomplete support for Mustache templates, making HTML templating faster and more reliable.\n\n## Recommended Browser Extension\n\nFor developers who work with `.vsix` files for offline installations or distribution, the complementary [**One-Click VSIX**](https://chromewebstore.google.com/detail/imojppdbcecfpeafjagncfplelddhigc?utm_source=item-share-cb) extension is recommended, available for both Chrome and Firefox.\n\n\u003e **One-Click VSIX** integrates a direct \"Download Extension\" button into each VSCode Marketplace page, ensuring the file is saved with the `.vsix` extension, even if the server provides a `.zip` archive. This simplifies the process of installing or sharing extensions offline by eliminating the need for manual file renaming.\n\n- [Get One-Click VSIX for Chrome \u0026rarr;](https://chromewebstore.google.com/detail/imojppdbcecfpeafjagncfplelddhigc?utm_source=item-share-cb)\n- [Get One-Click VSIX for Firefox \u0026rarr;](https://addons.mozilla.org/es-ES/firefox/addon/one-click-vsix/)\n\n## License\n\nThis project is licensed under the **MIT License**. See the [LICENSE](https://github.com/ManuelGil/vscode-nextjs-generator/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelgil%2Fvscode-nextjs-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanuelgil%2Fvscode-nextjs-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelgil%2Fvscode-nextjs-generator/lists"}