Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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!