{"id":13462059,"url":"https://github.com/malcodeman/micro-reddit","last_synced_at":"2025-03-24T17:45:59.017Z","repository":{"id":44085358,"uuid":"156085230","full_name":"malcodeman/micro-reddit","owner":"malcodeman","description":"Microservice for parsing reddit api.","archived":false,"fork":false,"pushed_at":"2023-07-11T00:59:02.000Z","size":311,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T22:33:07.383Z","etag":null,"topics":["microservice","reddit-api"],"latest_commit_sha":null,"homepage":"https://glitch.com/edit/#!/malcodeman-micro-reddit","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/malcodeman.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-11-04T13:30:51.000Z","updated_at":"2022-02-08T15:30:36.000Z","dependencies_parsed_at":"2024-05-02T16:02:51.534Z","dependency_job_id":"8a8df0c4-d5d2-434d-8c02-3895bfa5d89a","html_url":"https://github.com/malcodeman/micro-reddit","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/malcodeman%2Fmicro-reddit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malcodeman%2Fmicro-reddit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malcodeman%2Fmicro-reddit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malcodeman%2Fmicro-reddit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malcodeman","download_url":"https://codeload.github.com/malcodeman/micro-reddit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245320575,"owners_count":20596207,"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":["microservice","reddit-api"],"created_at":"2024-07-31T12:00:37.933Z","updated_at":"2025-03-24T17:45:58.964Z","avatar_url":"https://github.com/malcodeman.png","language":"JavaScript","funding_links":[],"categories":["Node"],"sub_categories":[],"readme":"# Micro-reddit\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/malcodeman/micro-reddit/blob/master/LICENSE)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n\nMicroservice for getting direct image | video links from subreddits.\n\n## Usage\n\nMicro reddit requires **node v11.0.0** or higher for [URL module](https://nodejs.org/api/url.html) support.\n\n.env file should look like this:\n\n```\nPORT=8080\nBEHANCE_API_KEY=123\nIMGUR_CLIENT_ID=123\nGFYCAT_API_KEY=123\nFLICKR_API_KEY=123\n```\n\nTo start the service run:\n\n```\nyarn install\nyarn start\n```\n\nClient is located [here](https://github.com/malcodeman/reddit-client).\n\n## Design decisions\n\nWhy ... ?\n\n- [esm](https://github.com/standard-things/esm) ?\n  Since node still doesn't support ECMAScript modules without --experimental-modules flag using esm was necessary to avoid .mjs file extension.\n  When node starts supporting modules removing `-r esm` from package.json start script is all that's needed.\n- [fastify](https://github.com/fastify/fastify) ?\n  Speed.\n\n## Documentation\n\nRoutes:\n\n- `/subs/:subreddit/:sort`\n\n- `/posts/:postId`\n\n- `/popular`\n\nSupported third-party services:\n\n- imgur\n- behance\n- gfycat\n- supload\n- flickr\n\n## License\n\nMicro reddit is [MIT licensed](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalcodeman%2Fmicro-reddit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalcodeman%2Fmicro-reddit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalcodeman%2Fmicro-reddit/lists"}