{"id":16641707,"url":"https://github.com/maxim-mazurok/phantomjs-reddit-programmer-humor-parser","last_synced_at":"2026-05-01T22:32:54.216Z","repository":{"id":101138035,"uuid":"125408315","full_name":"Maxim-Mazurok/phantomjs-reddit-programmer-humor-parser","owner":"Maxim-Mazurok","description":"Parse r/ProgrammerHumor from Reddit using PhantomJS in NodeJS","archived":false,"fork":false,"pushed_at":"2020-03-05T09:14:41.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T08:24:54.364Z","etag":null,"topics":["jquery","node-js","nodejs","parser","phantomjs","phantomjs-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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maxim-Mazurok.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-15T18:12:54.000Z","updated_at":"2020-04-04T11:45:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4d02934-a11a-4abe-b3f9-9c99b1dd058b","html_url":"https://github.com/Maxim-Mazurok/phantomjs-reddit-programmer-humor-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Maxim-Mazurok/phantomjs-reddit-programmer-humor-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxim-Mazurok%2Fphantomjs-reddit-programmer-humor-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxim-Mazurok%2Fphantomjs-reddit-programmer-humor-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxim-Mazurok%2Fphantomjs-reddit-programmer-humor-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxim-Mazurok%2Fphantomjs-reddit-programmer-humor-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maxim-Mazurok","download_url":"https://codeload.github.com/Maxim-Mazurok/phantomjs-reddit-programmer-humor-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxim-Mazurok%2Fphantomjs-reddit-programmer-humor-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32515838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["jquery","node-js","nodejs","parser","phantomjs","phantomjs-node","reddit"],"created_at":"2024-10-12T07:47:35.424Z","updated_at":"2026-05-01T22:32:54.192Z","avatar_url":"https://github.com/Maxim-Mazurok.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PhantomJS Reddit ProgrammerHumor Parser\nParse [r/ProgrammerHumor](https://www.reddit.com/r/ProgrammerHumor/) from Reddit \nusing [PhantomJS](https://www.npmjs.com/package/phantom) \nin [NodeJS](https://nodejs.org/),\nsort titles depending on likes and output as a JSON.\n\n**Important**: PhantomJS development is suspended until further notice ([more details](https://github.com/ariya/phantomjs/issues/15344)).\n\n## Getting started\n1. Clone: \n```bash\ngit clone https://github.com/Maxim-Mazurok/phantomjs-reddit-programmer-humor-parser\n```\n2. Install dependencies: \n```bash\ncd phantomjs-reddit-programmer-humor-parser \u0026\u0026 npm install\n```\n3. Run: \n```bash\nnpm start\n```\n4. Example output:\n```JSON\n[\n  {\n    \"likes\": 1900,\n    \"title\": \"When asking that one coworker about their favourite IDE\"\n  },\n  {\n    \"likes\": 2000,\n    \"title\": \"Everybody loves JS. Part 2\"\n  },\n  {\n    \"likes\": 2800,\n    \"title\": \"how to build a horse with Programming\"\n  },\n  {\n    \"likes\": 3000,\n    \"title\": \"#10YearChallenge\"\n  },\n  {\n    \"likes\": 6800,\n    \"title\": \"Wait a second... I did this before...\"\n  },\n  {\n    \"likes\": 50400,\n    \"title\": \"Spotted on GitHub 🤓\"\n  },\n  {\n    \"likes\": 153000,\n    \"title\": \"UML diagram / Source code\"\n  },\n  {\n    \"likes\": 176000,\n    \"title\": \"How to learn programming in one day\"\n  },\n  {\n    \"likes\": 176000,\n    \"title\": \"I was told there would be karma on cake day\"\n  },\n  {\n    \"likes\": 177000,\n    \"title\": \"But if they do it in the movies...\"\n  },\n  {\n    \"likes\": 254000,\n    \"title\": \"somebody did an oopsie\"\n  },\n  {\n    \"likes\": 286000,\n    \"title\": \"Survey for our Upcoming Hackathon\"\n  },\n  {\n    \"likes\": 459000,\n    \"title\": \"REMINDER: This is NOT a general tech humor subreddit\"\n  },\n  {\n    \"likes\": 802000,\n    \"title\": \"And what was your first step?\"\n  },\n  {\n    \"likes\": 913000,\n    \"title\": \"Truly a miracle\"\n  }\n]\n```\n\n## TODO:\n- [ ] Use promises to wait for jQuery to load, or get rid of it\n- [ ] Make it less spaghetti, probably create helper functions\n- [ ] Create an HTML-output demo\n- [ ] Deploy demo to [Heroku](https://heroku.com)\n\n\n## Disclaimer:\nThis project was created only in educational purposes.\n\nIt may not work later, if Reddit changes their HTML markup.\n\n---\n\"Reddit\" is a [registered trademark](https://trademarks.justia.com/864/21/reddit-86421757.html) \nof [Reddit Corporation](https://www.reddit.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim-mazurok%2Fphantomjs-reddit-programmer-humor-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxim-mazurok%2Fphantomjs-reddit-programmer-humor-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim-mazurok%2Fphantomjs-reddit-programmer-humor-parser/lists"}