Remix.run Logo
TZubiri 3 hours ago

>No, you can't write 10 lines of code, you have to import a 100k LOC dependency

Common misconception, if you want to replace a dependency on a swiss knife you don't need to implement a swiss knife, sometimes you can just implement the last helix of the corkscrew.

cyanydeez 2 hours ago | parent [-]

it's curious what you'd be building where you think you can hit the reliability of curl with a bash script.

pillmillipedes 2 hours ago | parent | next [-]

a script ten lines long perhaps?

TZubiri 2 hours ago | parent | prev [-]

health check, check that website/webapp returns 4xx and some known keyword

api, GET url, content-type aplication/json, parse json

you can even invert it and make a server