Skip to content

AutoCSS-GPT is a Django web application that generates CSS and HTML code from user prompts, empowering developers and designers to create stunning designs quickly and efficiently. πŸš€

Notifications You must be signed in to change notification settings

mightyshibbu/AutoCssGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

AutoCSS-GPT 🎨✨

AutoCSS-GPT is a Django web application that generates CSS and HTML code from user prompts, empowering developers and designers to create stunning designs quickly and efficiently. πŸš€


Home Page 🏠

Home Page Screenshot

Features 🌟

  • Interactive UI: Enter your prompt and instantly generate code.
  • Output Configurations: Choose your desired format: CSS, SCSS, or LESS.
  • Responsive Design: Works seamlessly across all screen sizes.
  • Spinner Feedback: Displays a loading spinner while generating code.
  • Typewriter Effect: Engaging placeholder animation for user input.

Installation πŸ› οΈ

Follow these steps to set up the project locally:

Prerequisites πŸ“‹

  • Python 3.8+
  • Django 4.0+
  • Node.js (optional, for frontend bundling if required)

Steps πŸšΆβ€β™‚οΈ

  1. Clone the repository:

    git clone https://github.com/your-username/autocss-gpt.git
    cd autocss-gpt
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run database migrations:

    python manage.py migrate
  5. Start the development server:

    python manage.py runserver
  6. Open the application in your browser: Visit http://127.0.0.1:8000/ 🌐


Usage πŸ“–

  1. Enter your design prompt in the input box.
  2. Choose the output type (CSS, SCSS, or LESS) from the configuration panel.
  3. Click the "Submit" button to generate the code.
  4. View the generated code in the output section.
  5. Copy and paste the generated code into your project. βœ‚οΈ

Project Structure πŸ—οΈ

β”œβ”€β”€ autocss_gpt/
β”‚   β”œβ”€β”€ settings.py      # Django settings
β”‚   β”œβ”€β”€ urls.py          # URL routing
β”‚   β”œβ”€β”€ models.py        # Database models
β”‚   β”œβ”€β”€ views.py         # Request handling
β”œβ”€β”€ templates/
β”‚   └── index.html       # Main HTML template
β”œβ”€β”€ static/
β”‚   β”œβ”€β”€ css/             # Static CSS files
β”‚   β”œβ”€β”€ js/              # Static JavaScript files
└── manage.py            # Django management script

Contributing 🀝

Contributions are welcome! πŸŽ‰ To contribute:

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature-name).
  3. Commit your changes (git commit -m 'Add feature').
  4. Push to the branch (git push origin feature-name).
  5. Open a pull request.

Acknowledgments πŸ™Œ

  • OpenAI for inspiring the AI-driven approach.
  • Django for being an awesome web framework.
  • You, for using AutoCSS-GPT! ❀️

Screenshots πŸ“Έ


Contact πŸ“¬

For any questions or feedback, feel free to reach out:

Enjoy coding with AutoCSS-GPT! πŸŽ‰

About

AutoCSS-GPT is a Django web application that generates CSS and HTML code from user prompts, empowering developers and designers to create stunning designs quickly and efficiently. πŸš€

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published