GithubHelp home page GithubHelp logo

piotrl / github-profile-card Goto Github PK

View Code? Open in Web Editor NEW
96.0 96.0 12.0 40.05 MB

Simple and easy to use widget with your GitHub profile — No dependencies

Home Page: https://piotrl.github.io/github-profile-card

License: MIT License

JavaScript 5.68% TypeScript 80.55% SCSS 13.77%
github github-profile library no-dependencies npm-package typescript widget

github-profile-card's People

Contributors

dependabot[bot] avatar giorgi avatar piotrl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

github-profile-card's Issues

Clear localstorage

Hi! I notice when a user is changed the localstorage is not cleared, so the languages are not working, all times are the same.

API rate limit: Cache requests

GitHub has its limitations of API requests rate.
If someone has lots of repositories, lots of requests are made. Especially for calculating TOP languages.

I see three possible solutions:

  • Cache requests in local storage (refreshing page won't trigger API for data we already have). When cache should be invalidated? GitHub API limits is cleaned after 30 minutes so this could be starting point.
  • Optional disable option of top languages
  • Allow user to provide auth token, authenticated requests have much higher API rate limits.

Reboot version

Last release was two years ago, widget was completely rewritten but it was never released.

  • Find better project name (unoficiall is not well received word)
  • Changelog and plans for next release
  • Update codepen demo with parts of README content

Run with HTML API only

Run widget without JS configuration.

Partially done in 2.0 release, but needs more testing.

Remove SASS as dependency

I heavily consider moving from SASS to other CSS pre-processor. Probably Less.

Every time I update nodejs, it stops working. Often problems with using it on windows (node-gyp kind of problems).

Option: Skip forked repositories

Currently, in repository list includes repositories that we've forked and contributed to, but we're not authored.

That affects calculating TOP languages.
If we contribute to big Java repository, it will show up in TOP languages even if we don't have any other repository related to Java.

Does not work on https pages

As the script is loaded from non https website it is blocked so can you configure your github pages website to use https?

[PINNED] Show your website

Hi there,

if you're using github-profile-card, let me know!
I want to build list of websites that are using it :)
It will help me to understand how it's used and improve it.

Leave a comment in this issue with link to your website.
or ping me on twitter: @constjs

Introduce TypeScript & ES6

I don't plan completely rewrite nor introducing ES6 classes (which sucks).

But introducing types will help reading codebase (which is not big though, but still)

ES6 will help to get rid of promise-like utils that I'm using right now.

  • Create interfaces of API
  • Remove promise-like utils

Cons:

  • Will need to compile code to ES5 with polyfills, file will be bigger..

Not show Multiple Person Profile

I want to try display multiple person profile but only one person profile displayed.
Reason: Data only come in first profile. There is no data in second profile.

code-1
code-2
output-1
output-2

Do not show top languages

Looks like most of the time for getting the data is spent on getting language details so can we have an option to skip language details and don't show it?

Wordpress

Can this be used to make a Wordpress widget?

Option: Width of widget

Currently widget has set max-width: 400px; option.

Goal of this issue is to add configuration option for user to choose its own preferred width,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.