Skip to content

d68fbe50/teffects

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://teffects.codewithshin.com/

Text Effects - TEFFECTS

Overview

Teffects automates creating header images for your articles, email, presentation and other purposes. Tested on macOS and Ubuntu.

Requirement

  • Bash version 5 or higher.

If you are using macOS:

brew install bash

Installation

Homebrew

$ brew tap shinokada/teffects
$ brew install teffects

Awesome package manager

Using Awesome package manager:

awesome install shinokada/teffects

Apt

Download the latest debian package from releases

$ sudo apt install /path/to/teffects_XXXXX-X_all.deb

Others

Or download the repo and move to a bin directory.

Usage

You can find all options using -h or --help for each command.

$ teffects 3d -h
$ teffects arcade -h
$ teffects clip -h

Examples:

$ teffects 3d -t "Your Heading" -d ~/Downloads
$ teffects arcade -t "Awesome Heading" -d ~/Downloads
$ teffects clip -d -t "Amazing Heading" ~/Downloads

3d

Options

Find all the options using teffects 3d -h.

Examples

$ teffects 3d -d ~/Downloads

Credit

3d is inspired by Håvard Brynjulfsen's 3D letters - sugar sweet.

Animate

Options

Find all the options using teffects animate -h.

Examples

$ teffects animate -t "Teffects rocks" -s 4

Credit

Animate is inspired by Florin Pop's Letter Animation.

Arcade

Options

Find all the options using teffects arcade -h.

Examples

$ teffects arcade -t "arcade texts" -w 800 -e 300 -d ~/Downloads

Credit

Arcade is inspired by Lynn Fisher's CSS Arcade Typography: Snow Bros. 1990.

Notes

  • Use -w 2000 for a multi-line heading.
  • Not able to change a font size.

Blob

Options

Find all the options using teffects blob -h.

Examples

$ teffects blob -t "Create Your Programming Article Heading Image with Teffects" -w 1200 -e 900 -s 8

Credit

Blob is inspired by Amli's Animated Blobs Text - Multiple Colors

Bubble

This is a bubble animation effect and it will open a browser.

Options

Find all the options using teffects bubble -h.

Examples

$ teffects bubble -t "long lorem ipsum and more"  i -c "#ff2d2d" -b "#008ac1"

Credit

Bubble is inspired by html5andblog's Bubbling Text Effect

Circulate

Circulating in texts for one line. If your line is long you need to adjust with font size -s and screen width -w options.

Options

Find all the options using teffects circulate -h.

Examples

Change circulating colors using the --colors option. Use max of 6 hexdecimal colors without # symbol:

$ teffects circulate2 -t Teffects --colors "eee ed4bc7 4d76ed ccc"

Credit

Circulate is inspired by Cesar C.'s Animated text fill with svg text practice.

Clip-animate

This is a CSS clip animation effect and it will open a browser.

Options

Find all the options using teffects clip-animate -h.

Examples

$ teffects clip-animate -t "TEFFECTS CLIP ANIMATE" -v "NEW CSS ANIMATION" -u "FOR YOUR ARTICLE"

Credit

Clip-animate is inspired by Daniel Riemer's Animated text fill

Clip

Options

Find all the options using teffects click -h.

Examples

$ teffects clip -t "Bash script to clip an image to text" -w 1400 -e 900 -d ~/Downloads

Credit

Clip is inspired by this video.

Notes

Clip uses wkhtmltoimage and can't handle advanced CSS.

  • font size should be px.
  • Not able to use flex.

Covfete

Options

Find all the options using teffects covfete -h.

Examples

$ teffects covfete -t "Medium Article Title" -w 1450

Credit

Covfete is inspired by Background clipping covfefe by Stephanie.

Dashed-shadow

Options

Find all the options using teffects dashed-shadow -h.

Examples

$ teffects dashed-shadow -t "Awesome"

Credit

Dashed-shadow is inspired by Lucas Bebber's CSS Dashed Shadow.

Glow

This is a CSS animation effect and it will open a browser.

Options

Find all the options using teffects glow -h.

Examples

$ teffects glow -t "Teffects Glow Effects" -l "2px" -p 150px -g "#ff3299"

Credit

Glow is inspired by kiran raj r's Css Text Effect--Glow Effect3

Jump

This is a CSS animation effect and it will open a browser.

Options

Find all the options using teffects jump -h.

Examples

$ teffects jump
$ teffects jump -t "LOREM IPSUM" -c "#eee" -b "#EF6667" -s 4

Credit

Jump is inspired by kiran raj r's Css Text Effect--fade Effect

Layer

Options

Find all the options using teffects layer -h.

Examples

$ teffects layer -t Teffects -w 1040 -e 400

Credit

Layered text-shadow effect CSS by Shireen Taj

Neon

Options

Find all the options using teffects neon -h.

Examples

$ teffects neon -t "Teffects NEON LIGHTS" -b purple -s 80 -e 800 -w 1020

Credit

Neon light text by Sarah Fossheim

New-neon

Options

Choose different neon styles by using the -n option with any number from 1 to 9.

Find all the options using teffects new-neon -h.

Examples

$ teffects new-neon -t "Teffects NEON LIGHTS" -n 5

Credit

Erik Jung's Neon text-shadow effect

Pinchy

Options

Find all the options using teffects pinchy -h.

Examples

$ teffects pinchy -w 1200 -e 400

Credit

Inspired by Pinchy Type with CSS text-shadow by Bennett Feely

Popart

Options

Find all the options using teffects popart -h.

Examples

$ teffects popart -t "Bold, bright and brash" -e 600
$ teffects popart -t "Bold, bright" -e 600 -b purple -s 200 -a left

Credit

Typo triple by creatz

Retro

Options

Find all the options using teffects retro -h.

Examples

$ teffects retro -t Super -s Duper -d ~/Downloads

Credit

Retro is inspired by Yoav Kadosh's Retro Text Effect Pure CSS.

Reveal

Options

Find all the options using teffects reveal -h.

Examples

$ teffects reveal -u "More text here" -d "And more and more" -s 8 -b "#333" -f "#123" -g "#ff3344" -c "#fff"

Credit

Reveal is inspired by Artur Sedlukh's GSAP text reveal animation.

Rotate

This is a CSS animation effect and it will open a browser.

Options

Find all the options using teffects rotate -h.

Examples

$ teffects rotate -t "Create header image" -s 4 "for Medium article" "for Blog" "for Email" "for Presentation" "for socila media" "from terminal"

Credit

Rotate is inspired by Rachel Smith's Rotating text.

Shade

This is a CSS animation effect and it will open a browser.

Options

Find all the options using teffects shade -h.

Examples

$ teffects shade -t "Teffects Shade" -s 20 -e 600

Credit

Shade is inspired by Shaded Text by Rafael González.

Shadow

Options

Find all the options using teffects shadow -h.

Examples

$ teffects shadow -t "Awesome"

Credit

Shadow is inspired by Styling Text with SVG (Second Shadow) by Code School.

Shadow2

Options

Use the -y parameter with elegant | deep | inset | retro | long

Find all the options using teffects shadow2 -h.

Examples

$ teffects shadow2 -t "Awesome" -y deep

Credit

Shadow2 is inspired by Jorge Epuñan's CSS3 text-shadow effects and roikles's Long Shadow Gradient Mixin.

Silent film

Options

Find all the options using teffects silentfilm -h.

Examples

$ teffects silentfilm

Credit

Silentfilm is inspired by Dimitra Vasilopoulou's Silent Movie Text Effect.

Smoky

Options

Find all the options using teffects smoky -h.

Examples

$ teffects smoky -t "Teffects rocks" -s 4

Credit

Smoky is inspired by Bennett Feely's Smoky Text.

Split

This is a CSS animation effect and it will open a browser.

Options

Find all the options using teffects split -h.

Examples

$ teffects split -t AWESOME -w 800 -e 200 -d ~/Downloads
$ teffects split -t "AWESOME" -c "#4465aa" -b "#f4e990" -w 900 -e 500 -d ~/Downloads

Credit

Split is inspired by Håvard Brynjulfsen's Split text with clip-path.

Squiggle

Options

Find all the options using teffects squiggle -h.

Examples

You can add HTML text as the following example:

$ teffects squiggle -t 'Squiggly Text
  <p class="small">– with – <p/>
  SVG Filters
  <p class="small">(you can even edit this text)</p>
  <p class="smaller">(Here more text)</p>'

Credit

Squiggle is inspired by Squiggly Text by Lucas Bebber.

Sticker

Options

Find all the options using teffects sticker -h.

Examples

$ teffects sticker -t Teffects -S Rocks -d ~/Downloads

Credit

Sticker is inspired by Stephanie Eckles's CSS Sticker.

Stripe

Options

Find all the options using teffects stripe -h.

Examples

$ teffects stripe
$ teffects stripe -t "Lorem ipsum dolor sit amet" -s 8 -e 600 -b "#eee"

Credit

Stripe is inspired by Animating striped text with background clip and gradients by Mandy Michael.

Strokeshadow

Options

Find all the options using teffects strokeshadow -h.

Examples

$ teffects strokeshadow -c purple -t "Article heading" -s 170 --behind -e 400 -w 1400 -d ~/Downloads

$ teffects strokeshadow -c purple -t "Article heading" -s 170 -e 400 -w 1400 -d ~/Downloads

Credit

Strokeshadow is inspired by Mark Mead's Strokes, Shadows Halftone Effects.

Transmission

Options

Find all the options using teffects transmission -h.

Examples

$ teffects transmission -t "Awesome" -x "text lines" -s 5 -z 3
$ teffects transmission -t "Header line" -x "First line here
dquote> Second line here
dquote> third line here."

Credit

Transmission is inspired by Stephen Scaff's Transmission: Glowing Text Animation.

Type

Options

Find all the options using teffects type -h.

Examples

$ teffects type -t "Teffects rocks" -s 4
$ teffects type 'Star Wars: ' 'It is a period of civil war.' 'Rebel spaceships,''striking from a hidden base, ' 'have won their first victory...' -s 4

Credit

Type is inspired by Jack Armley's Text typing thingamy.

Reference

Bash Script to Clip an Image to Text

Author

@shinokada

License

Please see license.txt.

About

Text effects using Bash script

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 97.1%
  • JavaScript 2.9%