Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

126
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda