create-kapp v2.3.0
KAPP - Kickstart Your Project with Ease š
KAPP is a CLI tool designed to help you quickly set up your projects using pre-defined templates. Whether you're starting a new Next.js app, Discord bot, or any general project, KAPP has got you covered with streamlined setup, customization, and user-friendly interactions.
npm i create-kapp@latest -g
Features š
- Template Categories: Choose from categories such as Next.js, Discord.js, and General.
- Quickstart Templates: Select predefined project templates like NextTemplate, APITemplate, DJS14Template, and more.
- Interactive UI: Styled UI powered by prompts and kolorist for a smooth and visually appealing experience.
- Hyperlinks: Clickable links to helpful resources like GitHub repositories and websites.
- Customization: Easily extend KAPP by adding new templates and options.
Getting Started š ļø
Prerequisites
Installation
Clone the repository:
git clone https://github.com/kars1996/create-kapp.git cd kapp-cli
Install the required dependencies:
npm install
Compile the TypeScript code:
npm run build
Optionally, link the CLI globally (recommended for easier access):
npm link
Usage
Once the CLI is installed, you can start using KAPP to initialize your projects:
Start the CLI by running:
create-kapp
Follow the prompts to select your template category and template, and provide a file path for your project.
Watch as KAPP downloads and initializes the template for you!
Customizing Templates š§©
KAPP is designed to be flexible and easy to extend. To add new templates:
- Navigate to
src/index.ts
. - Add your new template to the
templateOptions
object under the appropriate category. - Customize the prompts and project initialization logic as needed.
File Structure
kapp-cli/
āāā src/
ā āāā download.ts # Handles downloading and extracting project templates.
ā āāā index.ts # Main CLI logic and user interaction.
ā āāā ui.ts # Custom UI elements and interactions.
āāā package.json # NPM dependencies and scripts.
āāā tsconfig.json # TypeScript configuration.
āāā README.md # Project documentation (you are here).
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago