{"id":16012252,"url":"https://github.com/joenas/node-top-reddit","last_synced_at":"2026-04-25T11:32:15.559Z","repository":{"id":40334641,"uuid":"412733381","full_name":"joenas/node-top-reddit","owner":"joenas","description":"Fetch Reddit feeds, pick posts matching your desired amount of upvotes, filter out duplicates and post a webhook","archived":false,"fork":false,"pushed_at":"2023-07-19T04:32:39.000Z","size":248,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-18T12:46:04.185Z","etag":null,"topics":["cronjob","node","reddit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/joenas.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":"2021-10-02T08:12:04.000Z","updated_at":"2021-10-27T19:28:35.000Z","dependencies_parsed_at":"2024-10-30T16:51:25.673Z","dependency_job_id":null,"html_url":"https://github.com/joenas/node-top-reddit","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.4642857142857143,"last_synced_commit":"f3d8990a88cb947b8dcd5a723c414c2d489e5800"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/joenas/node-top-reddit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joenas%2Fnode-top-reddit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joenas%2Fnode-top-reddit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joenas%2Fnode-top-reddit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joenas%2Fnode-top-reddit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joenas","download_url":"https://codeload.github.com/joenas/node-top-reddit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joenas%2Fnode-top-reddit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32261056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: 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":["cronjob","node","reddit"],"created_at":"2024-10-08T14:02:21.441Z","updated_at":"2026-04-25T11:32:15.543Z","avatar_url":"https://github.com/joenas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Top Reddit\n\nFetch Reddit feeds, pick posts matching your desired amount of upvotes, filter out duplicates and post a webhook (currently compatible with [matrix-appservice-webhooks](https://github.com/turt2live/matrix-appservice-webhooks/)).\n\nAll the jobs will currently run at a 15 minute interval.\n\n## Getting started\n\n### Install dependencies\n\n```bash\nyarn install\n```\n\n### Set up environment variables\n\n```bash\ncp .env.example .env\n# edit file\n```\n\n### Configuration\n\n```yaml\n- name: 'worldnews'\n  url: 'https://www.reddit.com/r/worldnews.json?limit=1'\n  minCount: 15\n  webhookUrl: 'https://example.com'\n  displayName: WorldNews\n```\n\nThere's an example file available\n\n```bash\ncp config/reddit.yml.example config/reddit.yml\n```\n\n### Start server\n\n```bash\nyarn dev\n```\n\n### Docker\n\nTo test the Dockerfile you need to build the image. Also make sure the database is up (`docker-compose up -d`)\n\n```bash\ndocker build -t top-reddit .\n```\n\nIf you changed any of the entries in `.env` you might have to change them here as well.\n\n```bash\ndocker run --rm \\\n    -e NODE_ENV=development \\\n    -e TZ=Europe/Stockholm \\\n    -e REDIS_URL=redis://localhost:6379 \\\n    top-reddit\n```\n\n### Dokku\n\nThe app is prepared to deploy with dokku. The config file can be mounted with [persistant storage](https://github.com/dokku/dokku/blob/master/docs/advanced-usage/persistent-storage.md#usage).\nSince we're using a Dockerfile you also need to go through [these steps](https://github.com/dokku/dokku-letsencrypt#dockerfile-deploys).\n\n### TODO\n\n- [ ] webhook templates\n- [ ] cron schedule in config\n- [ ] other integrations?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoenas%2Fnode-top-reddit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoenas%2Fnode-top-reddit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoenas%2Fnode-top-reddit/lists"}