gmail_code

本地 Gmail 授权与验证码网关。当前一期只提供一个项目能力:通过授权过的 Gmail 账号提取 DeepSeek 验证码。页面负责 OAuth 授权和系统密码设置,接口负责对外获取验证码。

系统状态

当前 OAuth client 还没有配置本地 localhost 回调,所以授权完成后需要把浏览器最终跳转的 URL 粘贴回来。
credentials_file=/opt/gmail_code/client_secret.json token_cache_dir=/opt/gmail_code/gmail_code/token_cache suggested_callback=https://gmail.freeopenai.me/oauth2/callback

设置接口密码

系统密码已配置,API 调用时必须传入正确的 auth_token

授权 Gmail

支持项目

  • deepseek Fetch the latest DeepSeek verification code from an authorized Gmail inbox.

已授权邮箱

  • ._gmail_token_linlang156@gmail.com status=reauth_required | token_file= last_error='utf-8' codec can't decode byte 0xa3 in position 45: invalid start byte
  • ._gmail_token_linlang8781@gmail.com status=reauth_required | token_file= last_error='utf-8' codec can't decode byte 0xa3 in position 45: invalid start byte
  • ._gmail_token_qq781456868@gmail.com status=reauth_required | token_file= last_error='utf-8' codec can't decode byte 0xa3 in position 45: invalid start byte
  • linlang156@gmail.com status=active | token_file=/opt/gmail_code/gmail_code/token_cache/gmail_token_linlang156_gmail.com.json
  • linlang8781@gmail.com status=active | token_file=/opt/gmail_code/gmail_code/token_cache/gmail_token_linlang8781_gmail.com.json
  • qq781456868@gmail.com status=active | token_file=/opt/gmail_code/gmail_code/token_cache/gmail_token_qq781456868_gmail.com.json

API 调用方式

GET /api/code?project=deepseek&mail=xxxx@gmail.com&auth_token=your-token
如果你的 OAuth client 还没有配置本地回调,请去 Google Cloud Console 给当前 client 增加:https://gmail.freeopenai.me/oauth2/callback