Giter Site home page Giter Site logo

atc's Introduction

Atc:Abbey微博图床计划

Feature:

  1. 上传模式,支持:拖拽文件、点击上传、复制粘贴(截图之后粘贴板有图片信息)
  2. 支持批量上传
  3. 支持选择图片大小

安装使用

  1. 下载代码
cd /home
git clone https://github.com/abbeyokgo/Atc.git
cd Atc
mkdir upload
  1. 配置账号信息 编辑config.py
  • 微博账号密码
  • 云打码账号密码

ps. 配置云打码是为了自动登录微博。

微博用户名密码

  • WEIBO_USERNAME:微博账号
  • WEIBO_PASSWORD:微博密码

云打码的用户名、密码

  • YUNDAMA_USERNAME:云打码账号
  • YUNDAMA_PASSWORD:云打码密码

云打码注册地址:http://www.yundama.com/index/reg

注册之后必须充值!充值1元就能用很久了!

  1. 安装依赖&运行
pip install -r requirements.txt
gunicorn -keventlet -b 0:35000 run:app

然后访问:http://ip:35000

  1. 绑定域名

参考 PyOne绑定域名

注意:端口号

  1. 配置开机启动(仅限centos7,其他系统请自行搜索)

注意目录是否正确

cp supervisord.conf.sample supervisord.conf
echo "supervisord -c /home/Atc/supervisord.conf" >> /etc/rc.d/rc.local
chmod +x /etc/rc.d/rc.local

预览

atc's People

Watchers

 avatar  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.