4 ms·
I use this all the time. I find this option pretty neat: curl wttr.in/Moon Shows current lunar phase. I use Termux[0] on my phone with curl installed. Pret
by rsapkf 6y ago
I use this all the time. I find this option pretty neat:
curl wttr.in/Moon
Shows current lunar phase.
I use Termux[0] on my phone with curl installed. Pretty handy.
Also, check out rate.sx[1] from the same author:
curl rate.sx
Shows information about current exchange rates of cryptocoins.
More similar console services:
https://github.com/chubin/awesome-console-services https://github.com/chubin/awesome-console-services
[0]: https://termux.com/ https://termux.com/
[1]: https://github.com/chubin/rate.sx https://github.com/chubin/rate.sx
- matt_LLVW 6y agoshameless plug: https://e.xec.sh https://e.xec.sh
- DarkWiiPlayer 6y agoheh... visited that link and tried it; then I remembered that I sit behind a proxy. Guess what happens when a proxy first caches the entire responwe of that page and then sends it to the client all at once? :D
- irs 6y agoanother shameless plug: curl ipaddress.sh
- notRobot 6y agoalso curl findip.win
- BoDlulu 6y agoJust FYI this doesn't seem to work with MacOS's default Terminal app. I guess it doesn't support 256 colors or something.
- hitpointdrew 6y agoAlso very useful: curl ifconfig.co (shows your public ip)
- pluies 6y agoI used to use this a lot, but when I tried yesterday (and same today) I got a Heroku error message :( Not sure if it's temporary down or fully off.
- hitpointdrew 6y agoI get that occasionally too...not sure why, but if you spam it it usually works after 3-4 attempts.
- martinp 6y agoOwner here. It's running on Heroku free tier and it handles hundreds of millions of requests every day. Cloudflare helps, but occasionally it still gets overloaded. The code is at https://github.com/mpolden/echoip https://github.com/mpolden/echoip though, with a Docker image available on Docker Hub. It should be pretty easy to host your own.
- nvr219 6y agoI just use an alias myip is aliased to `dig +short myip.opendns.com @resolver1.opendns.com'
- luckman212 6y agoI do the same! Only catch is, doesn't always work if you're on a restrictive network that only allows udp/53 to a specific DNS (captive portals, corpnets etc). I use a small shell script that tries the DNS trick first, then falls back on HTTP if that times out.
- hitpointdrew 6y agoNice. I like the curl thing because I can hop any any server and not have to worry if I setup an alias or not....I got a lot of servers I am constantly on.
- caro_douglos 6y agoDon’t forget the /json
- InafuSabi 6y agoThank you very much for sharing this info. Now I can use wttr.in in a varied manner