Ifconfig.me
Simple HTTP application for demos and tests
Install / Use
/learn @pmarques/Ifconfig.meREADME
go version of ifconfig.me
This was my first project using go, a simple HTTP server that returns your public IP address. I'm using this project for demos and learning about Docker, Go and experiment some workflows.
Requirements
- GO >=1.26.1 (otherwise the steps in this readme will not work)
Development
Run
go run app/main.go
Test
go test ./...
Create binary
Build / Compile
go build -o ifconfig.me app/main.go
Run
./ifconfig.me
Docker
- Build
docker build -t ifconfig.me .
- Run
docker run -p 8080:80 ifconfig.me
Kubernetes
kubectl apply -f k8s
Debug container
Since there is no OS or utils in the container we need to use Ephemeral Containers. For more info check https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/
kubectl -n ifconfig debug -it ifconfig-646c744cbc-8nkfn --image=busybox --target=ifconfig
References
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
351.8kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
