{"id":15716133,"url":"https://github.com/bbkane/grabbit","last_synced_at":"2025-04-16T05:51:55.289Z","repository":{"id":41419619,"uuid":"293349024","full_name":"bbkane/grabbit","owner":"bbkane","description":"A small single-binary CLI to grab images from Reddit - I've been surprised how much I enjoy seeing beautiful wallpapers when I lock/unlock my computer.","archived":false,"fork":false,"pushed_at":"2025-03-29T18:51:08.000Z","size":980,"stargazers_count":37,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T02:54:22.127Z","etag":null,"topics":["cli","go","golang","homebrew","reddit","wallpaper"],"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/bbkane.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-09-06T19:36:01.000Z","updated_at":"2025-03-29T18:51:12.000Z","dependencies_parsed_at":"2023-11-26T05:21:28.607Z","dependency_job_id":"fe33e3a4-b38f-47fd-a232-eb754ce2f545","html_url":"https://github.com/bbkane/grabbit","commit_stats":null,"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fgrabbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fgrabbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fgrabbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fgrabbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbkane","download_url":"https://codeload.github.com/bbkane/grabbit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249205070,"owners_count":21229854,"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","go","golang","homebrew","reddit","wallpaper"],"created_at":"2024-10-03T21:44:10.385Z","updated_at":"2025-04-16T05:51:55.267Z","avatar_url":"https://github.com/bbkane.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grabbit\n\nA small single-binary CLI to grab images from Reddit - I've been surprised how much I enjoy seeing beautiful wallpapers when I lock/unlock my computer. grabbit automatically skips images tagged NSFW, designed to be easy to install/uninstall and is [MIT licensed](./LICENSE).\n\n## @bbkane's Setup\n\nSee my [personal config](https://github.com/bbkane/dotfiles/blob/master/grabbit/dot-config/grabbit.yaml).\n\n![My Setup](./reddit_wallpapers.jpg)\n\n## Install\n\n- [Homebrew](https://brew.sh/): `brew install bbkane/tap/grabbit`\n- [Scoop](https://scoop.sh/):\n\n```\nscoop bucket add bbkane https://github.com/bbkane/scoop-bucket\nscoop install bbkane/grabbit\n```\n\n- Download Mac/Linux/Windows executable: [GitHub releases](https://github.com/bbkane/grabbit/releases)\n- Go: `go install go.bbkane.com/grabbit/v4@latest`\n- Build with [goreleaser](https://goreleaser.com/) after cloning: `goreleaser --snapshot --skip-publish --rm-dist`\n\n## Use\n\n```bash\n# Grab from passed flags\ngrabbit grab \\\n    --subreddit-destination . \\\n    --subreddit-limit 5 \\\n    --subreddit-name wallpapers \\\n    --subreddit-timeframe day\n\n# Create/Edit config file\ngrabbit config edit --editor /path/to/editor\n\n# Grab from config file\ngrabbit grab\n```\n\n## See current wallpapers\n\nOn macOS, I use the followng command to see what wallpapers (and any other open files) my desktop is using:\n\n```bash\nlsof -c WallpaperImageExtension\n```\n\nI can run a similar command in XFCE:\n\n```bash\nxfconf-query -c xfce4-desktop -l \\\n| grep last-image \\\n| while read -r property; do xfconf-query -c xfce4-desktop -p \"$property\"; done \\\n| sort -u\n```\n\n## Docs\n\n- Run grabbit on a schedule: [./schedule_it.md](./schedule_it.md)\n- Hack on grabbit: [./dev_notes.md](./dev_notes.md)\n- [MIT Licensed](./LICENSE)\n\n## 3rd Party Credits\n\n- library authors: see [./go.mod](./go.mod)\n- inspiration: [reddit_get_top_images](https://github.com/nagracks/reddit_get_top_images)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fgrabbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbkane%2Fgrabbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fgrabbit/lists"}