Giter Site home page Giter Site logo

text_to_slack_gif's Introduction

text to slack gif

這是一個簡單的 Python 腳本,可以把文字轉成 slack 格式的 gif,解決你需要開好幾個線上服務一直轉換的問題。
做出師表 gif 只需要一瞬間!

This is a simple Python script that can convert text into gif in slack format, which solves the problem that you need to open several online services and keep converting.

在我的 Mac 上測試 ok!
Test on MacBook ok!

Basic usage

Download app.zip from Releases.

./app -t "臣亮言:先帝創業未半,而中道崩殂。今天下三分,益州疲弊,此誠危急存亡之秋也。"

or run python script.

python3 app.py -t "臣亮言:先帝創業未半,而中道崩殂。今天下三分,益州疲弊,此誠危急存亡之秋也。"

Advanced usage

However, you can get different type gif by adjusting frame and delay.
The default values for frame and delay are 5 and 100 respectively.

python3 app.py -t "臣亮言:先帝創業未半,而中道崩殂。今天下三分,益州疲弊,此 誠危急存亡之秋也。"

image

python3 app.py -t "臣亮言:先帝創業未半,而中道崩殂。今天下三分,益州疲弊,此 誠危急存亡之秋也。" -f 1 -d 500

image

python3 app.py -t "臣亮言:先帝創業未半,而中道崩殂。今天下三分,益州疲弊,此 誠危急存亡之秋也。" -d 30

image

Build

sh make.sh

text_to_slack_gif's People

Contributors

pttcodingman avatar

Stargazers

 avatar

Watchers

James Cloos 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.