Return SVG
Return SVG so the result embeds in standard Markdown.
Express service that increments a file-backed counter and returns the current value as a customizable SVG image.
README authors need an image-embeddable counter endpoint because Markdown cannot run application JavaScript or call an API and render arbitrary data directly.
Requests from bots, caches, renderers, and refreshes are counted, so values are not unique-human analytics.
File persistence is single-process and can reset on ephemeral filesystems.
The endpoint has no authentication or documented rate limiting.
Express routes and query validation; in-memory/file counter store; escaped dynamic SVG renderer plus JSON health endpoint.
Express routes and query validation.
In-memory/file counter store.
Escaped dynamic SVG renderer plus JSON health endpoint.
Return SVG so the result embeds in standard Markdown.
Use simple file persistence, trading horizontal scalability/durability for easy self-hosting.
Describe the value as request count rather than visitor count.
Share your challenge, scope, and timeline to start a focused conversation.