DEV Community

Cover image for GitHub Traffic Checker
Rudolf Olah
Rudolf Olah

Posted on

GitHub Traffic Checker

Whenever writing blog posts or publishing video courses, I like to check in on the amount of traffic and views they are getting. It's a data point on what's interesting to readers, and sometimes suggests that I should dig deeper into a topic and write more about it.

The same is true for GitHub repos; while stars act like "bookmarks", it can be useful to see if there's anyone checking the repo and reading the source code or the documentation. It can suggest that some repos need more work to get more contributions or more usage.

Checking GitHub traffic across multiple repos was a manual process, using multiple tabs in the browser and clicking around the interface.

github-traffic-check

So, I wrote a small script using the GitHub Octokit package that prints out:

  • the repository name
  • the number of stars it has
  • the number of views
  • the number of unique views

Download github-traffic-check 1.0.0

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs