Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farridav/slacking
Testing Slack webhooks
https://github.com/farridav/slacking
Last synced: about 1 month ago
JSON representation
Testing Slack webhooks
- Host: GitHub
- URL: https://github.com/farridav/slacking
- Owner: farridav
- Created: 2018-01-06T10:45:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T01:39:11.000Z (over 4 years ago)
- Last Synced: 2024-03-19T13:10:51.185Z (10 months ago)
- Language: Go
- Size: 5.13 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slacking playground
A command line script that (given a webhook), reads messages from a file, and posts them to slack, written in
Python3, Go, and SCALA## Setup
First setup an incoming webhook in slack and grab the url, (see http://bit.ly/2EapumJ for detailed instructions)
## Usage
### Python
#### Testing
./python/test.py#### Running
./python/send.py --help
./python/send.py --webhook https://hooks.slack.com/services/XXXXX/XXXXX### Go
cd go
go run send.go --help
go run send.go --webhook https://hooks.slack.com/services/XXXXX/XXXXX### SCALA
cd scala
./send.sh https://hooks.slack.com/services/XXXXX/XXXXX### Futrue Enhancements
- Add tests for Go Implementation
- Allow Go script to run from anywhere (fix relative path lookup)
- Add tests for SCALA Implementation
- Tidy up SCALA implementation, extend App class