Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zmh-program/bilibili-stats
🍇 动态生成B站用户简介SVG图像
https://github.com/zmh-program/bilibili-stats
bilibili-api ejs express node proxy statistics typescript
Last synced: 22 days ago
JSON representation
🍇 动态生成B站用户简介SVG图像
- Host: GitHub
- URL: https://github.com/zmh-program/bilibili-stats
- Owner: zmh-program
- License: mit
- Created: 2023-03-27T16:13:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-03T10:02:01.000Z (over 1 year ago)
- Last Synced: 2024-10-27T11:50:27.346Z (about 2 months ago)
- Topics: bilibili-api, ejs, express, node, proxy, statistics, typescript
- Language: EJS
- Homepage: https://b.deeptrain.net
- Size: 841 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bilibili-extra - Bilibili-stats - 动态生成 B 站用户简介 SVG 图像.![TypeScript](svg/tsnode.svg?raw=true) (其他 / 直播脚本)
README
# [](http://b.deeptrain.net) [Bilibili Stats](http://b.deeptrain.net)
### 🍇 动态生成B站用户简介SVG图像
### [| 👀 |](http://b.deeptrain.net)
### 预览
![何同学](/screenshot/he.png)
![Linwin](/screenshot/linwin.png)
![zmh](/screenshot/zmh.png)### 介绍
- ✔ **Typescript** + **Express** + **EJS**
- ✔ **SSR** 服务端渲染
- ✔ **User-Agent** 处理
- ✔ B站 **CDN** 拦截代理
- ✔ 函数**缓存**
- ✔ **异常处理**
- ✔ **SVG 动画**
- ✔ **Fetch**### 提示
1. [**B站API**](/http)变更后可能会异常
2. SVG可能并不支持引入后引入其他非SVG/BASE64图片格式, 所以现在不能外部引入 (如放入Github README中装饰将会有UP主背景图和头像显示不全问题)
- > 解决方案: fetch请求, 直接插入xml数据, 而不是img直接src引入svg, 具体可参考[首页](/public/index.html)