OVERRIDEView Counter
O/200//Data
View Counter
Server-backed page view counter override. Drop it on a text element, it counts.
counteranalyticssocial-proof
Pay once · Own forever
D/01//Description
Replace any text frame with a live page-view counter. Backed by a tiny serverless endpoint (deployed alongside the override) so counts persist across visitors. Designed for portfolio sites where 'X people viewed this' is a fun signal without needing a full analytics integration.
Requires the buyer to deploy the included endpoint to Vercel — instructions in the README.
P/02//Source preview · locked
import type { ComponentType } from "react"
import { useEffect, useState } from "react"
export function withViewCounter(Component): ComponentType {
return (props) => {
const [count, setCount] = useState<number | null>(null)
// … purchase to unlock the full sourceSource locked