Comments (3)
I'm afraid it can't be done because of Rate limiting of Github api. Without user token, Octocard can only make up to 5,000 requests per hour. Also octocard require 10+ requests to get one user's info(especially for events info). So octocard can't support 500 users per hour even with server cache.
And I'm working on more interesting octocard module which may cost more requests. And provide analytics functional for user. So login has to be required.
from octocard.
Unless octocard server access data from the GitHub website instead of GitHub API 😃
If the server fetches data asynchronously, data syncing will be a big problem. While response delay will be out of control if it gains data for each request on the fly.
from octocard.
@Justineo That's an option 😃. Just not reliable.
For now, if cached data is out of date, octocard-server will return old data immediately. At the same time update cached data from github api. Also when user sign up, octocard-server will fetch data previously. This will make sure octocard api return immediately.
PS: q is quite useful to control async flow. 😃
from octocard.
Related Issues (20)
- using 2x screenshot instead of the picture in the README. HOT 1
- Login name not found. Please sign up Github Card first.Refresh HOT 3
- Name showing as "null" HOT 1
- [Feature Request] Generate iframe or image for blog and forum HOT 1
- Error:Cannot call method 'indexOf' of undefined HOT 1
- octocard still inherit page style
- Detect shadow dom support failed on firefox
- `details` and `repos` module not empty when there is no data HOT 1
- Easily swap out the username on the demo HOT 1
- Use SCSS for style HOT 3
- Using updated github api to optimize octocard HOT 1
- You need at least read:org scope or user scope to list your organizations HOT 2
- TLS for octocard.in HOT 5
- https://octocard.in down? HOT 7
- use Infinity rather than -1 as orgsNum value which shows all applicable organizations HOT 2
- Default style dosen't have background-color
- CSS style not work when pass `element` to element config.
- octocard.info service is down HOT 1
- Use shadow dom / iframe to create isolated octocard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octocard.