Forráskód Böngészése

Use an animated SVG as demo image, update conversion script

timvisee 7 éve
szülő
commit
6f19d4a970
8 módosított fájl, 17 hozzáadás és 16 törlés
  1. 2 4
      README.md
  2. 2 0
      ROADMAP.md
  3. 0 0
      res/asciinema-demo.json
  4. 13 0
      res/asciinema-to-svg
  5. 0 12
      res/create-gif-ffsend-demo
  6. 0 0
      res/demo.svg
  7. BIN
      res/ffsend-demo.gif
  8. BIN
      res/ffsend-demo.mp4

+ 2 - 4
README.md

@@ -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
 their webbrowser.
 
-[![ffsend usage demo][usage-demo-gif]][usage-demo-mp4]
-_View as [asciinema][usage-demo-asciinema] or [MP4][usage-demo-mp4]._
+[![ffsend usage demo](./res/demo.svg)](./res/demo.svg?raw=true)
+_Or view as [asciinema][usage-demo-asciinema]._
 
 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
@@ -356,8 +356,6 @@ This project is released under the GNU GPL-3.0 license.
 Check out the [LICENSE](LICENSE) file for more information. 
 
 [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/
 [git]: https://git-scm.com/
 [libressl]: https://libressl.org/

+ 2 - 0
ROADMAP.md

@@ -3,6 +3,8 @@ The first release used for gathering feedback on the application by selected
 people.
 
 Features:
+- Do not show default values for `--host`, see `ffsend help upload`
+- History clear command
 - Ask to remove a file when downloading failed
 - Polish command outputs, make it consistent (format, color)
 - Automated releases through CI

+ 0 - 0
res/asciinema-ffsend-demo.json → res/asciinema-demo.json


+ 13 - 0
res/asciinema-to-svg

@@ -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"

+ 0 - 12
res/create-gif-ffsend-demo

@@ -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"

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
res/demo.svg


BIN
res/ffsend-demo.gif


BIN
res/ffsend-demo.mp4


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott