You know, a Christmas tree on Bash :)
Cloned from the sergiolepore repository
wget https://raw.githubusercontent.com/alogic0/ChristBASHTree/master/christmas.sh
bash christmas.sh
Git clone and execute:
git clone https://github.com/alogic0/ChristBASHTree.git && cd ./ChristBASHTree && bash christmas.sh
Docker:
docker pull alogic0/christbashtree:latest
docker run -it alogic0/christbashtree:latest
Enjoy!
Strike Ctrl+c
.
Do what you want with it license.
It works on GNU/Linux and Unix flavors. On Windows you can run it
inside MSYS2 terminal.
Ubuntu
Custom, based on Atom's "One Dark" theme.
Yes. Change tHeight
parameter inside the script.
- Start grabbing the screen
ffmpeg -video_size 800x568 -framerate 25 -f x11grab -i :0.0+300,75 output.mp4
- Run
christmas.sh
. Stop grabbing the screen, by hittingCtrl+c
, when you ready. - Determine start and stop point where to cut video (using
ffplay
), then cut.ffmpeg -i output.mp4 -ss 00:00:12.20 -to 00:00:53.0 -c copy screen.mp4
- Create .gif file
ffmpeg -y -i screen.mp4 -vf fps=10,scale=800:-1:flags=lanczos,palettegen palette.png ffmpeg -i screen.mp4 -i palette.png -filter_complex "fps=10,scale=800:-1:flags=lanczos[x];[x][1:v]paletteuse" screen.gif