Skip to content

healeycodes/if-sad-send-cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If Sad Send Cat

My blog post: When I'm Sad My Computer Sends Me Cats

If you're sad in front of your computer, this project will send a random cat to your phone. It was an evening project to glue together a few APIs.

Hopefully this prototype can be used as inspiration for your fun ideas!

How?

  • It runs locally and captures your webcam through a browser
  • Emotions are tracked via vladmandic/human
  • Cats are provided by The Cat API. Notifications via Pushover

Setup/Run

  • Create an .env file with PUSHOVER_API_KEY and PUSHOVER_USER_KEY
  • pip install -r requirements
  • python server.py
  • Go to http://localhost:8080
  • Be sad
  • Receive cat

Debug Log

Side by side comparison of the debug log when I'm happy vs. when I'm sad.

Pushover Notification

A notification on my phone of "Marcus", a cat, who "needs my attention".

About

🐱 A program that sends cats to my phone when I'm sad at the computer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published