g0v-domain

Month: 2023-05

2023-05-20

github2 01:12:44

<https://github.com/g0v/domain/pull/51|#51 add rsshub.g0v.tw>

Proposed on g0v Hackathon 44th <https://docs.google.com/spreadsheets/d/1AjdJ4fxErYmYLqgkOGQ7bUsp70wmqBOHxIvjT4AxryU/edit?pli=1#gid=1&amp;range=19:19|https://docs.google.com/spreadsheets/d/1AjdJ4fxErYmYLqgkOGQ7bUsp70wmqBOHxIvjT4AxryU/edit?pli=1#gid=1&amp;range=19:19> More detail: 1. Sync with <https://github.com/DIYgod/RSSHub|upstream repo> via GitHub action "pull". (Manual sync via bash script if GitHub action failed.) 2. Deploy to Heroku by GitHub Webhook. (Roll back automatically if deploy failed.) 3. Service runs as Heroku free dyno instance. (Tested since 2020/6) 4. Service restart by Heroku add-on "Heroku Scheduler" every 10 mins via Heroku api with token. (Sometimes I'll trigger it manually for testing or just for fun XD) 5. Monitor and keep instance alive by UptimeRobot for every 10 mins. 6. Logs send to Papertrail in free tier for debugging. 7. A rotating tor proxy on LKE (Linode Kubernetes Engine). <https://github.com/mattes/rotating-proxy|https://github.com/mattes/rotating-proxy> <https://www.linode.com/products/kubernetes/|https://www.linode.com/products/kubernetes/> 8. Rsshub@heroku forward `.*facebook.*` matched url to rotating_proxy@LKE. With 30000ms timeout and 5 times retry policy. <https://docs.rsshub.app/install/#pei-zhi-dai-li-pei-zhi|https://docs.rsshub.app/install/#pei-zhi-dai-li-pei-zhi>

github2 01:12:44

<https://github.com/g0v/domain/pull/51|#51 add rsshub.g0v.tw>

Proposed on g0v Hackathon 44th <https://docs.google.com/spreadsheets/d/1AjdJ4fxErYmYLqgkOGQ7bUsp70wmqBOHxIvjT4AxryU/edit?pli=1#gid=1&amp;range=19:19|https://docs.google.com/spreadsheets/d/1AjdJ4fxErYmYLqgkOGQ7bUsp70wmqBOHxIvjT4AxryU/edit?pli=1#gid=1&amp;range=19:19> More detail: 1. Sync with <https://github.com/DIYgod/RSSHub|upstream repo> via GitHub action "pull". (Manual sync via bash script if GitHub action failed.) 2. Deploy to Heroku by GitHub Webhook. (Roll back automatically if deploy failed.) 3. Service runs as Heroku free dyno instance. (Tested since 2020/6) 4. Service restart by Heroku add-on "Heroku Scheduler" every 10 mins via Heroku api with token. (Sometimes I'll trigger it manually for testing or just for fun XD) 5. Monitor and keep instance alive by UptimeRobot for every 10 mins. 6. Logs send to Papertrail in free tier for debugging. 7. A rotating tor proxy on LKE (Linode Kubernetes Engine). <https://github.com/mattes/rotating-proxy|https://github.com/mattes/rotating-proxy> <https://www.linode.com/products/kubernetes/|https://www.linode.com/products/kubernetes/> 8. Rsshub@heroku forward `.*facebook.*` matched url to rotating_proxy@LKE. With 30000ms timeout and 5 times retry policy. <https://docs.rsshub.app/install/#pei-zhi-dai-li-pei-zhi|https://docs.rsshub.app/install/#pei-zhi-dai-li-pei-zhi>