Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Generator

A CLI tool to quickly scaffold project templates for Flask, Rust (Cargo), and Frontend (HTML/CSS/JS).


Prerequisites — Install Rust & Cargo

Linux / macOS

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Then restart your terminal or run:

source $HOME/.cargo/env

Windows

Download and run the installer from the official page:
https://www.rust-lang.org/tools/install

Follow the on-screen instructions. This installs both rustup, rustc, and cargo.

Verify the installation:

rustc --version
cargo --version

Installation

1. Clone the repository

git clone https://github.com/DankDown10256/rust_project_templates_generator/

2. Enter the directory

cd rust_project_templates_generator

3. Build the project

cargo build --release

4. Run the tool

cargo run

Add to PATH as project-gen

To run the tool from anywhere with the command project-gen:

Linux / macOS

sudo cp target/release/project_generator /usr/local/bin/project-gen

You can now run it from any directory:

project-gen

Windows (PowerShell — run as Administrator)

Copy-Item "target\release\project_generator.exe" "C:\Windows\System32\project-gen.exe"

Or, alternatively, add the target\release\ folder to your PATH environment variable:

  1. Open System PropertiesEnvironment Variables
  2. Under User variables, select Path and click Edit
  3. Click New and add the full path to target\release\
  4. Click OK and restart your terminal

Then create an alias or rename the binary to project-gen.exe.


Usage

When launched, the tool displays available templates:

Available projects templates :
Flask
Rust (cargo)
frontend (html, css, js)

Pick a template, enter a project name, and the files are generated instantly.

Contribution/Feedbacks

All feedbacks are welcome. If you want to help to upgrade this project you can contribute by checking the rules here CONTRIBUTING.md.

About

A projects templates generator build in rust to help developers to create a file tree in second

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages