Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnisanerd/slacklinkchecker
Send regular updates about crawl status of our website and where there are broken links.
https://github.com/johnisanerd/slacklinkchecker
slack slack-api slackbot website-monitor
Last synced: 24 days ago
JSON representation
Send regular updates about crawl status of our website and where there are broken links.
- Host: GitHub
- URL: https://github.com/johnisanerd/slacklinkchecker
- Owner: johnisanerd
- License: mit
- Created: 2017-11-03T09:00:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-20T10:20:06.000Z (about 7 years ago)
- Last Synced: 2024-10-30T18:48:26.398Z (2 months ago)
- Topics: slack, slack-api, slackbot, website-monitor
- Language: Python
- Size: 194 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SlackLinkChecker
Send regular updates about crawl status of our website and where there are broken links.
## Setup
1. Run install.sh
2. [Create a slack token for app authorization. ](https://get.slack.help/hc/en-us/articles/215770388-Create-and-regenerate-API-tokens)
3. Set the environmental variable for SLACK_API_TOKEN. You can add this to ~/.profile with the line `export SLACK_API_TOKEN=YOURVARIABLEHERE`## Run
Run the program with `python ~/SlackLinkChecker/slackbot_link_reporter.py`Done:
* [x] Add install for [wummel/linkchecker](https://github.com/wummel/linkchecker)
* [x] Add instalcurl -F [email protected] -F ti/api/files.uploadontent="Hello" -F channels=#website-broken-links -F token=$SLACK_API_TOKEN https://slack.com/
l for [slackapi/python-slackclient](https://github.com/slackapi/python-slackclient)
* [x] For Upload use the command `curl -F [email protected] -F title="Hello!" -F content="Hello" -F channels=#website-broken-links -F token=$SLACK_API_TOKEN https://slack.com/api/files.upload ` [Source](https://api.slack.com/methods/files.upload)
* [x] Find an optimal recursion level for the Pi memory of only a GB.
* [x] See if we can pair down overlaps.
* [x] Comb through and setup things to remove.Todo:
NOTHING!Records:
11/17/2017 - Found about 750 broken links. Tuned up on redirects!