Skip to content

Hafeezbaig/ai-research-reports-flask-v1

Repository files navigation

AI Research Report - Python Flask

An AI-powered tool built with Flask that generates clean, professional research summaries based on any topic using real-time articles and Google Gemini.

Features

  • Live Web Scraping – Fetches real-world articles related to any topic
  • AI Summarization (Gemini) – Summarizes articles using Google Gemini API
  • PDF Report Generation – Creates a clean downloadable research report

Tech Stack

  • Flask (Backend)
  • Jinja2 (Templating)
  • HTML + CSS (Dark UI)
  • Google Generative AI
  • duckduckgo-search (for article search)
  • newspaper3k (for article extraction)
  • fpdf (for PDF generation)
  • python-dotenv (for secure key handling)

How to Run

  1. Clone this repository:

  2. Install dependencies:

pip3 install -r requirements.txt
  1. Add your Gemini API key to a .env file:
GEMINI_API_KEY=your-api-key-here
  1. Run the app:
python3 app.py

Then open your browser and go to http://localhost:5000

Contributing

Pull requests and feature suggestions are welcome. You can contribute with code improvements, new features, or UI polish.

License

This project is open source and available under the MIT License.


Crafted with ❤️ by Hafeez Baig

Releases

No releases published

Packages

 
 
 

Contributors