1.0.2 • Published 3 months ago

hexo-better-steam v1.0.2

Weekly downloads
-
License
Apache Licence 2....
Repository
github
Last release
3 months ago

hexo-better-steam

修改了HCLonely/hexo-steam-games: 为Hexo添加Steam游戏库页面 (github.com)的插件,使steam数据保存于_data路径下,与其他类似功能插件一致,满足Vercel部署需求。

只有一个账号时:

steam:
  enable: true
  steamId: '******'
  apiKey: '******'
  path: : /steam/index.html
  title: Steam 游戏库
  quote: '来来来,走过路过别错过,有空一起玩游戏~~~'
  tab: all
  length: 1000
  imgUrl: 
  proxy:
    host:
    port:

多个账号时:

steam:
  enable: true
  apiKey: '******'
  path: /steam/index.html
  title: Steam 游戏库
  steamInfos: # 多账号配置
    - id: '******' # 主账号
      principal: true
    - id: '******' # 分账号
      principal: false
      ... # 同单个账号的其他参数
  quote: '来来来,走过路过别错过,有空一起玩游戏~~~'
  tab: all
  length: 1000
  imgUrl: 
  proxy:
    host:
    port:
  • enable: 是否启用

  • apiKey: Steam 网页 API Key(新版需要API Key才能获取到游戏信息,点此注册 API Key),或者手动获取游戏库数据

  • steamId: steam 64位Id(需要放在引号里面,不然会有BUG), 需要将steam库设置为公开!

  • steamInfos: 多账号配置

  • path: 游戏页面路径,默认steamgames/index.html

  • title: 该页面的标题

  • quote: 写在页面开头的一段话,支持html语法

  • tab: allrecent, all: 所有游戏, recent: 最近游玩的游戏

  • length: 要显示游戏的数量,游戏太多的话可以限制一下

  • imgUrl: 图片链接,在quote下面放一张图片,图片链接到Steam个人资料,可留空

  • proxy

    : 如果无法访问steam社区的话请使用代理

    • host: 代理ip或域名
    • port: 代理端口
  • extra_options: 此配置会扩展到Hexo的page变量中

1.0.2

3 months ago

1.0.1

5 months ago

1.0.0

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago