Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuyinws/steam-card
⚡ Generate Your Steam Profile Card Quickly/快速生成你的Steam资料卡片⚡
https://github.com/yuyinws/steam-card
steam
Last synced: 5 days ago
JSON representation
⚡ Generate Your Steam Profile Card Quickly/快速生成你的Steam资料卡片⚡
- Host: GitHub
- URL: https://github.com/yuyinws/steam-card
- Owner: yuyinws
- License: mit
- Created: 2021-12-29T13:18:35.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T01:22:13.000Z (5 months ago)
- Last Synced: 2024-12-13T02:38:49.513Z (12 days ago)
- Topics: steam
- Language: TypeScript
- Homepage: https://card.yuy1n.io
- Size: 3.63 MB
- Stars: 224
- Watchers: 1
- Forks: 36
- Open Issues: 0
-
Metadata Files:
- Readme: README-CN.md
- License: LICENSE
Awesome Lists containing this project
README
简体中文 | English
## 🔥 特性
- **动态生成**: 卡片内容会根据你的Steam状态动态生成
- **用户友好**: 通过[在线配置页面](https://card.yuy1n.io)生成你的Steam资料卡片
- **国际化**: 支持多种语言
- **可定制化**: 超过10项的可定制化项目
- **可部署**: 支持以`Vercel`, `Netlify`, `Railway`或者 `Docker`方式部署## 📦 部署
> **Note**
> 卡片信息每24小时更新一次,如果你想要更短的卡片信息更新时间,可以自己部署该项目。**环境变量**
| 名称 | 描述 | 示例 |
| ----------- | ----------- | ----------- |
| NUXT_STEAM_KEY | [Steam Api Key](https://steamcommunity.com/dev/apikey) | 5B23D7ECExxxxxxB58C57BC242 |
| NUXT_CACHE_TIME | 请求缓存时间(秒) | 3600 |### PaaS
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fyuyinws%2Fsteam-card&env=NUXT_STEAM_KEY,CACHE_TIME)
[![Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/yuyinws/steam-card)
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/ajXBZ6?referralCode=fpKTNq)
[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/JREX1V)
### Docker
```shell
docker pull lyc575757/steam-card
``````shell
docker run -d \
-e NUXT_STEAM_KEY=5B23D7ECE730xxxxxxxxx57BC242 \
-e NUXT_CACHE_TIME=3600 \
-p 3000:3000 \
lyc575757/steam-card
```## ⚒️ 开发
> **Note**
> 前置条件:
>
> **Node >=16**
>
> **[Steam Api Key](https://steamcommunity.com/dev/apikey)**```shell
复制配置文件
cp .env.example .env
```将你的Steam API KEY添加到配置文件中
```shell
NUXT_STEAM_KEY=YOUR_STEAM_KEY
``````shell
# 安装依赖
pnpm install
# 或
yarn install
# 或
npm install# 启动服务
npm run dev
```## ❤️ Credits
灵感来自[github-readme-stats](https://github.com/anuraghazra/github-readme-stats)