Code Monkey home page Code Monkey logo

next-gen's Introduction

next-gen logo

next-gen

The Next.js Codebase Generator

Introduction

This project is meant to help you with two things:

  1. It helps you to scaffold new Next.js applications that are custom-tailored to exactly the features you want.
  2. It allows you to quickly add support for various tools and frameworks to existing Next.js applications.

Think of it as a mix of npx init gatsby and Blitz Recipes, but for Next.js.

Getting Started

You can either install next-gen globally:

npm install -g @biowaffeln/next-gen

or try it out directly with npx:

npx @biowaffeln/next-gen [command]

next-gen comes with two commands, next-gen init for scaffolding new projects, and next-gen add for adding tools to existing projects:

next-gen init

Simply answer the questions in the interactive prompt and a Next.js project will be generated for you. The prompt will guide you through the process and allow you to add any of the below recipes to your newly created Next.js project.

terminal that runs the next-gen init command

next-gen add [recipe]

This command adds various tools and frameworks to an existing Next.js project, all within seconds! To add a recipe, run next-gen add [recipe].

โš ๏ธ Warning! This command will modify files in your project. It's advised to commit your changes to git before running this command.

Currently available recipes are:

  • Sass - sass
  • Typescript - typescript
  • Tailwind CSS - tailwind
  • Preact - preact
  • styled-components - styled-components
  • Chakra UI - chakra-ui
  • MDX - mdx

Alternatively, you can omit the argument and run next-gen add, which will launch an interactive prompt that lists all the available recipes.

Don't see your favourite tool/framework and would like it to be added? Just go ahead and create an issue for it!

next-gen's People

Contributors

biowaffeln avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.