HUB
Sign inSign up

furkanustcayir/webstats

By furkanustcayir

•Updated over 1 year ago

Image
2

10K+

furkanustcayir/webstats repository overview

⁠Simple Web Stats Collector 🕵️‍♂️📊

A minimal and lightweight CLI tool to collect basic statistics from any web page — sends a request to the given URL and outputs structured page metadata in JSON.


⁠Features

  • HTTP status code reporting (200, 404, 500…)
  • Response time in milliseconds
  • Extracts <title> tag content
  • Extracts <meta name="description"> content
  • Outputs clean JSON
  • Runs in a small Alpine-based Docker image
  • CLI-friendly usage for scripting and monitoring

⁠Technologies

  • Written in Go (Golang)
  • HTML parsing with goquery⁠
  • Clean JSON output
  • Single binary architecture — ideal for Docker and CronJobs

⁠Usage (Docker)

docker run --rm furkanustcayir/webstats:latest --url https://example.com
⁠Sample Output
{
  "url": "https://example.com",
  "status_code": 200,
  "response_time_ms": 127,
  "title": "Example Domain",
  "description": "This domain is for use in illustrative examples in documents."
}

⁠Docker Tags

TagDescription
latestMost up-to-date production version
v1.0.0First stable release
devDevelopment and experimental tag

Tag summary

Content type

Image

Digest

sha256:008be50ec…

Size

7.9 MB

Last updated

over 1 year ago

docker pull furkanustcayir/webstats