GithubHelp home page GithubHelp logo

itldg / docimagedownload Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 151 KB

分析 VuePress 文档中的图片链接并下载,可将图片转码为 Avif 格式,更加节省空间

License: MIT License

C# 100.00%

docimagedownload's Introduction

VuePress 图片下载工具

分析 VuePress 文档中的图片链接并下载,可将图片转码为 Avif 格式,更加节省空间

preview

Description:
  分析 VuePress 文档中的图片链接并下载,可将图片转码为 Avif 格式,更加节省空间

Usage:
  DocImageDownload [command] [options]

Options:
  -dd, --doc_dir <doc_dir>  MD文档存放文件夹 [default: src]
  -id, --img_dir <img_dir>  图片存放文件夹 [default: src\.vuepress\public]
  -nc, --no_convert         不转换图片格式为 Avif [default: False]
  --version                 Show version information
  -?, -h, --help            Show help and usage information

Commands:
  install    配置环境变量
  uninstall  移除环境变量

使用方法

在文档的根目录下运行以下命令

DocImageDownload

如果您的目录结构不同,请使用 -dd-id 参数指定文档和图片的目录

DocImageDownload -dd src -id src\.vuepress\public

如果您不想将图片转码为 Avif 格式,请使用 -nc 参数

DocImageDownload -nc

查看帮助

DocImageDownload -h

docimagedownload's People

Contributors

itldg avatar

Stargazers

 avatar

Watchers

 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.