Ever found yourself wasting time setting up the same C project structure again and again? Annoyed by manually downloading ZIPs from GitHub, extracting them, and renaming folders? 😩
Well, no more! Meet C-Template Installer – a blazing-fast Rust CLI tool that does all of that in seconds. 🔥
- 📥 Downloads a C project template from GitHub
- 📦 Extracts it automatically
- 🚀 Renames it to your project name
- 🧹 Cleans up unnecessary files
All with a single command. 🤯
✅ One-command setup – Just run and start coding 🚀
✅ Superfast execution – Thanks to Rust’s raw speed ⚡
✅ No manual work – No need to visit GitHub, download, unzip, rename, etc. 🛠️
✅ Works on Linux, Mac, and Windows – Just needs curl & tar 🏗️
✅ Lightweight & minimal – Zero unnecessary dependencies
Make sure you have:
✅ Rust installed → Install Rust
✅ curl installed (for downloading)
✅ tar installed (for extracting)
git clone https://github.com/mmycin/C-Template-Installer.git
cd C-Template-Installercargo build --releaseYour compiled binary will be in target/release/c-template-installer. 🎉
cp target/release/c-template-installer /usr/local/bin/c-templateNow, you can use it from anywhere! 🌎
c-template my-awesome-projectThis will:
1️⃣ Download the C template from GitHub
2️⃣ Extract it into my-awesome-project/
3️⃣ Delete unnecessary ZIP files
4️⃣ Leave you ready to start coding immediately! 🚀
c-template hello-worldOutput:
📥 Downloading repository...
✅ Download complete.
📦 Extracting repository...
✅ Extraction complete.
🧹 Cleaning up...
✅ Process completed successfully!
🎉 Your project is ready in 'hello-world/'!
Now, just:
cd hello-world
code .And BOOM, you’re coding in seconds! 💥
This CLI tool performs these steps automatically:
1️⃣ Uses reqwest to download a ZIP from GitHub
2️⃣ Saves it as repo.zip
3️⃣ Extracts it with zip library
4️⃣ Renames the extracted folder
5️⃣ Deletes unnecessary files
⚡ Everything happens in a few milliseconds! ⚡
- You’re tired of manually setting up C projects 😴
- You want to start coding immediately ⏩
- You love automation and hate repetitive tasks 🤖
- You appreciate Rust’s speed and efficiency 🚀
Found a bug? Want to add features? Feel free to contribute!
1️⃣ Fork the repo 🍴
2️⃣ Make your changes 🛠️
3️⃣ Open a Pull Request 🔃
This project is open-source under the MIT License. Feel free to use, modify, and share! 💙
If you’re working with C (or just love cool automation tools), this CLI will save you time and make your life easier. Give it a try, and you’ll never set up a C project manually again! 🚀
🚀 Happy Coding! 💻🔥