Files
myip/README.md
2025-11-26 14:24:27 +00:00

77 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 🌐 myip IP & RIPE Lookup WebApp
myip è una webapp minimale e containerizzata che mostra:
- il **tuo IP pubblico**
- informazioni RIPE utili (ASN, Provider/Holder, Prefisso annunciato)
- UI moderna e responsiva
- pulsante **Copia IP**
- integrazione con ingress-nginx e PROXY protocol
- design personalizzabile tramite CSS dedicato
Pensata per essere deployata come micro-servizio in Kubernetes.
---
## ✨ Screenshot
> *(sostituire con screenshot reale)*
>
> ![screenshot](./assets/screenshot.png)
---
## 🚀 Funzionalità
### 🔍 Identificazione del client
- Recupero del **vero IP del client** anche dietro più proxy/load balancer.
- Compatibile con:
- `X-Forwarded-For`
- `X-Real-IP`
- PROXY protocol v2
### 🛰️ Lookup RIPEstat
Per lindirizzo IP viene mostrato:
- ASN
- Provider (holder)
- Prefisso annunciato
### 🎨 UI moderna
- Font Montserrat
- Layout centrato
- Logo cliccabile
- Animazioni CSS
- Copy-to-clipboard
- Modalità dark automatica
### 🔧 Semplice da deployare
- Dockerfile incluso
- Configurazione Helm-ready
- Compatibile con ingress-nginx e cert-manager
---
## 📂 Struttura del progetto
myip-webapp/
├─ app.py
├─ requirements.txt
├─ Dockerfile
├─ static/
│ ├─ myip.css
│ ├─ logo.png
│ └─ favicon.ico
└─ README.md
---
## 🐳 Deploy con Docker
### Build
```bash
docker build -t myip:latest .
docker run -p 8080:8000 myip
http://localhost:8080