https://github.com/mon-ius/rust-ip-detection
Rust based real IPv4 detection API backend
https://github.com/mon-ius/rust-ip-detection
Last synced: 11 months ago
JSON representation
Rust based real IPv4 detection API backend
- Host: GitHub
- URL: https://github.com/mon-ius/rust-ip-detection
- Owner: Mon-ius
- License: gpl-3.0
- Created: 2025-07-24T06:32:50.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-07-26T18:15:16.000Z (12 months ago)
- Last Synced: 2025-07-26T20:54:53.677Z (12 months ago)
- Language: Shell
- Homepage: https://ip.m0nius.com
- Size: 44.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust-IP-Detection
[](https://github.com/Mon-ius/Rust-IP-Detection/actions?query=workflow:ci)
[](https://github.com/Mon-ius/Rust-IP-Detection/releases)
[](https://github.com/Mon-ius/Rust-IP-Detection/issues)
[](https://github.com/Mon-ius/Rust-IP-Detection/network/members)
[](https://github.com/Mon-ius/Rust-IP-Detection/stargazers)
[](https://github.com/Mon-ius/Rust-IP-Detection/releases)
[](./LICENSE)
[](./Cargo.toml#L4)
[](https://github.com/Mon-ius/Rust-IP-Detection)
### Install
```sh
# sudo systemctl enable --now docker
# sudo usermod -aG docker ${USER}
# sudo chmod 666 /var/run/docker.sock
# sudo chown root:docker /var/run/docker.sock
curl -fsSL bit.ly/create-docker | sh
```
### Run
```sh
export SERVICE_NAME='ip'
export SERVICE_PORT=10086
export CLOUDFLARE='ZXhhbXBsZV9jbG91ZGZsYXJlX2FjY291bnRfdG9rZW4='
docker rm -f $(docker ps -a -q) && docker rmi -f $(docker images -a -q)
echo y | docker network prune && cat docker-compose.yml | docker compose -f - up -d
```
### Source
- [Rust-IP-Detection](https://github.com/Mon-ius/Rust-IP-Detection)
## License
The scripts and documentation in this project are released under the [GPLv3
License].
[GPLv3 License]: LICENSE