Views Counter

A views counter I made to use for any website that sends HTML.
How to use:

Step 1> Open number.txt and set its value to 0
Step 2> Run this repl
Step 3> Copy the url: REPL-NAME.USERNAME.REPL.CO
Step 4> Open the HTML content of your website
Step 5> Embed the url into your website via: <iframe src="URL">
Step 6> However you want, make a GET request to THE URL OF THIS REPL /views
Step 7> Read the content of that GET request. That is how many views your website has.

You are viewing a single comment. View All

You may also need to setup uptimerobot to make sure this server dosen't die :)