Giter Site home page Giter Site logo

github-watcher's Introduction

github-watcher

Lets get a summarize of all github repository you want.

How to?

  1. Generate github personal access: https://github.com/blog/1509-personal-api-tokens This application does not requires any specific access
  2. Get OVH Functions client
  3. Export credentials to your environment
    export USERNAME="my-github-login"
    export API_TOKEN="my-generated-token"
  4. Clone this repository
    git clone [email protected]:holyhope/github-watcher.git
  5. Deploy your function:
    cd where-you-cloned-the-repository
    ovh-functions deploy
  6. Execute the function with 1 parameter which is the github id: owner/repository:
    echo -n "holyhope/github-watcher" | ovh-functions exec github_watch

Daily report

  1. Update functions.yml to execute the function daily
  2. Deploy once more the function
  3. Wait till the function is executed and check the logs
    ovh-functions logs github_watch

Collect results

  1. Install a webserver which will receive 1 POST request for each result I recommend ElasticSearch, but you can also use requestb.in for dev purpose.
  2. Configure POST_URL variable:
    export POST_URL="https://use:password@elasticsearch:9200/github-watcher/result"
  3. Deploy the function one more time

/!\ Your webserver must be accessible over the Internet, so please use a basic authentication in the url

github-watcher's People

Contributors

holyhope avatar

Watchers

 avatar  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.