An open API service indexing awesome lists of open source software.

https://github.com/timothyye/myip

An extremely simple Rust web application to get your public IP address.
https://github.com/timothyye/myip

getip myip

Last synced: 8 months ago
JSON representation

An extremely simple Rust web application to get your public IP address.

Awesome Lists containing this project

README

          

# myip
An extremely simple Rust web application to get your public IP address.

Visit [https://myip.biturl.top](https://myip.biturl.top) for example.

## Run

```bash
cargo run
```

## Build

```bash
cargo build --release
```

## Docker

```bash
docker run -d --name=myip --restart=always -p 8000:8000 timothyye/myip:latest
```

Then, visit `http://your-host-url:8000` to get your IP.

## License

[MIT License](https://github.com/TimothyYe/myip/blob/master/LICENSE)