Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexandru/news
https://github.com/alexandru/news
atom feeds kotlin rss rss-merge
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexandru/news
- Owner: alexandru
- License: mit
- Created: 2023-01-04T11:20:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-14T04:31:54.000Z (7 months ago)
- Last Synced: 2024-11-09T12:15:21.660Z (2 months ago)
- Topics: atom, feeds, kotlin, rss, rss-merge
- Language: Kotlin
- Homepage: https://news.alexn.org
- Size: 81.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [news.alexn.org](https://news.alexn.org)
[![.github/workflows/deploy.yml](https://github.com/alexandru/news/actions/workflows/deploy.yml/badge.svg)](https://github.com/alexandru/news/actions/workflows/deploy.yml)
Auto-generated RSS/Atom feeds.
## Deployment
Deployment is currently done via Docker, on my own server. Here's the config that I use:
```yaml
version: '3.8'services:
news:
container_name: news
image: 'ghcr.io/alexandru/news:latest'
restart: unless-stopped
healthcheck:
test: ['CMD-SHELL', '/opt/app/healthcheck.sh']
volumes:
- /var/www/news.alexn.org:/opt/app/output
user: "$WWW_UID:$WWW_GID"
environment:
# Execute every 30 minutes (optional value)
- CRON_INTERVAL_SECS=1800
```This setup dumps the output into the `/var/www/news.alexn.org` directory, files which then get served by my local Nginx server.
The only gotcha is that `$WWW_UID` and `$WWW_GID` have to be set, as these will be used for the written files, in order to avoid permission issues (files have to be readable by Nginx).