{"id":22491827,"url":"https://github.com/travishorn/reduce","last_synced_at":"2025-03-27T20:23:59.043Z","repository":{"id":44153410,"uuid":"177470430","full_name":"travishorn/reduce","owner":"travishorn","description":"Simple reddit viewer.","archived":false,"fork":false,"pushed_at":"2022-12-09T17:03:05.000Z","size":245,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T22:46:06.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/travishorn.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}},"created_at":"2019-03-24T21:17:28.000Z","updated_at":"2020-07-17T22:26:10.000Z","dependencies_parsed_at":"2023-01-25T22:45:16.611Z","dependency_job_id":null,"html_url":"https://github.com/travishorn/reduce","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travishorn%2Freduce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travishorn%2Freduce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travishorn%2Freduce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travishorn%2Freduce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/travishorn","download_url":"https://codeload.github.com/travishorn/reduce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245917841,"owners_count":20693595,"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":[],"created_at":"2024-12-06T18:11:51.035Z","updated_at":"2025-03-27T20:23:59.017Z","avatar_url":"https://github.com/travishorn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reduce\n\nSimple reddit viewer.\n\n## Installation\n\nClone the Git repository.\n\n```\ngit clone http://github.com/travishorn/reduce.git\n```\n\nInstall the dependencies.\n\n```\ncd reduce\nnpm install\n```\n\nSign up for a reddit API key\n\n1. Visit https://www.reddit.com/prefs/apps\n2. Click the **create an app...** button\n3. Enter a name (such as \"Reduce\")\n4. Make sure **web app** is selected\n5. Under **redirect uri**, enter `http://127.0.0.1:3000/reddit-auth-callback`\n\nCreate a `.env` file in the project's root directory with the following\ncontents.\n\n```\nPORT=3000\nREDDIT_CLIENT_ID=[your reddit app's client ID]\nREDDIT_SECRET=[your reddit app's secret]\n```\n\n## Usage\n\n```\nnode index\n```\n\nLocal server will be listening on port 3000. Visit http://127.0.0.1:3000. If\nyou haven't authorized the app with reddit yet, you'll be redirected to reddit's\nauthorization page for this app.\n\n## Linting\n\nAny files with extension `.js` can be linted against ESLint and Prettier\nrecommended rules.\n\n```\nnpm run lint\n```\n\nYou can automatically fix some problems.\n\n```\nnpm run lint:fix\n```\n\n## License\n\nCopyright 2019 Travis Horn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravishorn%2Freduce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftravishorn%2Freduce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravishorn%2Freduce/lists"}