Browse Source

Add a script to generate JSON for CyTube.

master
Sasha Wasilewska 2 months ago
parent
commit
923051b784
Signed by: commagray GPG Key ID: 28DC882DA80E623A
  1. 8
      generate.sh

8
generate.sh

@ -0,0 +1,8 @@
#!/bin/sh
FILENAMES=`ls -1 */*`
NAMES=`ls -1 */* | cut -d "/" -f 2 | cut -d "." -f 1`
URL='https://raw.githubusercontent.com/innereq/emoji/master/'
set -- $FILENAMES
jo -a `for i in $NAMES; do jo name=$i image=$URL$1; shift; done`
Loading…
Cancel
Save