Cash register for local events, with receipt printing
  • TypeScript 51.3%
  • Svelte 40.7%
  • C++ 5.9%
  • Dockerfile 0.7%
  • CSS 0.5%
  • Other 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Renovate [bot] 273dbd4462
All checks were successful
release.yaml / Generate next release tag (push) Successful in 3s
build.yaml / Build the container (push) Successful in 2m23s
fix(deps): update git.zarantonello.dev/projects/events-cash-register-ci docker tag to v2026.09.08.1 (#247)
2026-09-09 03:14:18 +00:00
.devcontainer ci(deps): update ci dependencies (#246) 2026-09-09 03:13:53 +00:00
.forgejo ci(deps): update ci dependencies (#246) 2026-09-09 03:13:53 +00:00
data feat: initial commit 2026-06-26 12:26:00 +02:00
migrations feat: order deletion and ui improvements (#124) 2026-07-20 15:21:00 +00:00
packages fix(deps): update dependency @libsql/client to v0.18.0 (#240) 2026-09-07 05:31:33 +00:00
.dockerignore fix: image build (#216) 2026-08-27 23:59:39 +00:00
.env.example fix: image build (#216) 2026-08-27 23:59:39 +00:00
.gitignore fix: image build (#216) 2026-08-27 23:59:39 +00:00
.prettierignore chore: update biome to 2.5.2 (#50) 2026-07-02 12:43:41 +00:00
.prettierrc.json feat: add sidebar and product categories (#89) 2026-07-14 16:54:22 +00:00
.releaserc.json ci: use new versioning (#213) 2026-08-27 11:22:17 +00:00
.renovaterc.jsonc chore: use pnpm ci image (#225) 2026-08-30 10:55:09 +00:00
.yamllint.yml feat: initial commit 2026-06-26 12:26:00 +02:00
AGENTS.md fix: image build (#216) 2026-08-27 23:59:39 +00:00
biome.jsonc chore(deps): update https://git.zarantonello.dev/projects/forgejo-agent action to v1.9.10 (#239) 2026-09-07 03:07:07 +00:00
ci.Dockerfile ci(deps): update ci dependencies (#246) 2026-09-09 03:13:53 +00:00
cups.Dockerfile chore(deps): pin docker.io/library/alpine docker tag to 28bd5fe (#132) 2026-07-21 13:32:11 +00:00
cups.entrypoint.sh ci: add cups image and dev container (#131) 2026-07-21 11:47:13 +00:00
cupsd.conf ci: add cups image and dev container (#131) 2026-07-21 11:47:13 +00:00
Dockerfile fix(deps): update git.zarantonello.dev/projects/events-cash-register-ci docker tag to v2026.09.08.1 (#247) 2026-09-09 03:14:18 +00:00
LICENSE docs: add README.md and AGENTS.md (#28) 2026-06-28 10:42:24 +00:00
package.json ci(deps): update ci dependencies (#245) 2026-09-08 03:05:43 +00:00
pnpm-lock.yaml chore(deps): lock file maintenance (#244) 2026-09-08 13:43:05 +00:00
pnpm-workspace.yaml fix: image build (#216) 2026-08-27 23:59:39 +00:00
README.md fix: image build (#216) 2026-08-27 23:59:39 +00:00
turbo.json fix: build frfr (#219) 2026-08-28 00:24:49 +00:00

Events Cash Register

A web-based cash register application for event management, built with SvelteKit.

Features

  • Product management (with options)
  • User management with role-based access
  • Printer management
  • Secure authentication with session management
  • Session tracking and reporting
  • Automated cleanup via cron jobs

Tech Stack

  • Frontend: Svelte 5, Tailwind CSS 4, bits-ui, phosphor-svelte
  • Backend: SvelteKit server functions, Node.js adapter
  • Database: libSQL (SQLite) with Drizzle ORM
  • Validation: valibot
  • Authentication: Custom session-based auth with Argon2 password hashing

Getting Started

Prerequisites:

  • clang++ or g++ (c++23 compiler)
  • cups-dev (cups/cups.h for development) or cups-libs (libcups.so.2 for production)
  • meson (c++ build system)
  • ninja (c++ build system)
  • node.js (js server runtime)
  • pnpm (js package manager)
pnpm install

# Build the project.
turbo setup
turbo build

Project Structure

migrations/          # Database migration files
packages/
├── cups/            # NAPI bindings to libcups 2
└── website/         # SvelteKit application
    ├── src/
    │   ├── assets/  # Static assets (images, icons)
    │   ├── components/  # Reusable Svelte components
    │   ├── lib/     # Shared library code
    │   │   ├── auth/        # Authentication logic
    │   │   ├── entities/    # Domain entities (user, product, printer, session)
    │   │   └── server/      # Server-side utilities (database, logging, cron, etc.)
    │   └── routes/  # SvelteKit routes
    │       ├── admin/       # Admin panel (products, users, printers)
    │       └── auth/        # Authentication (sign-in)
    └── static/      # Static files (favicon, robots.txt)

License

MIT