Code Monkey home page Code Monkey logo

juejin-helper's Introduction

掘金助手

无需复制 cookie,直接部署后托管就行,懂我意思吧

008hT4DMly1gwphdd018zg306y068axz.gif

功能清单

  • 每日签到
  • 每日沾喜气
  • 每日免费抽奖
  • 每日成长任务
  • 邮件通知

【new】成长任务说明

发布文章,发布评论,点赞等相关操作都会有的对应的删除和取消操作,避免污染账号。

  • 2022/07/14 取消点赞、删除文章\评论等操作会导致扣分,现已修改为保存至record.json 第二天运行任务时再删除

使用 github workflows 进行托管

https://github.com/chinjiaqing/juejin-helper

大约在每天的北京时间 8:00 左右执行

  1. Fork 仓库

  2. 在仓库 Settings->Secrets->Actions中添加如下几个变量:

NAME VALUE
EMAIL_USER 发送邮件的邮箱账号
EMAIL_PASS 发送邮件的授权码
USER_MOBILE 掘金账号 - 手机号
USER_PASSWORD 掘金账号 - 密码
USER_EMAIL 接收通知的邮箱账号
  1. Settings->Actions确保 actions 是开启状态

  2. 关于发送邮件通知,本项目通知使用的是网易 163 邮箱,如果你想使用其他邮件服务商进行推送,记得在config.jsemail.provider选项中进行配置修改

本地开发调试

  1. clone 本仓库
  2. 在项目根目录新建 .env 文件,内容如下:
# 发送邮件的邮箱账号
EMAIL_USER=""

# 发送邮件的授权码
EMAIL_PASS=""

# 掘金账号 - 手机号
USER_MOBILE=""

# 掘金账号 - 密码
USER_PASSWORD=""

# 接收通知的邮箱账号
USER_EMAIL=""
  1. npm install 安装完依赖后,执行 node index 即可

  2. puppeteer/browser.js 中 配置 headless:false 可显示浏览器界面(部署时记得改为 true)

juejin-helper's People

Contributors

chinjiaqing avatar

Watchers

 avatar

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.