Skip to main content

Save uploaded pictures in Sm.ms.

Project description

这是基于 picbed 的一个小的扩展模块,用来将上传的图片保存到 sm.ms公共图床

安装

  • 正式版本

    $ pip install -U up2smms

  • 开发版本

    $ pip install -U git+https://github.com/staugur/picbed-up2smms.git@master

开始使用

此扩展请在部署 picbed 图床后使用,需要 其管理员进行添加扩展、设置钩子等操作。

添加:

请在 站点管理-钩子扩展 中添加第三方钩子,输入名称:up2smms, 确认后提交即可加载这个模块(请先手动安装好此模块)。

配置:

站点管理-网站设置 底部的钩子配置区域配置sm.ms的API Secret Token, 若不配置,那么则会匿名上传sm.ms!

使用:

同样在 站点管理-网站设置 上传区域中选择存储后端为up2smms即可, 后续图片上传时将保存到sm.ms!

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for up2smms, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size up2smms-0.1.0-py2-none-any.whl (2.9 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size up2smms-0.1.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page