Skip to content

tornidomaroc-web/knowflow

Repository files navigation

KnowFlow

Chat with any document — Arabic & English AI agent, no setup required.

Live Demo TypeScript Claude API

Upload a PDF or paste a URL. Ask questions in Arabic or English.
KnowFlow streams answers in real time — sourced directly from your document.

Features

  • Bilingual: Arabic (RTL) + English in the same session
  • Streaming responses via Claude Haiku
  • PDF, DOCX, and URL ingestion
  • Authentication via Supabase
  • PRO tier with usage limits

Stack

Next.js 15 · FastAPI · Claude Haiku · Supabase · Railway · Vercel

Architecture

User → Next.js (Vercel)
         └→ FastAPI (Railway)
               └→ Claude Haiku (streaming)
               └→ Supabase (auth + storage)

Run locally

# Frontend
cd frontend && npm install && npm run dev

# Backend
cd backend && pip install -r requirements.txt
uvicorn main:app --reload
ANTHROPIC_API_KEY=
SUPABASE_URL=
SUPABASE_ANON_KEY=

Live

🌐 tryknowflow.com

Built by

AboJad — Full Stack AI Engineer, Marrakesh 🇲🇦