{"id":13689298,"url":"https://github.com/luckylittle/predb_me_rss_parser","last_synced_at":"2026-06-09T13:31:16.790Z","repository":{"id":109045820,"uuid":"232682103","full_name":"luckylittle/predb_me_rss_parser","owner":"luckylittle","description":"Golang implementation of the RSS parser for https://predb.me/","archived":false,"fork":false,"pushed_at":"2022-10-12T06:53:57.000Z","size":58,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T17:22:10.631Z","etag":null,"topics":["go","golang","predb","predb-me","rss","rss-feed","xml"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luckylittle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"luckylittle","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2020-01-08T23:43:21.000Z","updated_at":"2022-10-12T06:54:01.000Z","dependencies_parsed_at":"2023-03-13T14:19:12.378Z","dependency_job_id":null,"html_url":"https://github.com/luckylittle/predb_me_rss_parser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/luckylittle/predb_me_rss_parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckylittle%2Fpredb_me_rss_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckylittle%2Fpredb_me_rss_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckylittle%2Fpredb_me_rss_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckylittle%2Fpredb_me_rss_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luckylittle","download_url":"https://codeload.github.com/luckylittle/predb_me_rss_parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckylittle%2Fpredb_me_rss_parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34110011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","predb","predb-me","rss","rss-feed","xml"],"created_at":"2024-08-02T15:01:41.834Z","updated_at":"2026-06-09T13:31:16.758Z","avatar_url":"https://github.com/luckylittle.png","language":"Go","funding_links":["https://github.com/sponsors/luckylittle"],"categories":["golang"],"sub_categories":[],"readme":"# PredB.me RSS feed Parser\n\n[![Build Status](https://travis-ci.org/luckylittle/predb_me_rss_parser.svg?branch=master)](https://travis-ci.org/luckylittle/predb_me_rss_parser)\n[![GitHub license](https://img.shields.io/github/license/luckylittle/predb_me_rss_parser.svg)](https://github.com/luckylittle/predb_me_rss_parser/blob/master/LICENSE)\n[![Version](https://img.shields.io/badge/Version-0.0.1-green.svg)](https://github.com/luckylittle/predb_me_rss_parser/releases)\n[![Go Report Card](https://goreportcard.com/badge/github.com/luckylittle/predb_me_rss_parser)](https://goreportcard.com/report/github.com/luckylittle/predb_me_rss_parser)\n\n\n[Golang](https://golang.org/) implementation of the [RSS feed](https://en.wikipedia.org/wiki/RSS) parser explicitly for the [PreDB.me](https://predb.me/) website (uses minimal Atom 2.0 feed type without pub date).\n\n## Technical details\n\n1. HTTP GET https://predb.me/?rss=1\n\nAn example:\n\n![xml_document_tree.png](img/xml_document_tree.png)\n\n2. Transform `\u003crss xmlns:atom=\"http://www.w3.org/2005/Atom\" version=\"2.0\"\u003e ... \u003c/rss\u003e` into XML struct:\n   - 1x top item `\u003cchannel\u003e ... \u003c/channel\u003e` contains\n   - 40x nested `\u003citem\u003e ... \u003c/item\u003e` items which each contain\n   - 1x `\u003ctitle\u003e ... \u003c/title\u003e` for each item\n\n3. Create a list of the 40 titles, while caching the information of the latest title (first `\u003ctitle\u003e` is the latest)\n\n4. Run steps 1.-3. every `X` minutes\n\n## Example of Usage\n\n- Send daily summary of all CZ/CZECH releases via e-mail:\n\n- `crontab -e`:\n\n```text\nMAILTO=\"\"\n# Get releases every 2 minutes\n*/2 * * * * /home/lmaly/predb | grep -i \"\\.CZ\\.\\|czech\\|\\-CZ\\-\" \u003e\u003e predb_cz```\n```\n\n- `cat /etc/cron.daily/predb`:\n\n```bash\n#!/bin/bash\n\n# Variables\nPREDB_CZ=$(cat /home/lmaly/predb_cz | sort | uniq)\nMAILTO_USER=lmaly\nTODAY=$(date -u)\n\n# Main function\nif [ -z \"$PREDB_CZ\" ]\nthen\n  echo \"PREDB_CZ is empty!\"\nelse\n  echo -e \"FROM: ${MAILTO_USER}\\nTO: ${MAILTO_USER}\\nSubject: Predb.me matches for ${TODAY}\\n\\n${PREDB_CZ}\" | sendmail -t\nfi\n\n# Cleanup\ncat /dev/null \u003e /home/lmaly/predb_cz\n```\n\n## Note:\n\nUnfortunately not all international releases will make it to the main RSS feed. To search specificly for a language section, this feed should be used: https://predb.me/?rss=1\u0026language=czech (or search query https://predb.me/?search=czech\u0026rss=1).\n\nAs an alternative/backup, similar RSS feeds exist - https://predb.ovh/api/v1/rss. Same URL has HTTP REST API for searching: https://predb.ovh/api/v1/?q=foobar.\n\n---\n\n_Last update: Fri May 8 00:08:42 UTC 2020_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluckylittle%2Fpredb_me_rss_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluckylittle%2Fpredb_me_rss_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluckylittle%2Fpredb_me_rss_parser/lists"}