1 unstable release
0.1.0 | Mar 9, 2024 |
---|
#6 in #traffic
11KB
145 lines
iframe traffic counter
Binds to localhost:32069 by default!
Example usage...
<iframe
id="traffic-counter"
width="140"
height="40"
src="http://localhost:32069/"
/>
... obviously, replace the localhost with something else when actually using it.
how does it work
it uses the HTTP "referer" header value to get the server name. make sure whatever you're using to proxy the program proxys that value correctly.
you'll either need to know a server that hosts this program or host it yourself.
Dependencies
~6–16MB
~191K SLoC