mirror of
https://github.com/skidoodle/iphistory.git
synced 2026-04-27 23:37:35 +02:00
ad07804fd4c2963ea5faef4f16c5d41229ad22ff
IPHistory
The IPHistory project is a simple yet effective solution for tracking and logging the public IP address of your network. It periodically fetches the public IP address and logs it to a file, while also providing a web interface to view the IP history in a clean UI and an endpoint (/history) for JSON format.
Running Locally
With Docker
git clone https://github.com/skidoodle/iphistory
cd iphistory
docker build -t iphistory:main .
docker run -p 8080:8080 iphistory:main
Without Docker
git clone https://github.com/skidoodle/iphistory
cd iphistory
go run main.go
Deploying
Docker Compose
version: '3.9'
services:
iphistory:
container_name: iphistory
image: 'ghcr.io/skidoodle/iphistory:main'
restart: unless-stopped
ports:
- '8080:8080'
volumes:
- data:/app
volumes:
data:
driver: local
Docker Run
docker run \
-d \
--name=iphistory \
--restart=unless-stopped \
-p 8080:8080 \
ghcr.io/skidoodle/iphistory:main
License
Description
🛜 A Go application to track and log your public IP address with a web interface for viewing the history.
Languages
Go
41.2%
templ
28.8%
CSS
26.8%
Dockerfile
3.2%