Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
XINF (xinf.dev)
80 points by ZeroTerabytes on April 22, 2023 | hide | past | favorite | 20 comments


Who is the demographic for this? Essentially all of the functionality here is available in the standard library for most languages. If not, you can use a library that's probably pretty small and doesn't rely on some third party system that you have no control over. It's certainly not about trust: if you don't trust your computer's own random number generator, how can you trust a (TLS encrypted???) HTTP connection to some other system?


It might be useful in shell scripts with jq.


If you have jq and not Python, what are you doing?


As long as the site never goes down...


That applies to every website


I don't need an Internet connection or a website to hash a string in any language I program in


most shells scripts don't rely on a website for simple primitives


Look I was bored and made this during my thanksgiving break. :/


Don't apologize to that type of comments, your project is cool and fun! If you felt it deserved to exist, that's enough of a good reason :)

I like your project page BTW, nicely structured and look nerdy <3


The "echo" endpoint supposedly "returns what you sent to the server", but the output includes X-Forwarded-For headers that are obviously part of your internal HTTP routing and are not part of what the client sent to the server, as well as various other headers not sent by my client.

Also, the "myip" endpoint returns 2 different IP addresses. One is mine, the other is yours.


A simple JSON api written in Go, that does a lot of small but useful stuff, such as: - Numbers to Words! - Name Generator for your 235231759082318th side project GitHub repository! - Echoing what you sent to the server, like a little cave :D - Open location/Plus codes from coordinates! - Hashing, because that's always nice. - Random stuff!


> A simple JSON api written in Go, that does a lot of small but useful stuff, such as:

> - Numbers to Words!

> - Name Generator for your 235231759082318th side project GitHub repository!

> - Echoing what you sent to the server, like a little cave :D

> - Open location/Plus codes from coordinates!

> - Hashing, because that's always nice.

> - Random stuff!



https://xkcd.com/221/ (Just substitute 0 for 4)


Can you add an ‘iodd’ endpoint? Would be very helpful to a project I am working on.


I'm curious, what would an "iodd" endpoint be?



Definitely 100%


Yesterday, on 4/22/2023, there were 7,252 calls - 3,265 just for the uuid service. How did this happen.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: