A lot of folks are talking about Supabase. Also,Next.js seems to be trending right now, and I never tried them. π
So, one of the projects that I had in mind for a while was the perfect fit to apply these two together. π€
After spending approx. 12 hours, I finished the v1 for gpic - Free Image Optimizer & Hosting Service.
Built with:
- Next.js
- Supabase (DB and Storage)
- TailwindCSS
Quick Demo:
The Motivation
Well, I love communities with markdown available (DEV, Reddit, Indiehackers,...), but that means that I need to...
- Go to https://imgbb.com/
- Select/Drag'n'drop the image -> Hit Upload
- Grab the code
- Insert in the markdown
...in order to add an image to my post.
That was my biggest motivation! I just wanted something clean and with an option to copy the link with the markdown.
Hope you find useful, and if you have any feedback, let me know. I'm already working on v2. π€ͺ
(Image hosted on gpic)π₯³
Top comments (3)
Hey awesome project, it made me think, but am struggling to show my images in next js from supabase storage, how did you get the url to put for Image src? Thanks!
You just need to make your bucket "Public" and you'll be good to go.
Yes did that though I didn't want it to be, but it worked now am just facing fileReader and URL.createObject issues, I can't get the result outside the event handler function!