r/Nuxt • • 23h ago

Lightweight monitoring for self-hosted Vue/Nuxt apps without Prometheus or Grafana

Post image
11 Upvotes

I've added Vue/Nuxt integration to StatLite, an open-source, self-hosted monitoring tool designed for small VPS deployments.

StatLite is a single Go binary with SQLite and a built-in dashboard, using around 15 MiB of RAM at idle.

The Nuxt integration requires just three small TypeScript files and zero additional runtime dependencies. It monitors:

  • HTTP requests and errors
  • Average response time
  • Process CPU and V8 heap memory
  • Application restarts

I also measured the instrumentation overhead on a 512 MiB Linux VM:

  • Loaded RSS: 83.5-83.7 MiB without instrumentation vs 83.7-83.9 MiB with it
  • CPU per 320 requests: 0.50-0.52s vs 0.53-0.56s
  • Metrics payload: approximately 370 bytes

The recipe is verified with Nuxt 4 running as a single persistent Node.js process. For static Vue sites, StatLite can monitor HTTP traffic through Caddy or Traefik without application instrumentation.

Integration guide, source code and benchmarks:
https://github.com/PVRLabs/statlite/blob/main/docs/integrate/node/vue-nuxt.md

Interactive dashboard demo:
https://pvrlabs.xyz/statlite/demo.html?target=spring&range=24h

GitHub (open source, MIT license):
https://github.com/PVRLabs/statlite

I'd be interested to hear what people running self-hosted Vue/Nuxt applications use for monitoring today.


r/Nuxt • • 5h ago

I just launched a UK bike price & spec comparison app built with Nuxt 4 + Tailwind 4 + Cloudflare Pages (bikehunter.co.uk)

Post image
3 Upvotes

Hey everyone,

I've just launched BikeHunter (https://bikehunter.co.uk), a side project I built to make shopping for bikes in the UK less painful. It pulls together Road, Gravel, MTB and E-Bikes from UK retailers into single canonical pages so you can compare specs side-by-side, filter by actual in-stock frame sizes, and spot real discounts.

Since it's built on Nuxt 4, I thought I'd share the stack in case anyone is curious:

  • Nuxt 4 (compatibilityVersion: 4 with the app/ directory) + Vue 3.5 + strict TypeScript & Zod
  • Tailwind CSS 4 via @tailwindcss/vite (no config file)
  • Cloudflare Pages using Nitro (cloudflare-pages preset) with SWR routeRules caching for /bikes/**, /compare/**, and /deals/**
  • Typesense for fast multi-facet filtering (frame size, price, specs) + Supabase PostgreSQL for canonical bike data and price history
  • @nuxt/scripts for deferred analytics

I'll be totally upfront - it's early days and definitely not perfect yet. There are still some rough edges in the data and UI, and I'm actively fixing quirks and inviting more UK bike retailers to take part.

If you have a minute to click around, I'd genuinely appreciate any honest feedback - on the UX, speed, or Nuxt setup. What would you add, and what would you remove?

Thanks for your time!