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

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay