url-tools slack bot
- 3 Devlogs
- 3 Total hours
A slack bot that shortens long URLs and generates QR codes.
A slack bot that shortens long URLs and generates QR codes.
Added a longer delay before it times out so hopefully that fixes the errors that have been stopping it from getting approved.
I switched to using my own url shortener as the other api’s weren’t working with slack (so my ship got rejected, should be fixed now), it kept on timing out on the response so it would just send an error message. I used the url shortening from my other projecting and just wrote a small bit of code to have an api for short url creation. I then set it up with nest again and it took forever to get the Nest server working as for some reason the internet connection on the nest would just randomly stop working so the bot wouldn’t work either.
Added bot commands to create QR codes as well as url shortening. I was trying to create the QR generation myself using an npm package but I couldn’t figure out how to send an image from a “data:” url so I instead switched to a free API, and I did the same for the url shortening. I also tried to host it using vercel but it didn’t work so I instead switched to using the hack club nest. Feel free to try it out with this on the slack: /url-tools-help.