help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
news-summary-bot
RSK World
news-summary-bot
News Summary Bot - Python + Flask + OpenAI + NewsAPI + AI Summarization + Real-time News + News Aggregation
news-summary-bot
  • __pycache__
  • static
  • templates
  • .env459 B
  • .gitignore761 B
  • GITHUB_RELEASE_SUMMARY.md3.7 KB
  • INSTALLATION.md2.7 KB
  • PROJECT_SUMMARY.md9.5 KB
  • README.md11.4 KB
  • RELEASE_NOTES_v1.0.0.md6.7 KB
  • admin.py7.6 KB
  • analytics.py11 KB
  • app.py14.1 KB
  • auth.py15 KB
  • cache.py11.1 KB
  • export.py14.2 KB
  • news_bot.py4.7 KB
  • requirements.txt286 B
  • search.py16.8 KB
  • security.py14.4 KB
INSTALLATION.md
INSTALLATION.md
Raw Download

INSTALLATION.md

# Installation Guide - News Summary Bot

## Developer Information
- **Developer:** Molla Samser
- **Design & Testing:** Rima Khatun
- **Company:** RSK World
- **Website:** [https://rskworld.in](https://rskworld.in)
- **Contact:** +91 93305 39277 | info@rskworld.com
- **Address:** Nutanhat, Mongolkote, Purba Burdwan, West Bengal, India, 713147
- **Year:** 2026

## Prerequisites
- Python 3.8 or higher
- pip (Python package manager)
- Valid API keys for NewsAPI and OpenAI

## Step-by-Step Installation

### 1. Clone the Repository
```bash
git clone <repository-url>
cd news-summary-bot
```

### 2. Create Virtual Environment
```bash
python -m venv venv
# On Windows
venv\Scripts\activate
# On Mac/Linux
source venv/bin/activate
```

### 3. Install Dependencies
```bash
pip install -r requirements.txt
```

### 4. Configure Environment Variables
Create a `.env` file with your API keys:
```env
NEWS_API_KEY=your_newsapi_org_key
OPENAI_API_KEY=your_openai_api_key
PORT=5000
DEBUG=True
```

### 5. Run the Application
```bash
python app.py
```

### 6. Access the Application
- **Main Page:** http://localhost:5000
- **Demo Interface:** http://localhost:5000/demo

## API Endpoints

### Fetch News
- **GET** `/api/news?category={category}&q={query}`
- Categories: general, business, technology, entertainment, health, science, sports

### Summarize Article
- **POST** `/api/summarize`
- Body: `{"content": "article text", "language": "English"}`

### Analyze Sentiment
- **POST** `/api/analyze`
- Body: `{"content": "article text"}`

### Check Reliability
- **POST** `/api/reliability`
- Body: `{"content": "article text"}`

## Features
- ✅ Real-time news fetching from multiple sources
- ✅ AI-powered article summarization
- ✅ Multi-language summary support
- ✅ Category-based news filtering
- ✅ Sentiment analysis
- ✅ Reliability scoring
- ✅ Voice search capability
- ✅ PDF export functionality
- ✅ Bookmark/favorites system
- ✅ Mobile responsive design

## Technologies Used
- **Backend:** Python Flask
- **AI/NLP:** OpenAI GPT-3.5 Turbo
- **News API:** NewsAPI.org
- **Frontend:** HTML5, CSS3, JavaScript
- **Styling:** Glassmorphism design
- **Icons:** Font Awesome 6.0

## Troubleshooting

### Common Issues
1. **API Key Errors:** Ensure valid API keys in `.env` file
2. **Port Conflicts:** Change PORT in `.env` if needed
3. **CORS Issues:** Ensure flask-cors is installed
4. **Import Errors:** Run `pip install -r requirements.txt` again

### Support
For technical support:
- Email: support@rskworld.in
- Phone: +91 93305 39277
- Website: https://rskworld.in

---
&copy; 2026 RSK World. All rights reserved.
Developed by Molla Samser | Design & Testing by Rima Khatun

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer