📺 Stream EntrepreneurTV for Free 📺

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

By Tom Brant

entrepreneur daily

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

Business News

Panera Is Discontinuing Its Controversial Charged Lemonade After Multiple Lawsuits

A large serving of the drink contains nearly triple the amount of caffeine an average person consumes in a day and just 10 mg less than a whole day's recommended intake.

Business News

Kevin O'Leary Says This Is a 'Huge Red Flag' When He's Looking at Resumes

The "Shark Tank" star took to X to share his opinions on job hopping — and how long you should really stay in a job.

Business News

These 5 States Have the Most People Eligible for $1 Billion in Unclaimed Tax Refunds from the IRS

One million Americans have yet to file their 2020 tax returns and claim refunds.

Side Hustle

The Sweet Side Hustle She Started in an Old CVS Made $800,000 in One Year. Now She's Repeating the Success With Her Daughter — and They've Already Exceeded 8 Figures.

Mother-daughter team Elisabeth and Gina Galvin are taking their snack brand Stellar Snacks to new heights, literally — you've probably seen their products in-flight.

Business News

The Met Museum, OpenAI Created an AI Chatbot With the Persona of a 1930s Socialite for a New Exhibit

The finale of the Costume Institute's latest fashion exhibit features a wedding dress worn 94 years ago by New York socialite Natalie Potter and an AI chatbot with her vibe.