Skip to content

This script helps you upload all pictures in a folder to telegraph at once, supporting jpg,png,gif. 使用该脚本可以帮你一次性上传文件夹内所有图片到telegraph,使用方法参见README

Notifications You must be signed in to change notification settings

ztdf123/telegraph-pic-uploader

Repository files navigation

How to use?

See the link below. 中文版和英文版都在教程里

https://telegra.ph/Telegraph-pic-uploader-08-14

Fix requirements.txt

8.20修复了requirements.txt文件,把库的版本设置了

1.1 version update content description:

  1. Function increase: The size adjustment function has been added. For images that do not conform, the size can be modified in equal proportions (telegraph only allows images whose height and width are less than 5600px).
  2. Logic modification: Also upload all subfolders in the input folder separately.
  3. Logic modification: The title is automatically set as the folder name, no need to input.
  4. Program optimization: slightly improve the compression speed of large images.
  5. Program optimization: The default upload interval is adjusted to 2 seconds. It is recommended to set it according to your network environment.

8.28 更新1.1版本

版本更新内容说明:

  1. 功能增加:增加了尺寸调整功能,对于不符合的图片,等比例修改尺寸(telegraph只允许高和宽都小于 5600px 的图片)。
  2. 逻辑修改:对输入文件夹内的所有子文件夹也分别进行上传。
  3. 逻辑修改:标题自动设置为文件夹名称,不需要输入。
  4. 程序优化:略微提升大图片压缩速度。
  5. 程序优化:默认上传间隔时间调整为2秒,建议根据你的网络环境自行设置。

About

This script helps you upload all pictures in a folder to telegraph at once, supporting jpg,png,gif. 使用该脚本可以帮你一次性上传文件夹内所有图片到telegraph,使用方法参见README

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages