by davidgomes on 11/6/24, 10:48 PM with 2 comments
by eternityforest on 11/7/24, 3:39 AM
You could probably even have an in-browser LLM frontend for it for less structured tasks.
You could even have an integrated editor for making new tools with AI and creating a pull request to share them.
by jamessb on 11/7/24, 9:06 AM
This is a somewhat strange implementation choice, as there's no need to create a `/resize` API endpoint - this could be implemented entirely in JS as a static site (enabling it to be hosted by free on somewhere like GitHub Pages, avoiding the issue that "I deployed it here . . . But it's costing me a bit of money so I don't expect it'll be around for too long.").
The implementation also has bugs like trying to validate an SVG file by checking that it starts with `<svg`, when SVG files often begin with something like:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">