Display view count on a post
ironblockhd (419)

https://testcounter.ironblockhd.repl.co/c/2897ec429b2d First, you need to generate your image codes on https://testcounter.ironblockhd.repl.co.
You can embed the first image where you want to show the count. The second image is invisible, rendering it will increment the total count.

This post has https://testcounter.ironblockhd.repl.co/v/2897ec429b2d views (reset due to botters lol)

You are viewing a single comment. View All
JosephSanthosh (1196)

So how does this work?

ironblockhd (419)

@JosephSanthosh i used replitDB to storage the counts and have a simple server set up that sends dynamically generated svg images. When you embed the image that it gives you it will display the count

JosephSanthosh (1196)

@ironblockhd Oh Ok. So I just embed the image in the code?

JosephSanthosh (1196)

@ironblockhd Did you write all the code in here? How would I have to add this in my code, do I copy each file seperately?