https://github.com/offren/feed-generator-repo-front-and-back
https://github.com/offren/feed-generator-repo-front-and-back
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/offren/feed-generator-repo-front-and-back
- Owner: Offren
- Created: 2024-11-05T22:44:59.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T05:04:38.000Z (5 months ago)
- Last Synced: 2025-01-02T21:32:02.762Z (4 months ago)
- Language: Python
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Feed Generator Repository
Private repository that generates RSS feeds for free games, courses and DLC.
## Repository Structure
```
feed-generator-repo/
├── .github/
│ └── workflows/
│ └── generate-feeds.yml # GitHub Actions workflow
├── public/
│ └── feeds/ # Generated XML feeds directory
│ └── index.html # Feed directory page with webhook management
├── main.py # Main script
├── config.py # Configuration settings
├── feed_generator.py # Feed generation logic
├── feed_processor.py # Feed processing logic
├── gamerpower_processor.py # GamerPower-specific processing
├── webhook_manager.py # Webhook notification system
├── utils.py # Utility functions
├── requirements.txt # Python dependencies
└── README.md # This file
```## Setup
1. Create a private GitHub repository
2. Clone the repository
3. Install dependencies: `pip install -r requirements.txt`
4. Set up GitHub secrets:
- `GITHUB_TOKEN`: Personal access token with 'repo' scope## GitHub Actions
The workflow runs every 4 hours and:
1. Generates RSS feeds
2. Creates redirect versions
3. Compresses XML files
4. Maintains 7-day feed history
5. Pushes changes to repository## Development
- Feeds are stored in `public/feeds/`
- Each feed has a regular and redirect version
- Webhooks can be configured through `index.html`
- XML files are tracked in git for history