Quick way to export your Slack team's emoji (concurrently!)
- Create an API token for your Slack team
- Go to the Slack API Tester for
emoji.list
- Select the team you want to download emoji from in the
token
dropdown - Click "Test Method"
- Right click on "open raw response" and then "Save Link as...". Save the file as
emoji.json
. - Generate a list of files to download
ruby -rjson -e 'JSON.parse(File.read("emoji.json"))["emoji"].select { |_name, url| url.include?("http") }.each { |name, url| puts "#{url}\n out=#{name}#{File.extname(url)}" }' > emoji.aria2
- Download the files
aria2c --input-file=emoji.aria2 --max-concurrent-downloads=16
🎉 That's it! 🎉