Skip to content

Latest commit

 

History

182 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

2026-08-22: This app currently breaks as Reddit has locked down their API. I've applied for an API key (hopefully they'll grant me access), but you'll probably have to apply for your own to use Grabbit.

Grabbit

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 is MIT licensed.

@bbkane's Setup

See my personal config:

My Setup

I run grabbit on a weekly schedule automatically. Here's how I do that:

Project Status (2025-06-14)

Basically complete! I use grabbit for wallpapers. At some point I'd like to use OTEL tracing instead of the current logging framework, but that's not a huge deal. I'm watching issues; please open one for any questions and especially BEFORE submitting a Pull request.

Install

scoop bucket add bbkane https://github.com/bbkane/scoop-bucket
scoop install bbkane/grabbit
  • Download Mac/Linux/Windows executable: GitHub releases
  • Go: go install go.bbkane.com/grabbit/v5@latest
  • Build with goreleaser after cloning: goreleaser release --snapshot --clean

Use

# Grab from passed flags
grabbit grab \
    --destination . \
    --subreddit-info wallpapers,day,5 \
    --subreddit-info earthporn,week,10

# Create/Edit config file
grabbit config edit --editor /path/to/editor

# Grab from config file
grabbit grab

See current wallpapers

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 \
| while read -r property; do xfconf-query -c xfce4-desktop -p "$property"; done \
| sort -u

Docs

3rd Party Credits

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

Stars

41 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages