Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedevsaddam/slack-notifier
This script will help you to send slack scheduled notification (message)
https://github.com/thedevsaddam/slack-notifier
slack-bot slack-notifier slack-python-script slack-reminder
Last synced: 11 days ago
JSON representation
This script will help you to send slack scheduled notification (message)
- Host: GitHub
- URL: https://github.com/thedevsaddam/slack-notifier
- Owner: thedevsaddam
- Created: 2016-11-08T13:04:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-29T18:06:01.000Z (almost 8 years ago)
- Last Synced: 2023-02-27T13:26:40.092Z (over 1 year ago)
- Topics: slack-bot, slack-notifier, slack-python-script, slack-reminder
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 21
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slack notifier
This script will help you to send slack scheduled notification (message) like `daily stand up meeting`, `prayer reminder` etc.---
### Installation#### Easy Way
Download the `slack-notifier-installer.sh` file and run it with root permission. It will do all the job for you.#### Hard Way
Open terminal ( ctrl+alt+t ) and go to __Downloads__ directory```bash
cd ~/Downloads/
```Clone the repository
```bash
git clone https://github.com/thedevsaddam/slack-notifier.git
```
or download the zip file manually and unzip to __Downloads__ directoryChange permission to 777
```bash
sudo chmod -R 777 notifier
```
Open crontab in edit mode```bash
crontab -e
```Copy the line below and paste
```bash
* * * * * python /home/YOUR_USER_NAME/Downloads/slack-notifier/notifier.py
```
Replace YOUR_USER_NAME by your user name._Note: To get username type `whoami` in interminal_
### Configuration
1. Install `requests` python module, if you don't already have that
```
pip install requests
```
2. Create a [slack bot user](https://api.slack.com/bot-users).
3. Collect the access token.
4. Open `config.py` and set the `slack access token` and other information like `channel name`, `user name`.
5. Adjust the notifier time.### Contributors
* [Syed Sirajul Islam Anik](https://github.com/ssi-anik)
* [Ahmed shamim](https://github.com/me-shaon)### TODO
* Broadcast message to multiple channel_Thank you :)_