爱意满满的作品展示区。
sologgfun

[1024 机器人大作战] 程序员的好助手&设计狮的小帮手!—TinyBear 图片压缩机器人~

  •  
  •   sologgfun · Oct 31, 2018 · 1367 views
    This topic created in 2834 days ago, the information mentioned may be changed or developed.

    TinyPic

    基于 hubot 和以 bearchat 作为 adapter 的机器人!

    通过大名鼎鼎的 https://tinypng.com/提供的 API 完成图片压缩并返回

    是程序员的好助手,设计狮的小帮手---rua!!!

    机器人名字叫做“ TinyBear ”!

    创意描述: 程序员设计师朋友们肯定在工作中需要压缩图片,上面的 tinypng 地址也经常用吧!有了 TinyBear 就不需要每次打开 web 页面再下载啦!

    主要功能和使用

    git clone => npm install => 在 bin 文件夹里填上自己的 Hubot Token

    具体见 https://github.com/bearyinnovative/hubot-bearychat/blob/master/README_CN.md

    ①将图片 url 地址传给 TinyBear 机器人它就会返回压缩后的图片啦

    pic1 pic2 pic3

    (压缩率还是很高的,第三幅图的前两个压缩率比较低是因为之前压缩过一次啦)

    作品链接 https://github.com/sologgfun/1024TinyPic

    (附上滴滴云上的图床代码 https://github.com/sologgfun/myImgur)

    2 replies    2018-10-31 12:36:18 +08:00
    BearyChat
        1
    BearyChat  
       Oct 31, 2018
    赞!在团队里没有搜索到你诶,加一下 https://dc.tt/team,我们一起把机器人配置上去
    sologgfun
        2
    sologgfun  
    OP
       Oct 31, 2018
    @BearyChat 我在阿,id 就是 sologgfun
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   952 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:26 · PVG 03:26 · LAX 12:26 · JFK 15:26
    ♥ Do have faith in what you're doing.