Visitor counter project for self usage. Includes:
- 3 counter types
- Admin panel
- Analytics
Featured:
- Auto installer of database and app using Docker
- Postgres must be installed.
- Deno must be installed.
- cp .env.example .env
- Postgres default user password must be defined and changed in .env.
> sudo -u postgres psql
# /password postgres
deno install: to install packages.deno task start: to start server on 3082 port (by default).
- Counter:
localhost:3082/<counter-name>/?type=badge&title=Counter&color=red('default': default counter-name). - Admin panel:
localhost:3082. - Analytics:
localhost:3082/api/analytics/<counter-name>(need to be authorized).
- (image/svg) badge [title, color]
- (image/svg) classic
- (text/plain) number
- Repeatable requests are not counting.
- Client with ability to manage users and counters. Sign in by credentials, auto auth by token.
- Analytics: geoip, system, platform, agent, graph.
- SSR, Bundle on fly.
- PWA.
