Skip to content
xNotePadAI

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

IDE

Claude Code

AI CLI — creative tasks, one-shot scripts, analysis

AI CLI

TypeScript

v6.0 — type-safe server-side code

Language

Playwright

Automated UI testing — 30+ integration tests

Testing

Framework

Astro

v6.4 — SSR framework with Cloudflare adapter

v6.4.4

Tailwind CSS

v4.3 — utility-first styling, dark mode, responsive

v4.3

@astrojs/cloudflare

Cloudflare Workers adapter for SSR deployment

Adapter

Infrastructure (Cloudflare)

Cloudflare Workers

Edge compute — SSR, API routes, MCP server

Compute

Cloudflare D1

SQLite database — notes, tokens, billing, MCP logs

Database

Cloudflare Workers AI

Llama 3.3 70B — AI chat, summarisation, auto-tagging

AI

Cloudflare Vectorize

Vector database — semantic search (RAG)

Vectors

Cloudflare KV

Key-value store — sessions, cache

KV

Cloudflare R2

Object storage — attachments (25 MB per file)

Storage

Security & Encryption

AES-256-GCM

Client-side encryption — notes encrypted in browser

Encryption

PBKDF2 (600K iterations)

Key derivation from user password

Key Derivation

SHA-256 Token Hashing

MCP tokens hashed server-side, never stored plain

Auth

Web Crypto API

Hardware-accelerated crypto in browser

Browser

AI & MCP

Llama 3.3 70B (FP8)

Primary AI model for chat, summarisation, actions

LLM

BGE Base EN v1.5

Embedding model for semantic search (RAG)

Embeddings

MCP (Model Context Protocol)

13-tool server — JSON-RPC 2.0 over HTTPS

Protocol

Kiro Power

Published as installable Kiro Power on GitHub

Plugin

Client-Side

localStorage

Primary note storage — works offline, no account needed

Storage

PWA (Progressive Web App)

Installable, offline-capable, service worker

PWA

Web Speech API

Voice dictation — browser-native, no external service

Voice

SVG (Force-Directed Graph)

Knowledge graph visualisation — no charting library

Visualisation

Deployment & Tooling

Wrangler

Cloudflare CLI — deploy, D1 migrations, secrets

CLI

Node.js

v24 — build toolchain, scripts

v24

Git + GitHub

Version control, Kiro Power published on GitHub

VCS

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.

How it Works API Docs MCP Server Privacy Centre