GithubHelp home page GithubHelp logo

gitlabcodestatistics's Introduction

gitlabCodeStatistics

js统计gitlab代码数量、提交次数、合并次数

使用方法

1、配置:在bak.json里配置你的pravate_token(获取方法见https://blog.csdn.net/zangxueyuan88/article/details/81195666) ,提交代码的邮箱地址、分支和工程id,打开demo.html就可以了
2、温馨提示:页面上可以配置忽略多少行以上的代码(因为创建工程时候会有大量的复制粘贴非原创代码计算在内,排除了之后就跟接近真实的代码数量)

说明

前端JS代码写成的,基本上用的是原生的js代码,只有请求部分用了jq(已集成到页面),有兴趣者可以把请求也用原生js来写,文件的体积就会大大减小,无需额外引用其他资源。

界面如下:

image

gitlabcodestatistics's People

Contributors

cdacai avatar

Stargazers

 avatar  avatar oBlank avatar scanflove avatar GeekAPP avatar canal-kafka-hbase avatar liangrun avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zmonet

gitlabcodestatistics's Issues

使用问题请教

您好,我想问下就是我把您的这个项目clone以后然后按照您的要求修改了bak.json文件里面的信息,然后本地直接打开demo.html文件并没有数据呢,,同时还报了个错误,想问下这是什么问题呢,麻烦您了!如果可以的话能否加个联系方式跟您学习请教一下呢,十分感谢!!
内容显示详情为:
BC6AC620-9221-413D-BA10-4ACB0148C14B
控制台报错为:
Refused to execute script from 'http://localhost:***/gitlabCodeStatistics/bak.json?callback=train' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

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.