a cache for slack profile pictures and emojis

docs: add demo gif

Changed files
+37
.github
images
.github/images/out.gif

This is a binary file and will not be displayed.

+8
README.md
···
<img src="https://raw.githubusercontent.com/taciturnaxolotl/carriage/master/.github/images/line-break-thin.svg" />
</p>
+
#
+
+
<p align="center">
+
<img src="https://raw.githubusercontent.com/taciturnaxolotl/cachet/master/.github/images/out.gif" />
+
</p>
+
+
#
+
## What's this?
Cachet is a cache / proxy for profile pictures and emojis on the hackclub slack! I made it because calling the slack api every time you want a profile image or emoji is expensive and annoying. Now you can just call the cachet api and get a link to the image or emoji you want! Best of all we are just linking to slack's cdn so it doesn't cost me much of anything (besides db space) to run!
+8
cassette.tape
···
+
Output .github/images/out.gif
+
Set Shell zsh
+
Sleep 1s
+
Type "bun run src/index.ts"
+
Enter
+
Sleep 11s
+
Ctrl+C
+
Sleep 1s
+21
generateVHS.sh
···
+
#!/bin/sh
+
+
# Start the VHS server
+
vhs cassette.tape &
+
+
# Wait 2 seconds before running the first curl command
+
sleep 4
+
+
# Execute the first curl command
+
curl localhost:3000/users/U062UG485EE
+
+
# Wait 3 seconds before running the second curl command
+
sleep 2
+
+
curl localhost:3000/emojis/grolf/
+
+
sleep 3
+
+
curl localhost:3000/emojis/this-does-not-exist/
+
+
wait