Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projector CLI

Scaffold full-stack projects and custom stacks in seconds with an interactive, powerful CLI tool — designed to supercharge your learning, prototyping, and productivity.


Features

  • Create projects with predefined or user-defined templates
  • Support for full-stack combinations like Go + React, Node.js + TypeScript
  • Build your own templates using a simple step-by-step wizard
  • Auto-generate folders, files, and run shell commands
  • Delete with confirmation
  • Future-ready for remote template sharing via GitHub

Installation

git clone https://github.com/jsndz/projector.git
cd projector
npm install
npm link

Now you can run it from anywhere:

projector

CLI Options

Upon launch, you'll be prompted to choose an action:

? What would you like to do?
  > Create a new project
    Show the templates
    Create templates
    Delete a template

Create a New Project

  1. Select a template (e.g. Go + React, Node + TypeScript)

  2. Enter your project name

  3. The CLI will:

    • Create the folder structure
    • Generate starter files
    • Run all necessary commands
  4. Your project is ready to go!


Create Your Own Templates

Use the Create templates option to build your own stack logic:

  • Define the template name
  • Add template code
  • Save your template to reuse it anytime

Templates are saved under:

templates/
└── my-custom-template.json

Delete a Template

  1. Choose "Delete a template"
  2. Select any user-created template
  3. Confirm deletion

Official templates are protected by default.


Project Structure

projector/
├── bin/
│   └── projector.js              # CLI entry point
├── templates/
│   └── go-react.js
├── .gitignore
├── README.md
└── package.json

Dev Commands

To run locally without linking:

node bin/projector.js

To link globally:

npm link

To unlink:

npm unlink

License

MIT © [Jaison Dsouza]


Contributing

Want to add a template, fix a bug, or suggest an idea?

  1. Fork the repo
  2. Create a new branch
  3. Submit a PR

All contributions welcome!


Inspiration

This tool was built to:

  • Automate my daily full-stack project setup
  • Learn how to architect CLI tools
  • Help others scaffold ideas without boilerplate friction

Feedback

Feel free to open an issue or reach out on X / LinkedIn

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages