ossperks icon indicating copy to clipboard operation
ossperks copied to clipboard

Validate Links

Open awesome-bot opened this issue 9 years ago • 0 comments

Hi @nikmd23, cool project

I wrote a tool that can validate links in a file. It can be run when someone submits a pull request or a commit is pushed to ossperks.

It is currently being used by many projects including

  • https://github.com/vinta/awesome-python
  • https://github.com/enaqx/awesome-react
  • https://github.com/vsouza/awesome-ios
  • https://github.com/veggiemonk/awesome-docker

Examples

  • https://travis-ci.org/vinta/awesome-python/builds/98201707 ok ✅
  • https://travis-ci.org/matteocrippa/awesome-swift/builds/96722421 link redirected / rename 🔴
  • https://travis-ci.org/dkhamsing/open-source-ios-apps/builds/96763135 bad link / project deleted 🔴
  • https://travis-ci.org/vsouza/awesome-ios/builds/106914621 dupe 🔴

Running the tool for ossperks found these link redirects

  • http://octopusdeploy.com/purchase redirects to http://octopus.com/purchase
  • http://qt-project.org/products/licensing redirects to http://www.qt.io/developers/
  • and more https://gist.github.com/32a64e9ec81f197e3a9b

If you are interested, connect this repo to https://travis-ci.org/ and add a .travis.yml file to the project (you can also use Circle CI or Codeship which can be configured without a file in the repo)... the script would verify links in index.html

See https://github.com/dkhamsing/awesome_bot for options, more information Feel free to leave a comment or close if this is not right for you :smile:

awesome-bot avatar Mar 25 '16 14:03 awesome-bot