Skip to content
Projects

pmarques/ifconfig.me has 41 GitHub stars and 12 forks. GitHot measured 0 in 7 days. Last checked 2026-11-11 02:33 UTC. Last push 2026-11-02.

How these counts are measured

Simple HTTP application for demos and tests

Measured star growth

in 24h
Update delayed
in 7 days
0
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

go version of ifconfig.me

Publish Container image to DockerHub CircleCI

OpenSSF Scorecard

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.27.2

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

Explore related projects