{"id":17882173,"url":"https://github.com/nao1215/reddit-downloader","last_synced_at":"2025-04-03T02:13:10.450Z","repository":{"id":192578715,"uuid":"652094632","full_name":"nao1215/reddit-downloader","owner":"nao1215","description":"reddit-downloader - Reddit Image Downloader written in Golang","archived":false,"fork":false,"pushed_at":"2023-06-13T03:58:36.000Z","size":30,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T16:15:35.791Z","etag":null,"topics":["cli","command-line-tool","reddit"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nao1215.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}},"created_at":"2023-06-11T04:17:32.000Z","updated_at":"2024-05-16T19:33:25.000Z","dependencies_parsed_at":"2023-09-05T03:26:06.464Z","dependency_job_id":null,"html_url":"https://github.com/nao1215/reddit-downloader","commit_stats":null,"previous_names":["nao1215/reddit-downloader"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nao1215%2Freddit-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nao1215%2Freddit-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nao1215%2Freddit-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nao1215%2Freddit-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nao1215","download_url":"https://codeload.github.com/nao1215/reddit-downloader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922246,"owners_count":20855345,"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":["cli","command-line-tool","reddit"],"created_at":"2024-10-28T12:48:31.208Z","updated_at":"2025-04-03T02:13:10.423Z","avatar_url":"https://github.com/nao1215.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reddit-downloader - Reddit images downloader\n`reddit-downloader` is a CLI command that downloads images from posts within a subreddit. It allows you to specify multiple subreddits in a single execution. Thanks to parallelization, downloading with `reddit-downloader` enables you to gather images quickly.\n\n\n## How to install\n### Use \"go install\"\nIf you does not have the golang development environment installed on your system, please install golang from the [golang official website](https://go.dev/doc/install)\n\n```\n$ go install github.com/nao1215/reddit-downloader@latest\n```\n\n## How to use\n### Environment variables for using reddit-downloader\nreddit-downloader uses the following environment variables to access reddit API. If you get client id and client secret, you can create a client from [reddit apps](https://www.reddit.com/prefs/apps).\n- GO_REDDIT_CLIENT_ID : client's id.\n- GO_REDDIT_CLIENT_SECRET : client's secret.\n- GO_REDDIT_CLIENT_USERNAME : client's username.\n- GO_REDDIT_CLIENT_PASSWORD : client's password.\n\n### Download images from subreddit\nThe `reddit-downloader` command accepts multiple subreddits through the `--sub-reddit` option and saves the images in the directory `output/${sub-reddit-name}`. The destination directory `output` can be changed using the `--output` option.\n```\n$ export GO_REDDIT_CLIENT_ID=xxxxxxxxxxxxxx ※ set your client id\n$ export GO_REDDIT_CLIENT_SECRET=xxxxxxxxxxxxxx ※ set your client secret\n$ export GO_REDDIT_CLIENT_USERNAME=xxxxxxxxxxxxxx ※ set your client username\n$ export GO_REDDIT_CLIENT_PASSWORD=xxxxxxxxxxxxxx ※ set your client password\n\n$ reddit-downloader --sub-reddit=wallpaper,MobileWallpaper\nfetching posts from 'wallpaper' sub reddit\nfetching posts from 'MobileWallpaper' sub reddit\n\nmedia downloaded: Chinese poster Spider-Man: Across the Spider-Verse (output/MobileWallpaper/13sh0r9_Chinese_poster_Spider-Man:_Across_the_Spider-Verse.jpg)\nskipped: Title:'Some from my collection of wallpapers': not support reddit gallery (URL:https://www.reddit.com/gallery/13py2gm)\nmedia downloaded: Memories (output/MobileWallpaper/13hggwb_Memories.jpg)\nmedia downloaded: Will be rocking for months to come (output/MobileWallpaper/13xbchy_Will_be_rocking_for_months_to_come.jpg)\nmedia downloaded: Meteor Strike. (output/MobileWallpaper/13waxm0_Meteor_Strike..jpg)\n :\n :\n```\n\nIf a post does not contain an image, it will be skipped. Furthermore, it is not possible to download the images from the gallery.\n\n\n## Contributing\nContributions are welcome. Contributions are not only related to development. For example, GitHub Star motivates me to develop!\n\n## Contact\nIf you would like to send comments such as \"find a bug\" or \"request for additional features\" to the developer, please use one of the following contacts.\n\n- [GitHub Issue](https://github.com/nao1215/reddit-downloader/issues)\nYou can use the bug-report subcommand to send a bug report.\n\n```\n$ reddit-downloader bug-report\n※ Open GitHub issue page by your default browser\n```\n\n## LICENSE\nThe reddit-downloader project is licensed under the terms of [MIT LICENSE](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnao1215%2Freddit-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnao1215%2Freddit-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnao1215%2Freddit-downloader/lists"}