notjoemartinez / chess-insights Goto Github PK
View Code? Open in Web Editor NEWA tool to export and visualize your chess.com games written in vue.js
Home Page: https://chessinsights.xyz/
License: GNU General Public License v3.0
A tool to export and visualize your chess.com games written in vue.js
Home Page: https://chessinsights.xyz/
License: GNU General Public License v3.0
move everything to nuxt so we can start working on authentication
could be cool to visualize winning streaks, you know, for drama
If it ain't broke don't fix it. Use the chess.com user game archive page design for the explore page.
Integrate excel table like sorting drop downs
Add export button similar to popup modal on main page
On large enough users the browser hits it's storage limit for the domain and we have to fetch the data again. Given the new changes to the api policy I can't imagine this makes us any friends. Address your incompetence.
Same problem as No.1 just more funny. If the user opens another tab it will just replace the data in the other tabs with no warning. This one probably deserves it's own branch
How many games can you realistically show at a time? Integrating a dynamic rendering deserves it's own branch but it should be known that this is all rendering on a single page. Maybe add a "back to top" button.
There are too many variations openings to make a UI friendly drop down. Maybe borrow from the archive page UI to create a set of common mainline openings as a base taxonomy
It would be cool to filter the insights by date (ie. show data for last week, last month etc.). If you're interested, I might look into contributing a PR to add this.
Some time last month the chess.com developers announced they will be requiring developer contact information in the headers of all requests to their public API.
According to the post:
Processes without a user-agent with contact information will return a 403 Forbidden response.
The deadline to integrate this into projects was June 20th (six days ago). I became aware of this yesterday.
Fortunately this seems to have been temporarily delayed as all the requests made by chessinsights.xyz still work properly and I verified this with curl using deliberately empty headers.
Their post doesn't directly address why they are rolling out authentication but reading through the lines on this sentence it seems they are experiencing an unusually high amount of traffic to their endpoints.
The user-agent should include a contact email and/or your chess.com username to allow communication about processes generating abnormal or excessive load on API endpoints
Obviously this is the most important but there's a small risk of having requests with my user agent blacklisted by trusting random clients carry its reputation. In fact there's nothing stopping anyone from finding a developers email or chess.com username and going nuts with a python script. Maybe that's why this hasn't been rolled out yet?
Users spam requests for the same user within a short time frame. Cache the data in a database for a window of time and return it instead of triggering a new archive request every time.
Permanently store an archive of celebrity accounts and regularly update them on a crontab to prevent 100 full downloads of GothamChess a week.
Requiring oAuth for API access seems to be where this is all going. Getting ahead of it now will help with more ambitious plans for this project that will require authentication anyway.
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.