Code Monkey home page Code Monkey logo

elasticboard's Introduction

elasticboard

http://elasticboard.mihneadb.net/landing.html

Dashboard providing an easy way to track a GitHub repo's evolution. There's a timeline to quickly bring you up to speed, graphs to view aggregated statistics and useful insights so that you never miss an issue again.

You can view an example dashboard here.

##Setting it up

###Config file

First, you need to set up your config file:

cp example_config.json config.json

Add the repository(ies) that interest you. The syntax is the following:

{
    "owner": "facebook",
    "repository": "react",
    "interval": 3600,
    "authentication": {
        "username": "SOMEUSER",
        "password": "SOMEPASS"
    }
}

Note that the authentication part is optional (helps with the API rate limit and private repositories).

###Deploy with docker

  1. Download and run the docker image:

    sudo docker run -v `pwd`:/home/elasticboard -p 8080:80 -p 5000:5000 -i mihneadb/elasticboard /bin/start.sh

  2. There is no step 2. You now have elasticboard running at http://localhost:8080.

###Manual deploy

Make sure you have an elasticsearch instance accessible.

You also have to install the necessary Python dependencies:

# probably in a virtualenv
pip install -r data_processor/requirements-pip

Install the GitHub river. (link has instructions, currently you need a version >= 1.6.3)

Run the init_rivers.py file to load the rivers inside elasticsearch (make sure you installed the python dependencies):

python init_rivers.py

Fire up the API server:

gunicorn -k eventlet -w 4 -b 0.0.0.0:5000 data_processor.api:app

Serve the dashboard:

Start a webserver in dashboard:

cd dashboard; python -m SimpleHTTPServer

Point your browser to http://localhost:8000 (or whatever URL you are using) and you are good to go!

##Current status

Working prototype. We have the timeline and some graphs.

We are working on implementing queries and insights in order to provide relevant information.

##How you can help

Help us implement queries and insights! We are using the friendly elasticutils library for this. The existing code and issue descriptions should help you get started. If you need more info, please post a comment on the respective issue.

If you have an idea of a metric that is not covered in that list, please submit it on the issue tracker.

##Architecture

The dashboard takes care of the visualization aspect.

The data_processor is where all querying happens. It accesses data stored in elasticsearch using elasticutils and exposes the results through a simple API server that the dashboard calls.

Data flows directly into elasticsearch through the GitHub river.

elasticboard's People

Contributors

adaschevici avatar mihneadb avatar mishu- avatar piatra 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.