Coder Social home page Coder Social logo

if_sharecode_pool's Introduction

写在前面

因为助力池那个每六小时进行检测并删除白嫖上车的,我怕被误删了不太放心,才有了这个项目!

首先这个代码写的是很垃圾,我自己都看不下去了,但为了节约时间(这项目写完都不到半个钟),没进行封装,也没用枚举、泛型、多态,而且全都在 main 方法里 🤣,但是最重要的一点,他能实现功能啊,所以就不管了,后续有时间优化一下或者重构吧!

使用

  1. fork 项目

  2. Settings -> Secrets -> New repository secret 添加环境变量,环境变量说明见下方

  3. 点击 Actions

    images

    Enable workflow

    images

  4. 然后修改仓库中的 code.txt,随便加点什么东西,最后提交查看 Actions 即可

  5. 程序默认每六个小时执行一次,可自行修改 .github/workflows/main.yml 里的 cron

环境变量说明

没加判断,所有变量都必须,缺一不可!

变量名 含义 是否必须
BEAN_CODE 种豆得豆互助码,多个请使用 & 分割
例如 xxxxxxxx&xxxxxxxx
FARM_CODE 东东农场互助码,多个请使用 & 分割
例如 xxxxxxxx&xxxxxxxx
HEALTH_CODE 健康社区互助码,多个请使用 & 分割
例如 xxxxxxxx&xxxxxxxx
JXFACTORY_CODE 京喜工厂互助码,多个请使用 & 分割
例如 xxxxxxxx&xxxxxxxx
PET_CODE 东东萌宠互助码,多个请使用 & 分割
例如 xxxxxxxx&xxxxxxxx
SGMH_CODE 闪购盲盒互助码,多个请使用 & 分割
例如 xxxxxxxx&xxxxxxxx
CFD_CODE 财富岛互助码,多个请使用 & 分割
例如 xxxxxxxx&xxxxxxxx
财富岛互助码每天都变,旧的可以用,以提交的那个为准
DDFACTORY_CODE 东东工厂互助码,多个请使用 & 分割
例如 xxxxxxxx&xxxxxxxx
BOTTOKEN Telegram Bot 的 Token,在 @BotFather 可找到,没有的自己 Google 创建一个就好啦
例如 13526677282:AAHizJsDqaTKASD808Oi33L8XPARZ8kmZb8
CHAT_ID @userinfobot 随便发条消息就有了
例如 1334649619

通知结果

true 表示互助码在池子中,false 表示不在

images

if_sharecode_pool's People

Contributors

chen77928 avatar sudojia avatar

Stargazers

 avatar WannαFly avatar

Forkers

andyxpg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.