6 comments

  • Taulant SulkoTaulant Sulko, 9 days ago

    Cool site. It would be nice if you had a CSS code snippet with each gradient or starting and ending HEX code. It would make this site a lot more useful.

    3 points
  • Aaron Wears Many HatsAaron Wears Many Hats, 6 days ago

    I appreciate the technical effort behind this, but there's a bit of technical debt that goes along with it too that I can't help but point out.

    You're generating and hosting images, You're providing an API to access these images, you're requiring a HTTP call each time you want a placeholder image, and all of that which could be done in one line of css applied to a div.

    Great work as a learning piece about developing your own API! But I don't see a marketable reason why this would be a benefit over a css alternative.

    As some constructive criticism though, I'd take the blue underline away from your logo, it's a bit jarring :)

    2 points
  • Matt Basta, 7 days ago

    You can likely save a lot of bandwidth and compute costs by serving images as SVG instead. Each image would take dozens of bytes instead of dozens of kilobytes. Put that behind a service like Cloudflare and the service would cost only dollars to run each month.

    2 points
    • , 6 days ago

      Oh wow! I hadn't even thought of that. Right now I am just using Cloudinary's free tier to host and serve the images but I will definitely consider SVGs if this gets any traction. Thanks for the brilliant feedback!

      0 points