Tech Stack
Everything that powers xNotePadAI — from the AI IDE that built it to the edge infrastructure that runs it.
Development
Kiro
AI-powered IDE — primary development environment
Claude Code
AI CLI — creative tasks, one-shot scripts, analysis
TypeScript
v6.0 — type-safe server-side code
Playwright
Automated UI testing — 30+ integration tests
Framework
Astro
v6.4 — SSR framework with Cloudflare adapter
Tailwind CSS
v4.3 — utility-first styling, dark mode, responsive
@astrojs/cloudflare
Cloudflare Workers adapter for SSR deployment
Infrastructure (Cloudflare)
Cloudflare Workers
Edge compute — SSR, API routes, MCP server
Cloudflare D1
SQLite database — notes, tokens, billing, MCP logs
Cloudflare Workers AI
Llama 3.3 70B — AI chat, summarisation, auto-tagging
Cloudflare Vectorize
Vector database — semantic search (RAG)
Cloudflare KV
Key-value store — sessions, cache
Cloudflare R2
Object storage — attachments (25 MB per file)
Security & Encryption
AES-256-GCM
Client-side encryption — notes encrypted in browser
PBKDF2 (600K iterations)
Key derivation from user password
SHA-256 Token Hashing
MCP tokens hashed server-side, never stored plain
Web Crypto API
Hardware-accelerated crypto in browser
AI & MCP
Llama 3.3 70B (FP8)
Primary AI model for chat, summarisation, actions
BGE Base EN v1.5
Embedding model for semantic search (RAG)
MCP (Model Context Protocol)
13-tool server — JSON-RPC 2.0 over HTTPS
Kiro Power
Published as installable Kiro Power on GitHub
Client-Side
localStorage
Primary note storage — works offline, no account needed
PWA (Progressive Web App)
Installable, offline-capable, service worker
Web Speech API
Voice dictation — browser-native, no external service
SVG (Force-Directed Graph)
Knowledge graph visualisation — no charting library
Deployment & Tooling
Wrangler
Cloudflare CLI — deploy, D1 migrations, secrets
Node.js
v24 — build toolchain, scripts
Git + GitHub
Version control, Kiro Power published on GitHub
Architecture Summary
xNotePadAI is a local-first, edge-deployed application. Notes live in your browser (localStorage) with optional encrypted sync to Cloudflare D1. AI processing runs on Cloudflare Workers AI (Llama 3.3 70B) with zero data retention. The MCP server exposes 13 tools for AI agent integration. Zero cookies, zero analytics, zero tracking.