https://github.com/healeycodes/if-sad-send-cat
🐱 A program that sends cats to my phone when I'm sad at the computer.
https://github.com/healeycodes/if-sad-send-cat
cat-api cats emotion-recognition
Last synced: 6 months ago
JSON representation
🐱 A program that sends cats to my phone when I'm sad at the computer.
- Host: GitHub
- URL: https://github.com/healeycodes/if-sad-send-cat
- Owner: healeycodes
- Created: 2022-02-17T22:10:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-19T12:43:09.000Z (over 3 years ago)
- Last Synced: 2025-03-29T19:09:24.437Z (7 months ago)
- Topics: cat-api, cats, emotion-recognition
- Language: HTML
- Homepage:
- Size: 28.1 MB
- Stars: 191
- Watchers: 1
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# If Sad Send Cat
> My blog post: [When I'm Sad My Computer Sends Me Cats](https://healeycodes.com/when-im-sad-my-computer-sends-me-a-cat)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](https://github.com/vladmandic/human)
- Cats are provided by The Cat API. Notifications via [Pushover](https://pushover.net/)## 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

## Pushover Notification
