code996 is an analytics tool that can be used to calculate the commit time distribution of a Git project and derive the coding intensity of that project.
Preview: https://hellodigua.github.io/code996/
English | 简体中文
For Mac or Linux users.
In the root directory of your Git project, run the following command.
curl -fsSL https://fastly.jsdelivr.net/gh/hellodigua/code996/bin/code996_en.sh | bash
Windows users.
Download the script https://fastly.jsdelivr.net/gh/hellodigua/code996/bin/code996_en.sh
Then move the script to the Git project directory you want to analyze, and execute the following command.
sh code996_en.sh
Basic information about the project to analyze.
View commit distribution by graph: !
Compare project work time types.
- use git-log to query the project current branches and get the commit statistics summarized by hour and by day
- convert the query results from the local script to URL arguments and open the URL to the browser
- get the data from the URL, process it with some rules, and visualize the results
- neither the script side nor the web side collects any data
- the URL itself does not disclose sensitive information such as project name, except for common data such as start time of analysis, commit statistics, etc.
- all code has been open source, accepting community supervision
- The analysis results are for reference only and do not constitute any recommendation
- The original analysis data is transmitted via URL, please be careful if you want to share it
- Please do not use it for official purposes
The 996 Index is a data indicator defined by the project to reflect the overtime situation of the project.
After standardizing the overtime situation, we can easily compare the work intensity of projects across teams and companies.
- The default statistics of the script is the overall project commit time, which represents the work status of all participants in the project during this time, and may deviate from the actual situation of individuals
- In addition to coding, we also need to meet, write documents, study and fish, so it can't cover the actual working time either
- Projects developed across borders and time zones cannot be counted correctly
- Projects with irregular working hours (e.g. personal open source projects) can't be counted either
Any ideas and comments are welcome to share, and you are welcome to modify it after Fork.
This project is for learning and communication only, code996 does not assume any responsibility for any consequences caused by the use and dissemination of this program and its ancillary products.
We have listed below some of the possible consequences of using this program, please be aware of them.
- Computer crash, lag, reboot
- Blue screen, white screen, black screen, splash screen
- Your boss or colleague sees you groping for fish
- You are found by your colleague through code996 that you are fishing in the past
- Leak confidential information and be dealt with by security department
- Late for work
- Being graduated
- Stock market crash
- Earth explodes
This program and its source code and compiled products are subject to the Unlicense license, and its dependencies on related libraries and content are not licensed under promise, please refer to their original licenses.