https://github.com/dev-rke/gitlab-statistics
Analyzes the source code of your Gitlab Instance
https://github.com/dev-rke/gitlab-statistics
Last synced: over 1 year ago
JSON representation
Analyzes the source code of your Gitlab Instance
- Host: GitHub
- URL: https://github.com/dev-rke/gitlab-statistics
- Owner: dev-rke
- License: mit
- Created: 2017-07-16T16:10:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-16T16:44:42.000Z (about 9 years ago)
- Last Synced: 2025-02-03T06:38:03.021Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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
1. docker-compose
If you do not have docker, you need to setup
1. elasticsearch
1. kibana
1. nodejs
1. 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](https://yourgitlabinstance.example.com/profile/personal_access_tokens)
1. Rename config.example.js to config.js
1. add your gitlab instance url and your private token
1. 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](http://localhost:5601/app/kibana#/management/kibana/objects)-Instance and import the export.json file.
1. Switch to the [Dashboards](http://localhost:5601/app/kibana#/dashboard/b5b52080-69ab-11e7-88d5-79ac22af4634) to analyze your data.
Have Fun!