<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 9sako6</title>
    <description>The latest articles on DEV Community by 9sako6 (@9sako6).</description>
    <link>https://dev.to/9sako6</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F137144%2Ffaa8a79d-1d6d-4ee6-947f-efefa4f17134.png</url>
      <title>DEV Community: 9sako6</title>
      <link>https://dev.to/9sako6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/9sako6"/>
    <language>en</language>
    <item>
      <title>I built the Web app to search commits on GitHub</title>
      <dc:creator>9sako6</dc:creator>
      <pubDate>Sun, 17 Feb 2019 09:28:14 +0000</pubDate>
      <link>https://dev.to/9sako6/i-built-the-web-app-to-search-commits-on-github-3l82</link>
      <guid>https://dev.to/9sako6/i-built-the-web-app-to-search-commits-on-github-3l82</guid>
      <description>&lt;p&gt;Hello Developers!&lt;/p&gt;

&lt;p&gt;I built a simple search engine of commits on GitHub :&lt;a href="https://9sako6.github.io/commit-stalker/"&gt;https://9sako6.github.io/commit-stalker/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vOnFAY9v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/946slu5cqwtlypt9r6xi.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vOnFAY9v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/946slu5cqwtlypt9r6xi.gif" alt="demo"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Motivation
&lt;/h2&gt;

&lt;p&gt;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.&lt;br&gt;
 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.&lt;br&gt;
I want to see a lot more commits at onece and search older commits effectively.&lt;/p&gt;
&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;

&lt;p&gt;It's available at :&lt;a href="https://9sako6.github.io/commit-stalker/"&gt;https://9sako6.github.io/commit-stalker/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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 "&amp;gt;&amp;gt;" button, you can show the page that includes the oldest commit.&lt;/p&gt;
&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;p&gt;We can show 100 commits log at onece. In addition, it's easy to search the oldest commit of a repository.&lt;/p&gt;
&lt;h2&gt;
  
  
  Problem
&lt;/h2&gt;

&lt;p&gt;There is one problem now.&lt;br&gt;
It is inpossible to get a total commit count for a GitHub repo via their API. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tiUvJZTR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/6hqunahj9c57zzuh0jz3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tiUvJZTR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/6hqunahj9c57zzuh0jz3.png" alt="total commits 1"&gt;&lt;/a&gt;&lt;br&gt;
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.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jMTksRF4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/dbqvpa1v6pm8ffxiaajx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jMTksRF4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/dbqvpa1v6pm8ffxiaajx.png" alt="demo"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub API example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -i https://api.github.com/repos/sass/sass/contributors?anon=true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Link
&lt;/h2&gt;

&lt;p&gt;If anybody is interested please check out this app. here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/9sako6/commit-stalker"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IObj17r9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/1jha85fer5drb3t8exxb.png" width="460px"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you!!!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
