Via this website you can create your own badge(s) containing views / likes of the image file.
Simple project I made to learn Svelte, SvelteKit, and serverless functions.
Btw I also made the PurgeCSS adapter for SvelteKit while coding the project. This allows you to easily install PurgeCSS to remove unused styles from the final css asset files.