mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 17:49:15 +02:00
Use an animated SVG as demo image, update conversion script
This commit is contained in:
parent
2e5021aa98
commit
6f19d4a970
8 changed files with 18 additions and 16 deletions
|
@ -20,8 +20,8 @@ Files are shared using the [Send][send] service and may be up
|
||||||
to 2GB. Others are able to download these files with this tool, or through
|
to 2GB. Others are able to download these files with this tool, or through
|
||||||
their webbrowser.
|
their webbrowser.
|
||||||
|
|
||||||
[![ffsend usage demo][usage-demo-gif]][usage-demo-mp4]
|
[](./res/demo.svg?raw=true)
|
||||||
_View as [asciinema][usage-demo-asciinema] or [MP4][usage-demo-mp4]._
|
_Or view as [asciinema][usage-demo-asciinema]._
|
||||||
|
|
||||||
All files are always encrypted on the client, and secrets are never shared with
|
All files are always encrypted on the client, and secrets are never shared with
|
||||||
the remote host. An optional password may be specified, and a default file
|
the remote host. An optional password may be specified, and a default file
|
||||||
|
@ -356,8 +356,6 @@ This project is released under the GNU GPL-3.0 license.
|
||||||
Check out the [LICENSE](LICENSE) file for more information.
|
Check out the [LICENSE](LICENSE) file for more information.
|
||||||
|
|
||||||
[usage-demo-asciinema]: https://asciinema.org/a/182225
|
[usage-demo-asciinema]: https://asciinema.org/a/182225
|
||||||
[usage-demo-gif]: ./res/ffsend-demo.gif
|
|
||||||
[usage-demo-mp4]: ./res/ffsend-demo.mp4?raw=true
|
|
||||||
[firefox]: https://firefox.com/
|
[firefox]: https://firefox.com/
|
||||||
[git]: https://git-scm.com/
|
[git]: https://git-scm.com/
|
||||||
[libressl]: https://libressl.org/
|
[libressl]: https://libressl.org/
|
||||||
|
|
|
@ -3,6 +3,8 @@ The first release used for gathering feedback on the application by selected
|
||||||
people.
|
people.
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
- Do not show default values for `--host`, see `ffsend help upload`
|
||||||
|
- History clear command
|
||||||
- Ask to remove a file when downloading failed
|
- Ask to remove a file when downloading failed
|
||||||
- Polish command outputs, make it consistent (format, color)
|
- Polish command outputs, make it consistent (format, color)
|
||||||
- Automated releases through CI
|
- Automated releases through CI
|
||||||
|
|
13
res/asciinema-to-svg
Executable file
13
res/asciinema-to-svg
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Ensure svg-term is installed
|
||||||
|
if ! [ -x "$(command -v svg-term)" ]; then
|
||||||
|
echo "svg-term is not installed, unable to create SVG, use:"
|
||||||
|
echo "sudo npm install -g svg-term-cli"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Convert into a GIF
|
||||||
|
echo "Generating SVG..."
|
||||||
|
cat asciinema-demo.json | svg-term --out demo.svg --window
|
||||||
|
echo "Done"
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Create the frames directory
|
|
||||||
mkdir frames
|
|
||||||
|
|
||||||
# Extract the frames
|
|
||||||
ffmpeg -i ./ffsend-demo.mp4 -r 6/1 frames/frame%04d.png
|
|
||||||
|
|
||||||
# Create a gif
|
|
||||||
gifski -o ffsend-demo.gif frames/frame*.png --width 850 --height 332 --fps 6 --quality 70
|
|
||||||
|
|
||||||
echo "Done"
|
|
1
res/demo.svg
Normal file
1
res/demo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 196 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8 MiB |
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue