{"id":15524835,"url":"https://github.com/dev-rke/gitlab-statistics","last_synced_at":"2025-03-28T20:48:48.395Z","repository":{"id":76728122,"uuid":"97394901","full_name":"dev-rke/gitlab-statistics","owner":"dev-rke","description":"Analyzes the source code of your Gitlab Instance","archived":false,"fork":false,"pushed_at":"2017-07-16T16:44:42.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T06:38:03.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-rke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-16T16:10:15.000Z","updated_at":"2022-06-23T14:29:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"d72e7c21-5d74-4104-9c9d-061e22f85022","html_url":"https://github.com/dev-rke/gitlab-statistics","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"52b49856add0529871704b633aede5476be1c884"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-rke%2Fgitlab-statistics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-rke%2Fgitlab-statistics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-rke%2Fgitlab-statistics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-rke%2Fgitlab-statistics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-rke","download_url":"https://codeload.github.com/dev-rke/gitlab-statistics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100486,"owners_count":20723469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T10:53:21.744Z","updated_at":"2025-03-28T20:48:48.379Z","avatar_url":"https://github.com/dev-rke.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitLab Source Code Statistics\n\n## What does it do?\n\nThis application crawls the whole source code base which is available in your user context.\nIf you are a gitlab administrator, you will gain an overview of all sources.\nCurrently you are able to see file names, file extensions, and project names to identify the usage of the files,\ne.g. to get an overview which programming languages are used inside of a project or overall projects.\n\n## Requirements\n\nyou need the following dependencies installed\nto run the application: \n1. docker \n1. docker-compose\n\nIf you do not have docker, you need to setup\n1. elasticsearch\n1. kibana \n1. nodejs\n1. npm\n\nmanually.\nKeep in mind that you might need to customize your elasticsearch server url inside of config.js. \n\n## Setup\n\n1. setup a new access token by visiting [https://yourgitlabinstance.example.com/profile/personal_access_tokens](https://yourgitlabinstance.example.com/profile/personal_access_tokens)\n1. Rename config.example.js to config.js\n1. add your gitlab instance url and your private token\n1. setup the applications either using docker or npm:\n\n  * **when using docker:** run \n    ```\n     $ docker-compose up -d --build\n    ```\n  \n  * **when using npm:** run\n    ```\n     $ npm install\n     $ npm start\n    ```\n\n\n1. visit your [Kibana](http://localhost:5601/app/kibana#/management/kibana/objects)-Instance and import the export.json file.\n1. Switch to the [Dashboards](http://localhost:5601/app/kibana#/dashboard/b5b52080-69ab-11e7-88d5-79ac22af4634) to analyze your data.\n\nHave Fun!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-rke%2Fgitlab-statistics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-rke%2Fgitlab-statistics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-rke%2Fgitlab-statistics/lists"}