{"id":36446533,"url":"https://github.com/chiragsoni81245/codeforces-rss","last_synced_at":"2026-01-11T22:46:17.420Z","repository":{"id":279076899,"uuid":"937657845","full_name":"chiragsoni81245/codeforces-rss","owner":"chiragsoni81245","description":"Its a rss feed generator written in go, for codeforces questions of specific rating range and filtered with tags","archived":false,"fork":false,"pushed_at":"2025-03-16T01:32:24.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T11:17:11.679Z","etag":null,"topics":["codeforces","golang","rss","rss-feed"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chiragsoni81245.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-02-23T15:49:45.000Z","updated_at":"2025-03-16T01:32:27.000Z","dependencies_parsed_at":"2025-02-23T16:42:11.876Z","dependency_job_id":null,"html_url":"https://github.com/chiragsoni81245/codeforces-rss","commit_stats":null,"previous_names":["chiragsoni81245/codeforces-rss"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chiragsoni81245/codeforces-rss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragsoni81245%2Fcodeforces-rss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragsoni81245%2Fcodeforces-rss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragsoni81245%2Fcodeforces-rss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragsoni81245%2Fcodeforces-rss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chiragsoni81245","download_url":"https://codeload.github.com/chiragsoni81245/codeforces-rss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragsoni81245%2Fcodeforces-rss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["codeforces","golang","rss","rss-feed"],"created_at":"2026-01-11T22:46:16.914Z","updated_at":"2026-01-11T22:46:17.415Z","avatar_url":"https://github.com/chiragsoni81245.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codeforces RSS Feed Generator\n\n## Overview\n`codeforces-rss` is a lightweight Go-based service that generates an RSS feed with random Codeforces problems based on specified **tags** and **difficulty ratings**. The feed can be consumed by any RSS reader, such as [FreshRSS](https://freshrss.org/), allowing you to receive daily problem recommendations for consistent practice.\n\n## Features\n✅ Fetches **random** Codeforces problems based on given tags and rating range.  \n✅ Exposes an **RSS feed endpoint** (`/rss`).  \n✅ Customizable **tags, minimum \u0026 maximum rating** via environment variables.  \n✅ Lightweight and **Docker-ready** for easy deployment.  \n\n## Installation\n\n### 1️⃣ Clone the Repository\n```sh\ngit clone https://github.com/yourusername/codeforces-rss.git\ncd codeforces-rss\n```\n\n### 2️⃣ Install Dependencies\n```sh\ngo mod tidy\n```\n\n### 3️⃣ Run Locally\n```sh\nexport CF_TAGS=\"dp,graphs\"\nexport CF_MIN_RATING=\"800\"\nexport CF_MAX_RATING=\"1500\"\ngo run cmd/rss-server/main.go\n```\n\n### 4️⃣ Test RSS Feed\n```sh\ncurl http://localhost:8080/rss\n```\n\n## Configuration\nThe service uses **environment variables** for configuration:\n\n| Environment Variable  | Description | Default |\n|----------------------|-------------|---------|\n| `CF_TAGS`           | Comma-separated list of Codeforces tags (e.g., `dp,greedy`) | `dp,graphs` |\n| `CF_MIN_RATING`     | Minimum problem rating | `800` |\n| `CF_MAX_RATING`     | Maximum problem rating | `1500` |\n\nAlternatively, a fallback configuration file exists at `config/config.json`.\n\n## Docker Deployment\n\n### 1️⃣ Build Docker Image\n```sh\ndocker build -t codeforces-rss .\n```\n\n### 2️⃣ Run the Container\n```sh\ndocker run -d --name cf-rss \\\n  -e CF_TAGS=\"dp,greedy\" \\\n  -e CF_MIN_RATING=\"900\" \\\n  -e CF_MAX_RATING=\"1600\" \\\n  -p 8080:8080 \\\n  codeforces-rss\n```\n\n### 3️⃣ Test RSS Feed\n```sh\ncurl http://localhost:8080/rss\n```\n\n## Docker Compose (Optional)\n\nCreate a `docker-compose.yml` file:\n\n```yaml\nversion: '3.8'\nservices:\n  rss-server:\n    build: .\n    container_name: cf-rss\n    environment:\n      - CF_TAGS=dp,greedy\n      - CF_MIN_RATING=900\n      - CF_MAX_RATING=1600\n    ports:\n      - \"8080:8080\"\n    restart: unless-stopped\n```\n\nRun it with:\n```sh\ndocker-compose up -d\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchiragsoni81245%2Fcodeforces-rss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchiragsoni81245%2Fcodeforces-rss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchiragsoni81245%2Fcodeforces-rss/lists"}