````markdown
# π° SmartNews Kenya π°πͺ
**SmartNews Kenya** is a modern Flask web app that scrapes trending Swahili articles from top Kenyan news websites and displays them in a clean, categorized, and mobile-friendly interface. Built with Python, HTML, CSS, and JavaScript β this project aims to make it easier to access the latest verified local news.
---
## β¨ Features
- π° Live news scraping from:
- Tuko
- Citizen Digital
- Nation Africa
- π Dark mode toggle
- π₯ Trending badges
- π§ Filter by category (Politics, Entertainment, etc.)
- πΌοΈ OG image previews from article metadata
- π§βπΌ Admin panel to manually post stories
- ποΈ Slideshow headline feature (in progress)
- π± Responsive for mobile and desktop
---
## π Getting Started
### Prerequisites
- Python 3.8+
- pip (Python package manager)
- Git
### Installation
```bash
# Clone the repository
git clone
github.com
cd SmartNews-Kenya
# Install dependencies
pip install -r requirements.txt
# Run the Flask app
python main.py
````
Then open your browser and go to:
`
127.0.0.1`
---
## π WakaTime Badge Style Customization
You can customize the badge appearance by appending a `?style=` query:
```markdown
```
### Supported styles:
* `default`
* `plastic`
* `flat`
* `flat-square`
* `for-the-badge`
* `social`
---
## π οΈ Tech Stack
* **Backend:** Flask (Python)
* **Frontend:** HTML, CSS, JS
* **Scraping:** Requests, BeautifulSoup
* **Storage:** JSON (for local data), ready for DB upgrade
---
## π¨π½βπ» Author
**Michael Karina**
π Kenya
π GitHub Profile
---
## π License
This project is licensed under the MIT License.
---
> SmartNews Kenya β Bringing verified news closer to Kenyans π°πͺ
```
---
β
Let me know if you'd like a `LICENSE`, `requirements.txt`, or a sample `main.py` to go with this `README.md`.
```