基于
Node.js,实现自动维护您的图片
yarn install
## 开发版本,支持热重载
yarn run dev
## 通过 PM2 防止意外崩溃
## 不要在非服务器上运行该命令
yarn run startid 仅仅是为了方便出错时候显示
cookie 必填, 用户的Cookie
[
  {
    "id": "xxx",
    "cookie": "__client_id=xxx; _uid=xxx;"
  },
  {
    "id": "xxx",
    "cookie": "__client_id=xxx; _uid=xxx;"
  }
]- 
data数据数组,加载data文件夹对应的json文件- 
name必填json文件名字 - 
xx轴偏移量 - 
yy轴偏移量 
 - 
 - 
checkDuration重新加载地图时间间隔,推荐20s - 
postDuration每次post时间间隔,推荐15s 
{
  "data": [
    {
      "name": "bread",
      "x": 736,
      "y": 336
    }
  ],
  "checkDuration": 500,
  "postDuration": 30
}scripts 文件夹下提供了基本的 python 脚本
main.py将图片根据洛谷提供的键值,根据最小色差进行转换
src 文件夹下有几个基本的功能
- 
corstodo 将前端支持跨域 - 
drawertodo 提供登陆和提交cookie - 
posterfinished 维护您洛谷绘板的图片 
this project follow MIT LICENSE