static.jaschen.life

极简静态 HTML 托管 · 一行命令发布

创建 API Key

输入邮箱,收取验证码,即可生成。

安装 CLI

mkdir -p ~/.local/bin && curl -sSL https://static.jaschen.life/cli -o ~/.local/bin/staticcli && chmod +x ~/.local/bin/staticcli && export PATH="$HOME/.local/bin:$PATH" && echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc

使用流程

1
获取 API Key

在上面输入邮箱,查收验证码

2
配置 CLI

staticcli set-key sk_xxx

3
发布 HTML

staticcli publish index.html

4
获得永久短链

https://static.jaschen.life/AbCdEf12

已有 Key?登录管理面板 →