loading...

I built the Web app to search commits on GitHub

9sako6 profile image 9sako6 Updated on ใƒป2 min read

Hello Developers!

I built a simple search engine of commits on GitHub :https://9sako6.github.io/commit-stalker/

demo

Motivation

I like browsing commits of a library on the GitHub. A history of commit teaches me a process of developping a library, a manner of writing a commit message and so on.
It's possible to see a history of them on the official GitHub site, but only 30 commits are showed at onece. It makes difficult to search older commits.
I want to see a lot more commits at onece and search older commits effectively.

Usage

It's available at :https://9sako6.github.io/commit-stalker/

It's easy to use. Please enter a user/organization and repository name. Page number is optional. Then, 100 commits of that repo are showed. If you push the ">>" button, you can show the page that includes the oldest commit.

Features

We can show 100 commits log at onece. In addition, it's easy to search the oldest commit of a repository.

Problem

There is one problem now.
It is inpossible to get a total commit count for a GitHub repo via their API.
total commits 1
Therefore, I calculate a total commit count from contributions of contributors. However, we can get at most 100 contributors' information via GitHub API, so I can't calculate the exact total commit count of a repo that has over 100 contributors.

demo

GitHub API example:

curl -i https://api.github.com/repos/sass/sass/contributors?anon=true

Link

If anybody is interested please check out this app. here:

Thank you!!!

Posted on Feb 17 '19 by:

9sako6 profile

9sako6

@9sako6

I like to build a Web Application โค๏ธ

Discussion

markdown guide
 

Could be better with improved formatting to match that of on GitHub. Well done ๐Ÿ‘!

 

Thank you so much!
I will refine this more better๐Ÿ˜„

 

Nice! Great name for the repo there ๐Ÿ˜‚

 

Thanks a lot, James๐Ÿ˜†