Giter Site home page Giter Site logo

screenshot's Introduction

友链全自动截图

原项目为https://github.com/ChenYFan/ScreenShot

https://github.com/Akilarlxh/ScreenShot/blob/main/.github/workflows/get.yml按照格式提交PR【禁止更改大小参数】

添加一行

curl https://image.thum.io/get/width/400/crop/800/allowJPG/wait/20/noanimate/https://<YourDomain>/ -o <YourDoamin>.jpg

允许非友链添加截图请求

默认大小400*266 默认宽度未width后面的像素值。crop的计算方法有些不同,虽然官方文档说是高度像素,但是实际测试发现应该是height=width*(crop/1200)。具体文档可以访问https://image.thum.io查看。

可在https://cdn.jsdelivr.net/gh/Akilarlxh/ScreenShot@gh-pages/看到预览图

可能不适配pjax

【本来是直接txt文件批量下载的,奈何GithubAction的curl不能识别大括号下载方式】

screenshot's People

Contributors

chenyfan avatar akilarlxh avatar drew233 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.