AI-powered portfolio and chat platform (draphy.org) running on Cloudflare Workers. TypeScript microservices with RAG, E2E encryption, real-time streaming, and Notion CMS integration. Serves daily users with 65% less hallucination.
Live | Chat
Media
Key Contributions
- AI/RAG: Built RAG system with Cloudflare Vectorize (768-dim embeddings) and Llama 3.1 (128K context) using LangChain chunking, reducing hallucination by 65% and token costs by 30%. Serves 50+ daily users.
- Security: Built AES-GCM encryption with PBKDF2 key derivation (256-bit keys, 100K iterations), enforcing zero-knowledge architecture with client-side encryption for conversation data.
- CMS Integration: Built Notion CMS sync supporting 15+ block types with recursive processing, webhook handling for 15+ event types, and ETL pipeline processing 100+ pages with 99.9% data integrity.
- Real-time Streaming: Implemented Server-Sent Events with Hono for progressive AI token delivery, achieving 200ms first-byte time and 99.5% connection stability.
- Database: Built D1 SQLite schema with strategic indexes and cursor-based pagination, supporting 10K+ concurrent operations with sub-10ms query performance.
Skills
- AI/ML: RAG | LangChain | Vector Embeddings | Llama 3.1 | Semantic Search
- Backend: Cloudflare Workers | Hono | TypeScript | SSE
- Database: D1 SQLite | Cloudflare Vectorize