# 机场自动签到
做这个项目主要是看到最近冒出来许多机场注册就能白嫖,签到就送流量。然后又顺便拿这个项目学习一下Github Actions。
请注意,本项目不讨论跟fq有关的话题,仅仅是技术讨论,不要询问白嫖jc等内容!!!
## 功能
废话,肯定就是机场自动签到啊。
## 部署
https://xcao.top/post-278.html 水了个博文,操作更详细
1. Fork此仓库
2. 到`Settings`→`Secrets`→`Actions` 添加以下参数:
| 参数 | 是否必须 | 内容 | 示例 |
| ------------ | ------------ | ------------ | ------------ |
| EMAIL | 是 | 注册机场所用邮箱 | [email protected] |
| PASSWORD | 是 | 注册机场所用密码 | password1 |
| BASE_URL | 是 | 机场地址 | https://examplea.com |
| SCKEY | 否 | Sever酱秘钥 | SCTxxxxxxxxxxxxxx |
| TGBOT | 否 | Telegram推送bot | 5xxxxxxx:xxxxxxxxx |
| TGUSERID | 否 | Telegram推送人id | 8xxxxxxxxx |
3. 转到`Actions`创建一个workflow,运行一次,以后每天项目都会自动运行。最后,可以到Run sign查看签到情况,同时也会通过Sever酱发送出去。
## 参考
1. https://github.com/zhjc1124/ssr_autocheckin 用了他的机场签到代码。
2. https://github.com/sirodeneko/genshin-sign 参考其Actions的yml。
~~(两个仓库均无许可证,让我有点蒙)~~
最近仓库https://github.com/sirodeneko/genshin-sign 增加了GPL许可证,在征求作者同意后,本仓库依旧保持使用MIT许可证进行开源,以下为与作者通信邮件
[![](https://raw.githubusercontent.com/xiaocao666tzh/imghosting/main/image.png)](https://raw.githubusercontent.com/xiaocao666tzh/imghosting/main/image.png)
## 赞助我
[![](https://raw.githubusercontent.com/xiaocao666tzh/imghosting/main/img/%E4%B8%87%E8%83%BD%E6%94%B6%E6%AC%BE%E7%A0%81-%E8%8D%89%E3%81%AE%E5%8D%9A%E5%AE%A2.png)](https://raw.githubusercontent.com/xiaocao666tzh/imghosting/main/img/%E4%B8%87%E8%83%BD%E6%94%B6%E6%AC%BE%E7%A0%81-%E8%8D%89%E3%81%AE%E5%8D%9A%E5%AE%A2.png)