โšก Qalarc Projects

OptiCore

A secure, Rust-powered practice management system for optometry clinics. Patient records, calendar, billing, clinical workflow โ€” and a showcase of local AI in healthcare.

๐Ÿฆ€ Rust backend ๐Ÿ–ฅ๏ธ Tauri desktop โš›๏ธ React UI ๐Ÿ”’ Healthcare-grade auth
โ–ถ Try the Live Demo ๐Ÿ–ฅ๏ธ Open Full App ๐Ÿ“ฅ Patient Intake Form

Live Demo โ€” try it right in your browser

An interactive preview of the OptiCore dashboard. Click around the sidebar, try the patient intake form. Demo login: admin / admin.

OptiCore PMS โ€” Interactive Demo
๐Ÿ–ฅ๏ธ App
๐Ÿ“ฅ Intake Form

Features โ€” the full clinic in one app

๐Ÿ“…

Interactive Calendar

Month/Week/Day views, drag-to-create, drag-to-reschedule, mass-block time ranges, side panel with patient details, payment status on every slot.

๐Ÿ‘ฅ

Patient Records

Deep patient files: demographics, allergies, OSDI scores, IPL treatments, clinical notes, photos & documents, appointment history with per-visit notes.

๐Ÿ’ณ

Billing & Checkout

Two-column checkout with live invoice calculation, GST, discounts, multiple payment methods, auto-recorded payments.

๐Ÿ“ฅ

Smart Intake

Public booking form with live time-slot availability, appointment-type prices, and returning-patient detection.

๐Ÿ“ฌ

Unified Messages

Email, WhatsApp, and website messages in one inbox โ€” read, archive, link to patients.

๐Ÿง‘โ€โš•๏ธ

User Management

Staff accounts with 5 roles (admin, doctor, nurse, receptionist, read-only).

๐Ÿ“Š

Analytics

Revenue, appointments, website traffic, conversion rates โ€” tabbed dashboard with real charts.

๐Ÿ’พ

Backup & Versioning

Encrypted data export/import, version-safe snapshots, 5-layer backup strategy.

๐ŸŒ™

Dark Mode

Full dark/light theme, designed for non-technical clinic staff.

By the numbers

Rust
Backend
17
Database tables
50+
API endpoints
0
Unauthenticated PHI

Architecture

Cloudflare (edge) โ”€ Worker (booking gateway) + D1 (queue) + Pages (website) โ”‚ HTTPS ยท shared secret + signed JWT Clinic LAN โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ one always-on Rust server (Windows Service) โ†’ authoritative SQLite โ”‚ LAN HTTP/HTTPS โ”Œโ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” Tauri apps Reception Exam rm Staff PC โ† all share one DB

How it works

๐Ÿ–ฅ๏ธ A local-first desktop app

OptiCore runs entirely on the clinic's own computers as a Rust + Tauri desktop application. No cloud, no monthly fees, works offline, and patient data never leaves the premises.

Browser Demo (above)
โ€ข Runs instantly, no install
โ€ข Simulated data (resets on refresh)
โ€ข Try the full UI and intake flow
โ€ข Every screen works
Desktop App (in testing)
โ€ข Full Rust backend + SQLite database
โ€ข Real data persists between sessions
โ€ข Runs across multiple clinic PCs on the LAN
โ€ข Auto-updates ยท encrypted backups
โ€ข This is what a clinic would use

Security & Data Integrity

๐Ÿ”

Argon2 + JWT, always on

Every patient-data route requires a valid JWT. No "disabled for demo" backdoors.

๐Ÿ›ก๏ธ

Compile-time SQL

sqlx checks every query at compile time โ€” async bugs are structurally impossible.

๐Ÿ’พ

Version-safe backups

Encrypted snapshots with forward-compatible versioning. Updates never lose data.

Links

๐Ÿ–ฅ๏ธ Try the App (fullscreen) ๐Ÿ“ฅ Patient Intake Form โ† Back to Projects