Empowering open source authors, for which I spent a month building a tool platform

foreword

Before introducing this project, listen to my BB a few words.

It has been 2 or 3 years since I did open source by myself. Now I also maintain 3 open source projects for a long time. At first, it was just a temporary interest. I think it is a very meaningful thing to make something on an open source site. But as many people use it, there will naturally be various problems and bugs, and various issues need to be resolved. Your own projects are like your own children, and you can't let them go. Many times you want to give up. After two years of hard work, I found that the open source business must not be driven by a passion, or a passion alone is not enough, but a sense of mission and perseverance to promote it. During this period, you need to spend a lot of time answering the questions of group friends, iterating projects and operations. In fact, I don’t want to do anything, I just want that sense of achievement.

Many open source authors have their own jobs and can only use their spare time to do these things. In the past few years, I have also met some open source bigwigs. Basically, behind a long-term maintenance of excellent open source works, there must be an author who has worked hard to write code until the early morning. Take the contribution map of Gitee in China as an example. If you put the contribution map of a few big guys, you will know how hard they work.

file

Let's put it even more violently:

file

Seeing this contribution map, full of green, can not help but admire from the heart. Next is my own, the first half of the year is purely diving.

file

idea

Many small partners who put their achievements in the open source community must have the following question: I have written an open source project, how can I get the data feedback of the open source project to get better promotion?

In fact, I have also encountered this problem when doing open source myself, so I worked with my friends a month ago to develop a tool platform that empowers open source authors, and the platform itself is also open source. We have a name for this platform: Giteye, which has a clear meaning. We hope to be the eyes of the Git warehouse and provide data support to open source authors with data and visualization.

Platform address: https://giteye.net

Open source warehouse address: https://gitee.com/giteye/open-giteye-api

file

Giteye hopes to provide open source authors with the following support:

1. Provide star trends, indexes, and contributor list charts that open source developers are more concerned about, and can choose a variety of topics. The generated diagrams can be linked to your Git repository readme, or the home page of your site. This graph is nearly real-time.

2. Gitee and Github will be supported in the future. No matter which platform your warehouse is on, you can get data support from Giteye.

3. Provide open source authors with real-time traffic data, access IP statistics, access source statistics, access region statistics, new and old visitor data, etc. Keep open source authors well informed about access to their projects.

4. Many open source authors may be very concerned about the number of stars of their projects. Giteye can push the number of stars to developers who have starred your project in near real-time through the service account. At the same time, it will also push the access data statistics to your warehouse every day.

How is the performance

What giteye.net finally generates is pnga static image in a format, which does not require the application server to spend resources and time to generate it dynamically and in real time for each request, but it will be updated every 10 minutes or so, and the update speed is very fast. You only need to hang a picture on your page once, and you can keep the consistency with the warehouse data in near real time.

You don't need to worry about bandwidth issues, Giteye uses a global CDN to accelerate, and the data charts and pictures show that loading from any region will not bring extra burden to your homepage.

What features are currently supported

Currently, only data charts of domestic Gitee warehouses are supported, and Github support is still under development.

In terms of charting capabilities, it provides Star trend charts of various topics, Gitee indicator charts, and a list of repository contributors.

Access data statistics and warehouse data push are also under development.

how to use

Step1 Browser input https://giteye.net to enter the home page:

file

Step 2 After following, you will be automatically logged in. The purpose of this service number is to push some statistical data of your warehouse to the open source author.

file

Step 3 Currently supports Gitee's warehouse data, you need to click Gitee to jump to the official website for authorization. The purpose of authorization is to list the user's warehouse list without manual input. Gitee will only read it, but will not perform any other operations.

7

8

Step 4 After the authorization comes back, you will enter the My Chart interface. If you have not created a chart before, there will be no data here. Click Create Chart in the upper right corner to create it.

9

Step 5 After clicking Create Chart, all your projects under your Gitee account will be listed here (fork and private repositories are not included). You can also search to find the project you want to generate a chart for .

10

Step 6 After clicking an item, enter the chart creation interface, where 3 indicators can be created, and 12 themes can be selected

11

Step 7 After selecting the corresponding indicators and topics, click Generate. Giteye will count your data, draw charts in the background, and Giteye will use concurrency to pull your indicator data in the background, but if your number of stars has dozens of k, you still have to wait patiently for about 1 minute.

12

Step 8 After the chart is drawn in the background, the page can automatically display the preview of the chart. You can copy the code at the bottom and paste it into your README page or any of your homepage MD to display the data of your project. And this graph is dynamic and real-time, consistent with your project data at all times

13

14

15

finally

The original intention of developing Giteye is that there are not many tool sites in China, including Github, that provide data services for open source authors, and second, for open source authors, there are indeed pain points that require a platform for generating data display. We also hope to serve open source developers, and we hope that there will be more and more outstanding open source projects in China and will become more prosperous. If you are an open source author, if you have this need, please use it quickly.

about me

I'm an open source author and a content creator. "Yuanren Tribe" is a technology sharing account that insists on being original. It will always share original technical articles and grow with you.

img

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324153756&siteId=291194637