Get All Access for $5/mo

Trump Got You Down? There's an Amazon Dash Button for That. Push it to donate $5 to the ACLU.

By Tom Brant

This story originally appeared on PCMag

via PC Mag

If you know how to code, Amazon will let you make one of its Dash buttons -- originally designed to offer one-touch ordering of household staples like toilet paper -- do pretty much anything. But can you make one that lets you vent your frustration about President Donald Trump?

For one savvy programmer, the answer was yes, albeit indirectly. In a Medium post yesterday, designer and self-professed "take-aparter" Nathan Pryor described how he made a Dash button that he can press to donate $5 to the American Civil Liberties Union every time Trump makes him mad.

"It was my friend Katherine who made the comment 'I wish there was an ACLU Dash button I could push to donate any time I read about the latest offense from Trump,'" Pryor wrote. "Her language was sliiiiightly more colorful than that, but it got me thinking: why reserve that instant gratification for physical goods? Why not push a button and do some real good?"

So he set to work. The ACLU offers little in the way of an API or other programming tool that would make it easy to set up an automated donation, which meant Prior had to write his own Python script to fill in and submit the donation form and notify him via text message if the donation was successful.

He installed that script on Amazon's cloud platform, AWS Lamda, and connected it to his cloud-programmable $20 IoT button. After a bit of trial and error with Amazon's Dash IoT app, he eventually received a text message with a successful donation. All that was left to do was decorate the button with a custom ACLU graphic.

"The button resides near my laptop now, every press sending another $5 into the fight," Pryor wrote. "Sure, I could set up a recurring donation every month, but then there's not the tactile thrill of the press and I wouldn't have learned my way around this technology."

Tom Brant

News reporter

Tom is PCMag's San Francisco-based news reporter. 

Want to be an Entrepreneur Leadership Network contributor? Apply now to join.

Editor's Pick

Side Hustle

At 16, She Started a Side Hustle While 'Stuck at Home.' Now It's on Track to Earn Over $3.1 Million This Year.

Evangelina Petrakis, 21, was in high school when she posted on social media for fun — then realized a business opportunity.

Health & Wellness

I'm a CEO, Founder and Father of 2 — Here Are 3 Practices That Help Me Maintain My Sanity.

This is a combination of active practices that I've put together over a decade of my intense entrepreneurial journey.

Business News

Remote Work Enthusiast Kevin O'Leary Does TV Appearance Wearing Suit Jacket, Tie and Pajama Bottoms

"Shark Tank" star Kevin O'Leary looks all business—until you see the wide view.

Business News

Are Apple Smart Glasses in the Works? Apple Is Eyeing Meta's Ran-Ban Success Story, According to a New Report.

Meta has sold more than 700,000 pairs of smart glasses, with demand even ahead of supply at one point.

Money & Finance

The 'Richest' U.S. City Probably Isn't Where You Think It Is

It's not located in New York or California.

Business News

Hybrid Workers Were Put to the Test Against Fully In-Office Employees — Here's Who Came Out On Top

Productivity barely changed whether employees were in the office or not. However, hybrid workers reported better job satisfaction than in-office workers.