C/ CloudActiveKnowledge Base

ShuGe

Serverless Chinese RAG knowledge base on Cloudflare.

Cloud / Knowledge BaseSNAPSHOT NOV 18, 2026
Latest release
None public
Primary stack
JavaScript
Last public push
Aug 28, 2026
GitHub stars
1
Overview

What it is.

A Chinese RAG knowledge base built entirely on Cloudflare, supporting PDF, Office, Markdown, web pages and GitHub repositories. Uploaded documents are parsed, chunked, vectorized and keyword-indexed automatically. Retrieval fuses vectors with BM25, and streamed answers include page-level citations.

Capabilities

What it does.

  • Multi-format document parsing plus web, GitHub and RSS imports
  • Vectorize semantic search and a custom BM25 inverted index
  • RRF fusion followed by vector, keyword-coverage and structure reranking
  • Three chat modes with SSE-streamed, cited answers
  • Owner / editor / viewer membership roles
  • Model and prompt version management with audit logs
Under the hood

How it's built.

  • Pages Functions mount Hono routes; D1 stores business data and R2 stores files
  • waitUntil runs parsing, chunking, vectorization and indexing asynchronously
  • BM25 uses a D1 inverted index instead of SQLite FTS5
  • Passwords use salted PBKDF2; JWTs pair with rotating refresh tokens
  • Retrieval checks for prompt injection and preserves citations
Current state

Actively taking shape.

LATEST RELEASE—
No confirmed public release

The repository is public, but there is no confirmed formal release in the current snapshot. Active means ongoing work, not published status.

Record note

Versions, push dates and stars come from public repository snapshots; features and stack are taken from the implementation. Unconfirmed details stay blank, and dates are never guessed.