├── .gitignore ├── punch_in ├── images ├── fork.png ├── secrets.png ├── test_ok.png ├── new_secret.png ├── test_run.png └── save_secret.png ├── .github └── workflows │ └── punch_in.yml └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | 3 | .idea/ 4 | *.iml 5 | 6 | 7 | -------------------------------------------------------------------------------- /punch_in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forchannot/comic-auto-punch-in/HEAD/punch_in -------------------------------------------------------------------------------- /images/fork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forchannot/comic-auto-punch-in/HEAD/images/fork.png -------------------------------------------------------------------------------- /images/secrets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forchannot/comic-auto-punch-in/HEAD/images/secrets.png -------------------------------------------------------------------------------- /images/test_ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forchannot/comic-auto-punch-in/HEAD/images/test_ok.png -------------------------------------------------------------------------------- /images/new_secret.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forchannot/comic-auto-punch-in/HEAD/images/new_secret.png -------------------------------------------------------------------------------- /images/test_run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forchannot/comic-auto-punch-in/HEAD/images/test_run.png -------------------------------------------------------------------------------- /images/save_secret.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forchannot/comic-auto-punch-in/HEAD/images/save_secret.png -------------------------------------------------------------------------------- /.github/workflows/punch_in.yml: -------------------------------------------------------------------------------- 1 | name: Punch In 2 | 3 | on: 4 | schedule: 5 | - cron: 55 13 * * * 6 | workflow_dispatch: 7 | 8 | jobs: 9 | punch_in: 10 | runs-on: ubuntu-20.04 11 | env: 12 | ACCOUNTS: ${{ secrets.ACCOUNTS }} 13 | steps: 14 | - name: "checkout" 15 | uses: actions/checkout@v1 16 | - name: "Punch in" 17 | run: ./punch_in 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | COMIC AUTO PUNCH IN 2 | =================== 3 | 4 | 一款多平台自动打卡工具 5 | 6 | ## 如何使用 7 | 8 | ### FORK仓库 9 | 10 | 去项目的原始仓库点击FORK, 将项目复制到自己的账号中 11 | 12 | https://github.com/niuhuan/comic-auto-punch-in 13 | 14 | ![](images/fork.png) 15 | 16 | ### 设置账号以及密码 17 | 18 | #### 在自己的仓库中点击设置并找到 Secrets/Actions 19 | 20 | ![](images/secrets.png) 21 | 22 | #### 新建密钥 23 | 24 | ![](images/new_secret.png) 25 | 26 | #### 账号密码 27 | 28 | 将下面的json账号密码修改成自己的, 添加成叫 ACCOUNTS 的密钥并保存 29 | 30 | ![](images/save_secret.png) 31 | 32 | ```json 33 | [ 34 | { 35 | "type": "bika", 36 | "username": "username", 37 | "password": "password" 38 | }, 39 | { 40 | "type": "jinman", 41 | "username": "username", 42 | "password": "password" 43 | } 44 | ] 45 | ``` 46 | 47 | #### 测试运行 48 | 49 | 如果测试无误每天会自动进行一次签到 50 | 51 | ![](images/test_run.png) 52 | 53 | ![](images/test_ok.png) 54 | 55 | ## 作者信息 56 | 57 | https://github.com/niuhuan 58 | 59 | 作为一个死宅, 开发很多无广告二次元漫画阅读器, 欢迎去Star。 60 | 61 | 62 | --------------------------------------------------------------------------------