Skip to content
flandywPublic

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

577 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Focal

Focal uses one React frontend in src for the browser and desktop. Tauri packages that frontend locally and adds the ChatGPT sidecar, secure account storage, native export dialogs, and external-link handling. Desktop uses the same navigation, settings, calendar, exams, mistakes, and study timer as the web app.

The former desktop assessment/project workspace and academic inbox have been removed. Existing SQLite data and coursework files are not deleted. Synced study sessions remain available through the shared account. Desktop Progress also reads local-only study history from the existing SQLite database without rewriting it.

Progress is available in both apps under Analysis. It includes the transferred study-time trend, subject breakdown, completion, confidence, time-of-day, and consistency graphs, with date ranges, subject filters, period comparisons, and CSV export. Confidence graphs use recorded reflections rather than inferred confidence.

Repository layout

Path Purpose
src/ Shared frontend, study/timetable contracts, progress graphs, and desktop integration
src-tauri/ Native desktop shell and ChatGPT sidecar lifecycle
server/, vendor/siwc/ Local Sign in with ChatGPT service
supabase/migrations/ Shared account and data schema

Development

Run bun install from the repository root. Web and desktop share one root package and bun.lock.

bun run dev                 # Browser frontend on port 5173
bun run dev:desktop         # Desktop frontend on port 1420
bun run tauri dev           # Desktop shell, local AI sidecar, and shared frontend
bun run build               # Typecheck and build the browser frontend
bun run build:desktop       # Typecheck and build the desktop frontend
bun run check               # Typecheck and lint shared frontend and scripts

Set VITE_SUPABASE_URL and VITE_SUPABASE_PUBLISHABLE_KEY in root .env.local for either build. Never expose a service-role key to the frontend. Apply the existing Supabase migrations before running connected clients.

The historical examtrack storage keys and protocol identifiers remain unchanged for compatibility with saved data and Folio. See the sync protocol and the historical ExamTrack migration.

AI features remain desktop-only. Credentials stay in the local sidecar and secure native storage. The browser build does not enable AI or load desktop integration.

Local SQLite migrations are immutable after release. Add a new version and register it in src-tauri/src/lib.rs when changing the native schema. This repository has no test suite; verify changes with builds, typechecking, linting, and the app.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages