piotrl / github-profile-card Goto Github PK
View Code? Open in Web Editor NEWSimple and easy to use widget with your GitHub profile — No dependencies
Home Page: https://piotrl.github.io/github-profile-card
License: MIT License
Simple and easy to use widget with your GitHub profile — No dependencies
Home Page: https://piotrl.github.io/github-profile-card
License: MIT License
Hi! I notice when a user is changed the localstorage is not cleared, so the languages are not working, all times are the same.
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:
Last release was two years ago, widget was completely rewritten but it was never released.
Do research which tool will be used.
Posible choices:
Overview of pros and cons:
https://github.com/thegrtman/javascript-test-framework-comparison
Domain is ready: github-profile.com
Design is needed :( I'm bad at design.
Run widget without JS configuration.
Partially done in 2.0 release, but needs more testing.
Cześć @piotrl
Mam taki pomysł, aby kupić domenę, coś w stylu http://github-profile.com/
gdzie można byłby dostępny Twój widget.
I tak ten kto wejdzie np. tutaj: http://github-profile.com/piotrl widział Twój widget.
Świetny sposób, aby sobie osadzić taki <iframe>
na stronie.
Z chęcią wykorzystałbym na swojej stronie (https://piecioshka.pl/blog/) widet mojego profilu
http://github-profile.com/piecioshka. Taką mini zajawkę już mam (na dole strony).
Co Ty na to?
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).
I have tried to use a github profile card on my website (https://cshark.dev/), but instead of my profile name it says "null"
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.
As the script is loaded from non https website it is blocked so can you configure your github pages website to use https?
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
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.
Cons:
Even though this library is written in TypeScript, when included in other packages (like Angular), typings can't be reached and it's treated as normal JavaScript library.
To help developers out there, we can write single file with public api.
See official doc: https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html
Podzadanie
Podzadanie 2
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?
http://github-profile.com should have demo page and code generator.
After saving, we have unique URL with our configuration:
http://github-profile.com/?u=piotrl&option1=true
Maybe possibilities of newly introduced GitHub GraphQL API would allow to get all data with one request.
Would significantly improve performance of the widget, especially languages statistic.
Documentation: https://developer.github.com/early-access/graphql/
Blog post: http://githubengineering.com/the-github-graphql-api/
Not a high priority as currently it is early stage.
Can this be used to make a Wordpress widget?
The README.md on the repo says that the JS attribute for settings the username is 'username', however this is incorrect. The proper syntax is 'userName`.
The error happens here: https://github.com/piotrl/github-profile-card/blob/master/dist/gh-profile-card.js#L314
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,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.