A CLI tool to quickly scaffold project templates for Flask, Rust (Cargo), and Frontend (HTML/CSS/JS).
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shThen restart your terminal or run:
source $HOME/.cargo/envDownload 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 --versiongit clone https://github.com/DankDown10256/rust_project_templates_generator/cd rust_project_templates_generatorcargo build --releasecargo runTo run the tool from anywhere with the command project-gen:
sudo cp target/release/project_generator /usr/local/bin/project-genYou can now run it from any directory:
project-genCopy-Item "target\release\project_generator.exe" "C:\Windows\System32\project-gen.exe"Or, alternatively, add the target\release\ folder to your PATH environment variable:
- Open System Properties → Environment Variables
- Under User variables, select
Pathand click Edit - Click New and add the full path to
target\release\ - Click OK and restart your terminal
Then create an alias or rename the binary to project-gen.exe.
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.
All feedbacks are welcome. If you want to help to upgrade this project you can contribute by checking the rules here CONTRIBUTING.md.