Base 64 to Image
This is a simple extension that I made to convert between base64 and image, on Resleeve I really needed this feature and I couldn't find any extension that did it, so I made my own.
React
Typescript

Problems and Thought Process
- Even though this is a very small feature, there were still issues, haha. But it was much simpler to handle. The first problem was that I needed to add a different way to read WebP images. The other issue came from using regex to validate base64. When trying to load a 4K image as base64, the regex would throw an error due to the max size. So I just switched my validation to JavaScript's default. I always use open-source libraries as a base for these kinds of things.




Lessons Learned
- I learned how the process of publishing an extension on Raycast works, and it's really simple. So in the future, I'll definitely create more extensions whenever I find a need for them.