Skip to content

Priya-Rathor/AICheatSheetCreater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– AICheatSheetCreater

AICheatSheetCreater is an AI-powered web application that allows users to generate customizable cheat sheets on any topic. Built with a modern tech stack including React for frontend, Flask for backend, and integrated with advanced AI models, it enables efficient summarization and organization of complex topics in a clean and printable format.


πŸš€ Features

  • πŸ” AI-Powered Topic Understanding – Uses advanced language models to understand the topic and generate relevant content.
  • πŸ“ Custom Cheat Sheet Generator – Automatically creates concise, structured cheat sheets.
  • 🧠 Flexible AI Integration – Plugged into LLMs like OpenAI/Groq/Huggingface for intelligent content generation.
  • 🌐 Full-Stack App – Complete with frontend (React + Tailwind), backend (Flask), and database (MongoDB).
  • 🎨 Responsive UI – Clean, responsive interface suitable for desktop and mobile.
  • πŸ“ Download/Print Option – Users can download or print their cheat sheets.

🧱 Tech Stack

Layer Technology
Frontend React.js, Tailwind CSS
Backend Flask, Flask-CORS
AI Models OpenAI, Groq, Huggingface
Database MongoDB
Hosting/Dev Vite, GitHub

πŸ“ Project Structure


AICheatSheetCreater/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ app.py
β”‚   β”œβ”€β”€ routes/
β”‚   └── models/
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   └── App.jsx
β”‚   └── public/
β”œβ”€β”€ .env
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ package.json
└── README.md


πŸ› οΈ Installation

Backend Setup (Flask)

cd backend
python -m venv venv
source venv/bin/activate  # or venv\Scripts\activate on Windows
pip install -r requirements.txt
python app.py

Frontend Setup (React)

cd frontend
npm install
npm run dev

πŸ”‘ Environment Variables

Create a .env file in the backend with:

OPENAI_API_KEY=your_openai_key
MONGO_URI=your_mongodb_uri

πŸ”— API Endpoints

Method Endpoint Description
POST /generate Generate cheat sheet from topic
POST /feedback Submit feedback on generated sheet
GET /healthcheck Check API health

🎯 Use Cases

  • Study preparation for students
  • Quick tech reference for developers
  • Interview prep with structured summaries
  • Note-taking assistant for researchers

πŸ§ͺ Testing

Use Postman or Curl:

curl -X POST http://localhost:5000/generate -H "Content-Type: application/json" -d '{"topic": "LLMs"}'

πŸ™‹β€β™€οΈ Author

Priya Rathor πŸ“¬ GitHub Profile


πŸ“Œ Future Improvements

  • Add topic-specific formatting templates
  • Export to PDF feature
  • User authentication and save history
  • Multilingual cheat sheet generation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published