Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
weaigc committed Aug 10, 2023
1 parent 207a571 commit 54812c8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,18 @@ npm run start

* 使用 Docker 启动
```bash
git clone https://github.com/weaigc/bingo.git
docker build . -t bingo
docker run --rm -it -e BING_HEADER=xxxx -p 7860:7860 bingo
docker run --rm -it -p 7860:7860 weaigc/bingo
# 或者
docker run --rm -it -e BING_HEADER=xxxx -p 7860:7860 weaigc/bingo
```

## 如何获取 BING_HEADER
> 配置了 BING_HEADER 意味着你将自己的账号共享给所有使用此服务的人,如果不需要免登录画图的功能,不建议设置此变量
打开 https://www.bing.com 并登录,然后访问 https://www.bing.com/turing/captcha/challenge,通过人机校验,然后

![BING HEADER](./docs/images/curl.png)


> 复制出来的内容应该如下所示。确认格式无误后,打开 https://effulgent-bubblegum-e2f5df.netlify.app/#dialog=%22settings%22 ,粘贴进去,点击“转成 BING_HEADER 并复制”,然后从剪切板粘贴即可得到。(你也可以先在网页上进行验证)
以下是格式参考,需要注意的是,网页端保存的格式是以`curl`开头, 而服务端配置的 `BING_HEADER``base64` 格式,两者不能互通。
Expand Down

0 comments on commit 54812c8

Please sign in to comment.