- Notifications
You must be signed in to change notification settings - Fork1
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.
License
NotificationsYou must be signed in to change notification settings
bbkane/grabbit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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. grabbit automatically skips images tagged NSFW, designed to be easy to install/uninstall and isMIT licensed.
See mypersonal config.
scoop bucket add bbkane https://github.com/bbkane/scoop-bucketscoop install bbkane/grabbit
- Download Mac/Linux/Windows executable:GitHub releases
- Go:
go install go.bbkane.com/grabbit/v4@latest
- Build withgoreleaser after cloning:
goreleaser --snapshot --skip-publish --rm-dist
# Grab from passed flagsgrabbit grab \ --subreddit-destination. \ --subreddit-limit 5 \ --subreddit-name wallpapers \ --subreddit-timeframe day# Create/Edit config filegrabbit config edit --editor /path/to/editor# Grab from config filegrabbit grab
On macOS, I use the followng command to see what wallpapers (and any other open files) my desktop is using:
lsof -c WallpaperImageExtension
I can run a similar command in XFCE:
xfconf-query -c xfce4-desktop -l \| grep last-image \|whileread -r property;do xfconf-query -c xfce4-desktop -p"$property";done \| sort -u
- Run grabbit on a schedule:./schedule_it.md
- Hack on grabbit:./dev_notes.md
- MIT Licensed
- library authors: see./go.mod
- inspiration:reddit_get_top_images
About
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.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published