Skip to content

Repository files navigation

🤖 LearnSphere AI

An AI-powered learning assistant built with Streamlit and the OpenRouter API to help students learn concepts, prepare for interviews, summarize notes, generate quizzes, and analyze PDF documents—all in one place.


🌐 Live Demo

🔗 Streamlit App: https://learnsphere-ai-uvufmm9zucirhwfx9kakjr.streamlit.app/

✨ Features

📘 Learn

  • Explain concepts in a simple and structured way
  • Generate real-life examples
  • Create quizzes
  • Generate learning roadmaps
  • Ask AI any learning-related question

💼 Interview Preparation

  • Generate interview questions
  • Beginner, Intermediate, and Advanced level preparation
  • Custom number of interview questions

📝 Notes

  • Summarize notes
  • Generate flashcards
  • Create personalized study plans

📄 PDF Tools

  • Upload PDF documents
  • Extract and process PDF content
  • Generate AI summaries
  • Create quizzes from PDFs
  • Generate flashcards from PDFs
  • Generate interview questions from PDFs

⚙️ Learning Resources

  • Get curated learning resources for any topic
  • Recommended documentation
  • Books
  • Courses
  • Practice platforms

🛠️ Tech Stack

  • Python
  • Streamlit
  • OpenRouter API
  • PyPDF2
  • Requests
  • CSS

📂 Project Structure

LearnSphere AI/
│── app.py
│── prompts.py
│── utils.py
│── pdf_utils.py
│── style.css
│── requirements.txt
│── README.md

🚀 Installation

1. Clone the repository

git clone https://github.com/yourusername/LearnSphere AI.git

2. Open the project

cd LearnSphere AI

3. Install dependencies

pip install -r requirements.txt

4. Configure your API key

Create the following file:

.streamlit/secrets.toml

Add:

OPENROUTER_API_KEY="YOUR_API_KEY"

5. Run the application

streamlit run app.py

📸 Screenshots

🏠 Dashboard

Dashboard


📘 Learn Module

Learn Module


💼 Interview Preparation

Interview Preparation


📝 Notes Summarizer

Notes Summarizer


📄 PDF Tools

PDF Tools


📚 Learning Resources

Learning Resources

---

💡 Future Enhancements

  • AI Chat History
  • Export responses as PDF
  • Voice Input
  • OCR support for scanned PDFs
  • Multiple AI model selection
  • Dark/Light theme switch
  • User authentication

🤝 Contributing

Contributions, suggestions, and feature requests are welcome.

Feel free to fork this repository and submit a pull request.


📄 License

This project is licensed under the MIT License.


👩‍💻 Author

Tanushka Devabattula

If you found this project helpful, consider giving it a ⭐ on GitHub.

About

AI-powered learning assistant built with Streamlit and OpenRouter API featuring concept explanations, quizzes, interview preparation, notes summarization, flashcards, study planning, and PDF learning tools.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages