Public
Like
1
ipv4-counter
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v18View latest version
A simple website that tracks and displays the number of visits from different IP addresses.
- Records visits from unique IP addresses
- Displays a count of visits per IP address
- Shows total visit count
backend/- Server-side codeindex.ts- Main HTTP handler using Honodatabase.ts- SQLite database setup and queries
frontend/- Client-side codeindex.html- Main webpage
When a user visits the site, their IP address is recorded in the SQLite database. If the IP already exists, its visit counter is incremented. The page displays a table of all IP addresses and their visit counts.