Using Rust, Chrome and NixOS to Take Headless Screenshots for Social Sharing

Found some time this past weekend to work on a little “passion feature” that I’ve been wanting to implement for a while now; sharing the technical write-up for anyone else who is interested in automating headless screenshots with these tools or with others (the knowledge is pretty transferable!)

ericjmorey,
@ericjmorey@programming.dev avatar

Do these screenshots have alt text for the visually impaired?

TonyTonyChopper,

seems like this guy just wants to reinvent the wheel

ericjmorey,
@ericjmorey@programming.dev avatar

Or making wheels accessible to more people for more projects where they might be useful.

Bread,

If this guy thinks he can make a better a wheel, I see no reason not to let him try. You never know, there could be a better way that becomes the new standard.

lupec,

That was a great read, thanks for sharing! Love the idea and the execution. Plus, I happen to be pretty into both Rust and Nix these days so it’s always nice to stumble upon projects with them.

LGUG2Z,

I think it’s a stack that really pays off in the long run for solo projects. After a long week of work the last thing I want to do is go tracking down runtime errors (undefined is not a function, my old friend) or messing around with Docker containers and Kubernetes clusters. It also doesn’t hurt that once you throw away the costly deployment abstractions, the operating expenses turn out to be a lot cheaper.

lupec,

Yup, I work as a typescript + PHP developer right now for reasons beyond my control so I’m painfully familiar with that kind of error 😅

starman,
@starman@programming.dev avatar

Great UI and the article as well

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming@programming.dev
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • slotface
  • osvaldo12
  • kavyap
  • khanakhh
  • Durango
  • megavids
  • everett
  • cisconetworking
  • normalnudes
  • tester
  • ngwrru68w68
  • cubers
  • modclub
  • tacticalgear
  • provamag3
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines