Talecraft is a Flask app that uses the GroqCloud API to generate imaginative stories for children based on user input such as title, theme, place, and prompts about characters and settings.
- Flask
- HTML
- Matcha.css
- π Authentication (authN)
- π Create, view, and delete stories
- π€ Generate stories using AI
- π Search stories
- βοΈ Update stories
- π Story Hub for sharing cool stories
Clone the repository:
git clone https://.com/pheonix-coder/TaleCraft
Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
Install requirements:
pip install -r requirements.txt
Initialize the database:
flask db init flask db migrate flask db upgrade
Set Up API key:
- Obtain a Groq API key and add it to your .env file (see .env.example for reference).
Run the application:
python run.py
This project is a submission to Quira Quest 16.