GithubHelp home page GithubHelp logo

tonycody / gitlab-statistics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dev-rke/gitlab-statistics

0.0 0.0 0.0 7 KB

Analyzes the source code of your Gitlab Instance

License: MIT License

JavaScript 100.00%

gitlab-statistics's Introduction

GitLab Source Code Statistics

What does it do?

This application crawls the whole source code base which is available in your user context. If you are a gitlab administrator, you will gain an overview of all sources. Currently you are able to see file names, file extensions, and project names to identify the usage of the files, e.g. to get an overview which programming languages are used inside of a project or overall projects.

Requirements

you need the following dependencies installed to run the application:

  1. docker
  2. docker-compose

If you do not have docker, you need to setup

  1. elasticsearch
  2. kibana
  3. nodejs
  4. npm

manually. Keep in mind that you might need to customize your elasticsearch server url inside of config.js.

Setup

  1. setup a new access token by visiting https://yourgitlabinstance.example.com/profile/personal_access_tokens
  2. Rename config.example.js to config.js
  3. add your gitlab instance url and your private token
  4. setup the applications either using docker or npm:
  • when using docker: run

     $ docker-compose up -d --build
    
  • when using npm: run

     $ npm install
     $ npm start
    
  1. visit your Kibana-Instance and import the export.json file.
  2. Switch to the Dashboards to analyze your data.

Have Fun!

gitlab-statistics's People

Contributors

dev-rke 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.