redheadphone / codeforces-readme-stats Goto Github PK
View Code? Open in Web Editor NEW⚡ Dynamically generated Codeforces stats for your Github profile!
Home Page: https://codeforces-readme-stats.vercel.app
License: MIT License
⚡ Dynamically generated Codeforces stats for your Github profile!
Home Page: https://codeforces-readme-stats.vercel.app
License: MIT License
Make Codeforces rank color look good in both light and dark mode .Hex code for each rank can be found here
Possible fix
Whenever Codeforces contests are live, their API gets slow, and as a result, my API gives FUNCTION_INVOCATION_TIMEOUT
error because of the Vercel limits.
One solution to that can be a custom API cache adapter at the backend to cache codeforces API that saves the last 200 response data separately along with a time limit for temporary cache. So when data is not found in the temporary cache, it calls API, and if API gives an error or takes more than some seconds, it returns the last 200 response data.
Most probably, there is some change in the CF API that might be causing this issue.
API used to count problems solved: https://codeforces.com/api/user.status?handle=[username]
Function which counts it: src/pages/api/card.js
Codeforces username for which it doesn't matches: adamant, Benq, etc
related #3
setting height="500" to img tag with src="https://codeforces-readme-stats.vercel.app/api/card?username=redheadphone"
This issue entails updating Next.js and its associated packages to their latest versions in order to address any potential security vulnerabilities identified by GitHub's security scanning mechanisms. It's crucial to ensure that our project remains secure and up-to-date with the latest patches and fixes. This update will involve thorough testing to ensure compatibility and stability within our application.
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.