DEV Community

Ahmet İlhan
Ahmet İlhan

Posted on

Github UI Widget CDN

https://github.com/ahmetilhan24/github-ui-widgets

Github UI Widget

alt

Routes

  • :username/profile
  • :username/:repo/commits
  • :username/repositories

Route Structure

Profile

  • :username/user-card
  • Allows you to retrieve a user's information such as followers, following, public repositories, gists
  • Params: username: string | required Your Github username E.G. /ahmetilhan24/user-card
  • Response: fullname, username, bio, public repositories, gists, follower, following
  • Usage:
  <iframe
    title="Github User Profile"
    width="310px"
    height="340px"
    src="http://localhost:5555/ahmetilhan24/profile"
  ></iframe>
Enter fullscreen mode Exit fullscreen mode

Not responsive

Repositories

  • :username/repositories
  • Lets you get public repositories
  • Params: username: string | required Your Github username E.G. /ahmetilhan24/repositories
  • Response: name, description, topics, language, start, forks
  • Usage:
  <iframe
    title="Github User Repositories"
    width="350px"
    height="340px"
    src="http://localhost:5555/ahmetilhan24/repositories"
  ></iframe>
Enter fullscreen mode Exit fullscreen mode

Not responsive

Commits

  • :username/repoName/commits
  • Lets you get commits of public repositories
  • Params: username: string | required, repoName: string | required Your Github username E.G. repos/ahmetilhan24/github-ui-widgets/commits
  • Response: commit msg, commit author
  • Usage:
  <iframe
    title="Github Commits"
    width="350px"
    height="340px"
    src="http://localhost:5555/ahmetilhan24/github-ui-widgets/commits"
  ></iframe>
Enter fullscreen mode Exit fullscreen mode

Not responsive

LICENSE

MIT

Coded by Ahmet ilhan github@ahmetilhan24

Imagine monitoring actually built for developers

Billboard image

Join Vercel, CrowdStrike, and thousands of other teams that trust Checkly to streamline monitor creation and configuration with Monitoring as Code.

Start Monitoring

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay