1
mirror of https://github.com/jakejarvis/simpip.git synced 2025-06-27 16:15:41 -04:00

security headers grade isn't really relevant

This commit is contained in:
2020-07-11 08:02:06 -04:00
committed by GitHub
parent c13b1c9df2
commit fac302d4dd

View File

@ -1,8 +1,8 @@
# [🌎 simpip](https://simpip.com/) # 🌎 [simpip](https://simpip.com/)
**⚡ Now powered purely by [Cloudflare Workers](https://www.cloudflare.com/products/cloudflare-workers/), making it _blazing_ fast from anywhere in the world — and even simpler!** [Try this code on the playground.](https://cloudflareworkers.com/#6b0835ee482cc019b521cd68dd35c1c2:https://tutorial.cloudflareworkers.com) **⚡ Now powered purely by [Cloudflare Workers](https://www.cloudflare.com/products/cloudflare-workers/), making it _blazing_ fast from anywhere in the world — and even simpler!** [Try this code on the playground.](https://cloudflareworkers.com/#64957bfecaa806b38ea1ad160b5f7b94:https://tutorial.cloudflareworkers.com)
[![CI](https://github.com/jakejarvis/simpip/workflows/Deploy%20Cloudflare%20Worker/badge.svg)](https://github.com/jakejarvis/simpip/actions?query=workflow%3A%22Deploy+Cloudflare+Worker%22) [![Security Headers](https://img.shields.io/security-headers?url=https%3A%2F%2Fsimpip.com)](https://securityheaders.com/?q=https%3A%2F%2Fsimpip.com%2F) [![CI](https://github.com/jakejarvis/simpip/workflows/Deploy%20Cloudflare%20Worker/badge.svg)](https://github.com/jakejarvis/simpip/actions?query=workflow%3A%22Deploy+Cloudflare+Worker%22)
A very, *very* "simple" and lightning-fast web server that returns the requester's IP address in plaintext...and **literally nothing else**. Perfect for CLI usage via `curl`, `wget`, `httpie`, etc. or for automated tasks like dynamic DNS updates. A very, *very* "simple" and lightning-fast web server that returns the requester's IP address in plaintext...and **literally nothing else**. Perfect for CLI usage via `curl`, `wget`, `httpie`, etc. or for automated tasks like dynamic DNS updates.
@ -14,7 +14,6 @@ curl -4 simpip.com # returns IPv4
curl -6 simpip.com # returns IPv6, or fails to connect if network is incompatible curl -6 simpip.com # returns IPv6, or fails to connect if network is incompatible
``` ```
## Usage ## Usage
In [my terminal's dotfiles](https://github.com/jakejarvis/dotfiles/blob/f40a23352c1bd4fe18640faad872e8687e14b745/zsh/aliases.zsh#L16), I have three aliases:`ip4` and `ip6` which are self-explanatory, and `ip` which returns both addresses *iff* your network supports IPv6; otherwise, IPv6 sliently fails and only your IPv4 address is shown. In [my terminal's dotfiles](https://github.com/jakejarvis/dotfiles/blob/f40a23352c1bd4fe18640faad872e8687e14b745/zsh/aliases.zsh#L16), I have three aliases:`ip4` and `ip6` which are self-explanatory, and `ip` which returns both addresses *iff* your network supports IPv6; otherwise, IPv6 sliently fails and only your IPv4 address is shown.
@ -39,7 +38,6 @@ jake@macbook:~$ ip
2606:4700:4700::1111 2606:4700:4700::1111
``` ```
## License ## License
This project is distributed under the [MIT license](LICENSE.md). This project is distributed under the [MIT license](LICENSE.md).