Code Monkey home page Code Monkey logo

qiandao's Introduction

qiandao

签到 —— 一个自动签到框架 base on an HAR editor

HAR editor 使用指南:https://github.com/binux/qiandao/blob/master/docs/har-howto.md

相关项目

qiandao-today/qiandao: 基于本项目发布的新版框架地址, 现由 @a76yyyy 更新维护中

支持旧版数据库直接迁移,请提前做好数据库备份

Web

需要 python2.7, 虚拟主机无法安装

apt-get install python-dev autoconf g++ python-pbkdf2
pip install tornado==4.5.3 u-msgpack-python jinja2 chardet requests pbkdf2 pycrypto

可选 redis, Mysql

mysql < qiandao.sql

启动

./run.py

数据不随项目分发,去 https://qiandao.today/tpls/public 查看你需要的模板,点击下载。 在你自己的主页中 「我的模板+」 点击 + 上传。模板需要发布才会在「公开模板」中展示,你需要管理员权限在「我的发布请求」中审批通过。

设置管理员

./chrole.py [email protected] admin

使用Docker部署站点

可参考 Wiki Docker部署签到站教程

qiandao.py

pip install tornado u-msgpack-python jinja2 chardet requests
./qiandao.py tpl.har [--key=value]* [env.json]

config.py

优先用mailgun方式发送邮件,如果要用smtp方式发送邮件,请填写mail_smtp, mail_port, mail_ssl, mail_user, mail_password

mail_smtp = ""      # 邮件smtp地址
mail_port = 465     # 邮件smtp端口,非SSL默认端口为25
mail_ssl = True     # 邮件smtp是否使用SSL
mail_user = ""      # 邮件smtp账户
mail_passowrd = ""  # 邮件smtp密码
mail_domain = "mail.qiandao.today"
mailgun_key = ""

鸣谢

+雪月秋水 GetCookies项目

许可

MIT

qiandao's People

Contributors

binux avatar c1ay avatar abriko avatar eromoe avatar a76yyyy avatar zc3945 avatar fangzhengjin avatar goshin avatar 15cm avatar tinpont avatar legendtang avatar wen-long avatar z4jst 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.