{"id":26231344,"url":"https://github.com/sainathadapa/generate-rss-feed","last_synced_at":"2025-10-29T13:35:35.238Z","repository":{"id":17463307,"uuid":"81460373","full_name":"sainathadapa/generate-rss-feed","owner":"sainathadapa","description":"Generate a feed with posts from Reddit, HackerNews and other RSS/Atom feeds","archived":false,"fork":false,"pushed_at":"2022-12-08T00:51:16.000Z","size":21,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T08:47:29.032Z","etag":null,"topics":["python","reddit","rss-feed"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sainathadapa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-09T14:47:30.000Z","updated_at":"2018-03-29T13:45:49.000Z","dependencies_parsed_at":"2023-01-11T20:26:39.039Z","dependency_job_id":null,"html_url":"https://github.com/sainathadapa/generate-rss-feed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sainathadapa%2Fgenerate-rss-feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sainathadapa%2Fgenerate-rss-feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sainathadapa%2Fgenerate-rss-feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sainathadapa%2Fgenerate-rss-feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sainathadapa","download_url":"https://codeload.github.com/sainathadapa/generate-rss-feed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243312621,"owners_count":20271157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["python","reddit","rss-feed"],"created_at":"2025-03-12T23:31:34.086Z","updated_at":"2025-10-29T13:35:30.204Z","avatar_url":"https://github.com/sainathadapa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"The python script in this repository generates a Atom feed with\n- Top posts from Reddit\n- Top posts from HackerNews\n- Posts from other RSS/Atom feeds\n\n--------\n\nReasons for writing this script:\n1. Want to use Feedly as a single point for browsing through 'interesting' posts\n2. Do not want to look at posts in Reddit/HackerNews which have zero comments\n3. Do not want to look at posts which I have already seen (This happens with Google News feeds. If a particular topic does not have new news stories frequently, I keep seeing the same new stories again and again).\n\nDirectly adding Sub-Reddits, HackerNews or Google News in Feedly, does not solve the issue of not wanting to see the zero comments posts, or repeated posts. Hence wrote a simple script to achieve my goals.\n\n---------\n\nInstructions:\n1. Install the following python modules:\n   - praw\n   - feedgen\n   - hackernews-python\n   - numpy\n   - pandas\n   - tzlocal\n2. Edit the config file (Description of the config file below)\n3. Run the script by invoking the command `python3 generate_feed.py config.json`\n4. Run the script periodically, by adding to cron\n\n--------\n\nConfig file description:\n- `subreddits` : Specify the list of subreddits from which to gather the posts. Each element here is a key-value pair, with the key being the subreddit name, and the value being the time filter that needs to be used (all, day, hour, month, week, year).\n- `reddit_credentials`: Specify the reddit access credentials. Look [here](https://praw.readthedocs.io/en/latest/getting_started/authentication.html) to know how to acquire access codes.\n- `reddit_min_comments`: Only add posts with the number of comments greater than this value.\n- `reddit_num_posts`: Number of posts to gather from each subreddit\n- `feed_sources`: Specify RSS feed urls from which to gather posts from\n- `add_hn_entries`: true if posts from HackerNews need to be acquired\n- `hn_num_posts`: Only add posts with the number of comments greater than this value\n- `max_items_feed`: Maximum number of items in the generated feed\n- `cache_path`: Location where the cached data can be stored\n- `feed_url`: URL to the location where the generated feed will be published\n- `save_path`: Location where the generated feed file needs to be saved\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsainathadapa%2Fgenerate-rss-feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsainathadapa%2Fgenerate-rss-feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsainathadapa%2Fgenerate-rss-feed/lists"}