Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doarakko/kankichi
Notify Slack when sweets arrive!
https://github.com/doarakko/kankichi
python raspberry-pi slack
Last synced: 9 days ago
JSON representation
Notify Slack when sweets arrive!
- Host: GitHub
- URL: https://github.com/doarakko/kankichi
- Owner: Doarakko
- Created: 2022-07-21T16:06:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-17T22:02:30.000Z (about 1 year ago)
- Last Synced: 2024-05-01T16:38:09.283Z (10 months ago)
- Topics: python, raspberry-pi, slack
- Language: Python
- Homepage:
- Size: 536 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# kankichi
Notify Slack when sweets arrive!
![example](./example.png)
## Requirements
The following is the environment where execution has been confirmed.
### Hardware
- Raspberry Pi 4 Model B
- Raspberry Pi Camera Module### Software
- Python 3.7.3
- Slack## Usage
### 1. Prepare source code.
```sh
git clone https://github.com/Doarakko/kankichi
```### 2. Create Slack App using `manifest.yml`.
Go to [here](https://api.slack.com/apps) and create from an app manifest.
Get Bot User OAuth Token(xoxb-bbbb).
### 3. Edit `.env`.
```sh
cp .env.example .env
```Enter `SLACK_BOT_TOKEN` and `CHANNEL_NAME`.
### 4. Install library
```sh
pip install -r requirements.txt
```### 5. Run
```sh
python main.py
```