ByteBin Platform Architecture

ByteBin Platform Architecture An architecture diagram generated by Archify. Browser · ByteBin web client · Architecture component Browser ByteBin web client Next.js App · BFF routes + UI · ByteBin platform · auth, assistant, git Next.js App BFF routes + UI auth, assistant, git API Gateway · Express :8008 · ByteBin platform · proxy + rate limit API Gateway Express :8008 proxy + rate limit LLMs Service · Express :8009 · ByteBin platform · RAG, commit finder LLMs Service Express :8009 RAG, commit finder File Service · Express · ByteBin platform File Service Express Email Service · Express · ByteBin platform Email Service Express Chat Worker · Kafka consumer · ByteBin platform Chat Worker Kafka consumer PostgreSQL · accounts, repos, history · data stores PostgreSQL accounts, repos, history MongoDB · repo content, embeddings · data stores MongoDB repo content, embeddings Upstash Redis · library cache · data stores Upstash Redis library cache Kafka · chat.history topic · data stores Kafka chat.history topic GitHub · App + REST API · Architecture component GitHub App + REST API Groq · chat model · Architecture component Groq chat model Gemini · embeddings · Architecture component Gemini embeddings HTTPS REST / JWT proxy /rag proxy /files OAuth app install SQL repo content cache chat embed save history consume persist auth ByteBin platform data stores Legend Frontend Backend Database Message bus External