A self-hosted profile counter created as a replacement for the now-defunct https://profile-counter.glitch.me/:yourkey:/count.svg service.
- Self-hosted and lightweight
- Real-time profile visit counting
- Embeddable SVG badge for websites
This badge shows the counter for this repository.
👉 Visit https://server.jagaldol.com/profile-counter to see the usage guide and try it out live.
This project is self-hosted using Docker Compose. The backend is powered by a FastAPI server connected to a Redis store.
- Docker
- Docker Compose
Clone the repository and run the following command:
cp .env.example .env
docker-compose up -dThis will launch:
app.py: the FastAPI application serverRedis: the data store for tracking visit counts
Once running, you can embed the counter using:
<img src="http://localhost:8000/profile-counter/:your-key:/count.svg" />Replace :your-key: with your own identifier.
This project is licensed under the MIT License. See the LICENSE file for details.