Skip to main content
RaoufResearchOS
English
Sydney, AustraliaCurrent Sydney Time—
Press Escape to close this window.
Nexus Archive
Back

Engineering

Nexus Archive

Nexus Archive is a cyberpunk-styled personal media vault and job tracker combining a React frontend, a Litestar API and Supabase-backed identity and persistence. Manage books, movies, anime, job applications, ratings, takeaway notes, persistent chat sessions and AI-assisted recommendations from one dashboard. Takeaway writes require a configured Fernet key, and production cookie, token-lifetime and database controls depend on the documented deployment settings. It is the first version of what became Nexus OS; work on this repository stopped in April 2026, and no demo is hosted for it.

  • React
  • Python
  • Litestar
  • Supabase
  • AI
  • Full-Stack
Project IdentityStill

01 / Overview

Problem

Books, films, anime and job applications usually sit in separate trackers. Nexus Archive brings titles, ratings, notes and recommendations into one account with row-level access controls.

My contribution

  1. Built a full-stack vault with React 19 + Litestar API backed by Supabase PostgreSQL with Row Level Security
  2. Implemented backend-issued HttpOnly SameSite=Strict cookies and a refresh flow; access tokens are also returned in frontend-readable session responses
  3. Integrated Gemini AI for media recommendations with shared per-user rate limiting and local fallback
  4. Added key-required Fernet encryption for takeaway notes and input scrubbing, XML context delimiters and pattern-based PII masking for model requests
Documented technology stack
  • 01React 19
  • 02Vite
  • 03Tailwind CSS 4
  • 04TanStack Query
  • 05Python 3.12
  • 06Litestar
  • 07Supabase PostgreSQL
  • 08Docker
  • 09Terraform

02 / Evidence

Proof & Verification

  • Auth code sets HttpOnly SameSite=Strict cookies and implements refresh rotation; production secure-cookie and token-lifetime settings require configuration
  • CI definitions include Bandit, pip-audit, npm audit and gitleaks; the presence of these checks does not establish a passing HEAD run
  • Locust scenarios exercise authenticated requests to the recommendation endpoint; no measured performance result is claimed
  • Terraform IaC scaffold for reproducible Supabase + Vercel deployments

Sources

Sources: Source Code

03 / Methods

Build

Tech Stack

  • React 19
  • Vite
  • Tailwind CSS 4
  • TanStack Query
  • Python 3.12
  • Litestar
  • Supabase PostgreSQL
  • Docker
  • Terraform
  • AI-assisted media recommendations via Gemini with graceful degradation
  • Persistent AI chat transcripts with user-scoped sanitisation and query-cache updates
  • Status tracking, ratings and reviews for anime, movies and books, plus job-application tracking and job-aware suggestions
  • Smart filtering and search across entire media library

Secure

  • Backend-issued HttpOnly SameSite=Strict auth cookies; login and refresh responses also expose access tokens to the frontend session
  • Cookie-based /auth/refresh flow with silent client retry; short token lifetimes and secure-cookie settings require deployment configuration
  • LLM input mitigations use XML delimiters, string scrubbing and pattern-based PII masking; these do not guarantee prompt-injection immunity or complete PII removal
  • Fernet encryption for takeaway notes requires TAKEAWAY_ENCRYPTION_KEY; takeaway writes fail closed without the key, while chat encryption is conditional on that configuration
  • CI configures Bandit, pip-audit, npm audit and secret scanning; configured checks are distinct from a passing current workflow result

Search

Find a project, paper, write-up, or page.

30 / 44 · Search results

↑ ↓ Workspace NavigationEnter OpenEsc Close