Skip to content

Automation tool to install and manage software packages easily using Python.

License

Notifications You must be signed in to change notification settings

denoyey/Auto-Installer-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Ultimate Web Stack Auto-Installer

Python Platform License

A powerful, automated CLI tool built with Python to effortlessly bootstrap your favorite web projects. Say goodbye to repetitive setup commands and hello to instant coding!


✨ Features

  • ⚑ Blazing Fast Setup: Uses modern build tools like Vite for frontend frameworks.
  • πŸ“‚ Smart Organization: Automatically creates and organizes projects into categorized subfolders (e.g., projects/reactjs, projects/laravel).
  • 🧠 Intelligent Dependency Management:
    • Checks for npm, npx, and php before running.
    • Auto-fetches Composer: If you don't have Composer installed globally, the tool automatically downloads composer.phar locally to install Laravel without hassle.
  • πŸ€– Zero-Friction:
    • Bypasses interactive prompts for Next.js, Angular, and NestJS (pre-configured with best practices like TypeScript, Tailwind, etc.).
    • Handles common errors (like PHP extension checks) automatically.
  • πŸ’Ž Always Updated: Forces the installation of the @latest versions for all frameworks.
  • ✨ React Superpowers:
    • "Clean Slate" Mode: Option to automatically remove all default boilerplate (assets, minimal App.jsx, empty CSS) for a fresh start.
    • Auto-Configured Routing: One-click installation of react-router-dom with a pre-built, best-practice flat folder structure (src/pages, src/components, src/routes).
    • Tailwind CSS Ready (Fixed & Optimized):
      • Automatically installs Tailwind CSS v4-ready configuration using @tailwindcss/postcss to prevent Vite plugin errors.
      • Sets Poppins as the default font family (via Google Fonts) automatically.
      • Generates all starter components (Navbar, Footer, Home, NotFound) using Utility Classes instead of inline styles.
    • Animation Ready: Option to install Framer Motion and automatically creates a reusable PageTransition component for smooth page transitions.

πŸ”΄ Laravel Superpowers (NEW!)

Laravel installation now comes with optional add-ons to supercharge your backend development:

🎨 Tailwind CSS via Vite

Get beautiful, utility-first styling out of the box!

Feature Description
One-Click Install Just answer "y" when prompted
Vite Integration Uses @tailwindcss/vite plugin for blazing fast HMR
Auto-Configuration vite.config.js and app.css are automatically configured
Latest Version Always installs the newest Tailwind CSS

What gets configured:

// vite.config.js (auto-generated)
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import tailwindcss from '@tailwindcss/vite';

export default defineConfig({
    plugins: [
        laravel({
            input: ['resources/css/app.css', 'resources/js/app.js'],
            refresh: true,
        }),
        tailwindcss(),
    ],
});
/* resources/css/app.css (auto-generated) */
@import "tailwindcss";

πŸ›‘οΈ Filament Admin Panel

Build stunning admin dashboards in minutes with Filament v4!

Feature Description
Latest Version Automatically installs Filament v4.x
Admin Panel Ready Pre-configured panel at /admin
User Management Create admin users with one command
Full Documentation Links provided after installation

After installation, you'll get:

  • πŸ“ Admin Panel URL: http://localhost:8000/admin
  • πŸ‘€ Create admin user: php artisan make:filament-user
  • πŸ“š Documentation: filamentphp.com/docs

πŸ“‹ Laravel Installation Flow

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  1. Create Laravel Project (via Composer)               β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  2. ⚑ AUTO: npm install (frontend dependencies)        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  3. 🎨 "Install Tailwind CSS (via Vite)?" [y/n]         β”‚
β”‚     └─ If yes: install packages + configure vite        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  4. πŸ›‘οΈ "Install Filament Admin Panel?" [y/n]            β”‚
β”‚     └─ If yes: composer require + artisan install       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  5. βœ… Done! Post-install commands displayed            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ›  Supported Frameworks

Framework Type Installer / Method Optional Add-ons
βš›οΈ React.js Frontend Vite Cleanup, Router, Tailwind, Framer Motion
🟒 Vue.js Frontend Vite -
πŸ”₯ Svelte Frontend Vite -
β–² Next.js Fullstack create-next-app TypeScript, Tailwind, ESLint (auto)
πŸ…°οΈ Angular Frontend @angular/cli -
🦁 NestJS Backend @nestjs/cli -
πŸš‚ Express.js Backend express-generator -
πŸ”΄ Laravel Backend Composer Tailwind CSS, Filament Admin

πŸš€ Getting Started

Prerequisites

Ensure you have the following installed on your system:

Installation & Usage

  1. Clone or Download this repository.
    git clone https://github.com/denoyey/Auto-Installer-Tool.git
    cd Auto-Installer-Tool
  2. Run the tool:
    python main.py
  3. Select your desired framework from the beautiful CLI menu.
  4. Enter your project name.
  5. Answer prompts for optional add-ons (if available).
  6. Done! Your project is ready in the projects/ directory.

πŸ“‚ Project Structure

The tool keeps your workspace clean:

β”œβ”€β”€ πŸ“‚ bin/              # Stores local tools (e.g., composer.phar)
β”œβ”€β”€ πŸ“‚ src/              # Source code modules
β”‚   β”œβ”€β”€ installers.py    # Logic for installing each framework
β”‚   β”œβ”€β”€ menu.py          # Interactive CLI UI
β”‚   └── utils.py         # Helper functions (colors, system checks)
β”œβ”€β”€ πŸ“‚ projects/         # YOUR GENERATED PROJECTS GO HERE
β”‚   β”œβ”€β”€ πŸ“‚ reactjs/
β”‚   β”œβ”€β”€ πŸ“‚ laravel/      # With optional Tailwind + Filament!
β”‚   β”œβ”€β”€ πŸ“‚ nextjs/
β”‚   └── ...
β”œβ”€β”€ main.py              # Entry point script
└── README.md            # You are reading this!

πŸ–Ό Preview

   ___         __           ___          __        
  / _ | __ _  / /__  ___   / _ \ ___  _ / /_       
 / __ |/  ' \/ __/ \/ _ \ / // // _ \/ // __/       
/_/ |_/_/_/_/\__/ \___//____/ \___/\__\__/       
                                                 
      --- AUTO INSTALLER TOOL ---
        
 Select an option:
 [1] Install React.js (Vite)
 [2] Install Laravel
 ...

Laravel with Add-ons Example:

--- Install Laravel ---
Enter project name: my-admin-app
[+] Laravel project 'my-admin-app' created successfully!

[*] Running npm install (Laravel frontend dependencies)...
added 1 package, and audited 2 packages in 3s

Do you want to install Tailwind CSS (via Vite)? (y/n): y
[*] Installing Tailwind CSS via Vite...
[+] Tailwind CSS (via Vite) installed successfully!

πŸ“‹ Tailwind CSS Setup Info:
  β€’ Run: npm run dev (development)
  β€’ Run: npm run build (production)
  β€’ Documentation: https://tailwindcss.com/docs

Do you want to install Filament Admin Panel (latest version)? (y/n): y
[*] Installing Filament Admin Panel (this may take a moment)...
[*] Installing Filament panels...
[+] Filament Admin Panel installed successfully!

πŸ“‹ Filament Setup Info:
  β€’ Admin Panel URL: http://localhost:8000/admin
  β€’ Create admin user: php artisan make:filament-user
  β€’ Documentation: https://filamentphp.com/docs

To get started, run:
  cd projects/laravel/my-admin-app
  php artisan migrate
  php artisan make:filament-user
  php artisan serve

πŸ“¦ What's New

v1.1.0 (Latest)

  • ✨ Laravel Tailwind CSS Integration - Install Tailwind CSS via Vite with one prompt
  • ✨ Laravel Filament Admin Panel - Build admin dashboards instantly
  • πŸ”§ Improved post-install instructions based on selected add-ons
  • πŸ“š Updated documentation with detailed feature explanations

v1.0.0

  • πŸš€ Initial release with 8 framework installers
  • βš›οΈ React.js with cleanup, routing, Tailwind, and Framer Motion options
  • πŸ”΄ Laravel with auto Composer download

🀝 Contributing

Contributions are welcome! Feel free to:

  • πŸ› Report bugs
  • πŸ’‘ Suggest new features
  • πŸ”§ Submit pull requests

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❀️ by denoyey

⭐ Star this repo if you find it useful! ⭐

About

Automation tool to install and manage software packages easily using Python.

Resources

License

Stars

Watchers

Forks

Languages