Code Monkey home page Code Monkey logo

girl's Introduction

GitHub README Link Checker

Build Status

girl is a Github Readme Link Checker served over HTTP with Scala and Spray. A public version is hosted at http://derecho.elijah.cs.cmu.edu:8585/@demo.

Broken Links in Top GitHub Repos

http://derecho.elijah.cs.cmu.edu:8585/@top checks broken links in the top 1000 GitHub repositories by number of stars. This project found 416 broken links (with some false positives) when this feature was released on 2015/03/12. See the page's history on the Wayback Machine.

Whitelist

To prevent misuse, girl restricts usage to GitHub users with over 50 followers or users and organizations on the whitelist. Please add your accounts to the whitelist and submit a pull request to gain access. Thanks!

Building

Before running locally, set your GitHub API token in the environment variable GITHUB_TOKEN, or modify the GitHub API connection in Girl.scala to another option from kohsuke.github.GitHub. Also in Girl.scala, if desired, set the minimum number of required followers to zero: val reqFollowers = 0.

girl is built with sbt. Executing sbt run from the girl directory will download the dependencies, compile the source code, and start an HTTP server on 0.0.0.0:8585. Main.scala configures the interface and port.

sbt-revolver is helpful for development. Start an sbt shell and execute ~re-start, which re-compiles and restarts the server upon source code changes.

Dockerfile

If you want to run locally but don't fancy installing sbt you can use docker to install girl into a local container. You will need to edit the Dockerfile to insert your github token. Then, in the girl directory:

docker build -t girl .

This will build and start the server on port 8585. Now you just need to point your browser at the ip of the container.

Licensing

All portions are MIT-licensed.

girl's People

Contributors

ad-si avatar chrisbaldauf avatar jakewharton avatar lossyrob avatar mattl avatar mattyw avatar vishnuravi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.