wao3 / luogu-stats-card Goto Github PK
View Code? Open in Web Editor NEW动态生成洛谷个人练习数据卡片
Home Page: https://luogu.wao3.cn
License: MIT License
动态生成洛谷个人练习数据卡片
Home Page: https://luogu.wao3.cn
License: MIT License
既然有“12小时缓存”,那么我建议在卡片上添加一个“最后更新于:xxxx年xx月xx日xx:xx:xx”的标签,且可以自由选择隐藏
我的用户编号为 712378 ,在洛谷上是正常的,但是我在网页上输入这个编号时,出现的用户名是 NULL
,练习情况也无法显示,都是0题。请帮忙解决。
很好用,已布置到个人主页,已给star+watch,谢谢
只是发现一个小细节:
在洛谷,只有红名,橙名,棕名和紫名是粗体,但是您的卡片显示所有的名字颜色都是粗体。
还有,(前)管理及作弊者的tag无法显示。
我将您的项目进行了二次开发,得到了cyrxdzj/luogu-card项目,新增了一些内容,请参考。
谢谢!
在用 html 显示咕值的教程里,链接显然是写错了。
我看到您使用的无服务器函数提供商是vercel
,我也正在使用。但是,如何实现缓存数据呢?(我也在写一个类似的项目,因GitHub api限制被困扰)
在生成咕值卡片时,其实可以这样:
1,通过爬取个人主页来获得此人的咕值排名。
2,判断咕值排名是否小于或等于500。如果是,就直接从咕值排名页面中爬取此人的咕值。如果不是,再根据用户给出的咕值来生成卡片。
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.