Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

124
Views
List GitHub Repositories or Gists of a User in Webpage using HTML and JavaScript

I tried to find an answer to this question for a long time, and I did find some but none of them worked with the current version of GitHub API. It took me some time to figure it out myself, but I did and I am verry happy with the result that I achieved. So, I thought I should share it here for someone who might also be finding an answer to this. So, read my answer below.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

First, You can have a glimpse of what the final result is like by clicking here for Repositories and here for Gists.

Click here to view the repository that has the JavaScript file. There, you will find all the details on how to use it.

If you liked my implementation of this in my GitHub Page website, its source code is here

In short, here is how to list all GitHub Repositories of a User (Mine in this Example):

        listrepos("HiDe-Techno-Tips", document.getElementById("pin")).then(reposcount => {
                // In this section, variable reposcount stores the total number of Repositories.
            });
      svg {
        display: inline-block;
        vertical-align: middle;
        padding-bottom: 3px;
      }

      a {
        text-decoration: none;
      }

      .box {
        border: 2px solid black;
        padding: 25px;
        margin: 20px;
      }

      .box div {
        margin: 5px;
      }

      .box p {
        color: black;
      }

      .controls {
        display: flex;
      }

      .horizontalspace {
        flex-grow: 1;
      }

      .stats {
        display: inline-flex;
        align-items: center;
      }

      .buttons * {
        margin-left: 5px;
      }

      .stats *:not(svg) {
        margin-right: 5px;
      }

      ol {
        margin: 0px;
        padding: 0px;
        list-style-type: none;
      }
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<html>
  <head>
    <script src="https://gitlist.himdek.com/GitHubList.js"></script>
  </head>
  <body>
    <div id="pin"></div>
  </body>
</html>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!