This project is an AI-Powered Content Generator web application built with Django and Python. The application allows users to generate content based on a topic and desired tone. The front end is styled using Bootstrap for a modern, responsive design, and JavaScript is used for form validation and interactivity.
- Topic-Based Content Generation: Users can input a topic, and the AI will generate content related to that topic.
- Tone Selection: Users can choose the tone of the generated content (Formal, Casual, or Informative).
- Responsive Design: The form and interface are fully responsive, ensuring a seamless experience on all devices.
- Client-Side Validation: JavaScript is used to ensure the topic field is filled before submission.
- Django: A high-level Python web framework that encourages rapid development and clean, pragmatic design.
- Python: The programming language used for backend logic and AI content generation.
- Bootstrap: A powerful front-end framework for faster and easier web development with a focus on responsive design.
- JavaScript: Enhances user experience by providing form validation and interactivity.
To get started with the project, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/ai-powered-content-generator.git
-
Navigate to the project directory:
cd ai-powered-content-generator
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the required packages:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Run the server:
python manage.py runserver
-
Access the application:
- Open your web browser and navigate to
http://127.0.0.1:8000
.
- Open your web browser and navigate to
- Enter a topic in the "Topic" field.
- Select the tone of the content from the dropdown menu.
- Click the "Generate Content" button.
- The AI will process the request and generate content based on your input.
Contributions are welcome! Please feel free to submit a pull request or open an issue to discuss any changes or improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries or support, please contact:
- Ahmed Hussain - [email protected]