Build a documentation system with RAG using Cloudflare.
Project details
Cloudflare-stack-docs offers a robust framework for creating a documentation system integrated with Retrieval-Augmented Generation (RAG). Leveraging Cloudflare's powerful tools, this project enables seamless deployment and effective management of documentation resources, perfect for developers looking to enhance their project documentation.
The cloudflare-stack-docs project serves as a comprehensive documentation system leveraging Cloudflare's robust infrastructure. Designed for seamless deployment and effective content management, this system incorporates a Retrieval-Augmented Generation (RAG) feature for enhanced search capabilities.
The architecture of the cloudflare-stack-docs project is well-structured to facilitate both development and deployment:
graph LR
User[User]
subgraph dev["Development"]
LocalRepo[Local Docs<br/>Repository]
ProjectRepo[Project<br/>Repository]
AI[Claude Code<br/>Codex etc.]
end
subgraph cicd["CI/CD"]
GHA[GitHub<br/>Actions]
end
subgraph cf["Cloudflare Infrastructure"]
Workers[Workers<br/>Astro + Starlight]
R2[(R2<br/>Storage)]
AISearch[AI Search<br/>RAG]
Access[Access<br/>Auth]
end
%% User actions
User -->|write| LocalRepo
User -->|read| Workers
User -->|search| AISearch
%% AI document generation
ProjectRepo -->|ref| AI
AI -->|generate| LocalRepo
%% CI/CD flow
LocalRepo -->|push| GHA
GHA -->|deploy| Workers
GHA -->|upload| R2
%% Infrastructure
Workers -->|query| AISearch
AISearch -->|index<br>every 6 hours| R2
Access -->|protect| Workers
Framework:
Infrastructure:
Development Tools:
This repository is positioned to cater to developers and content creators looking to deploy efficient documentation solutions utilizing Cloudflare's advanced capabilities.
Comments
0Start the conversation
Share the first comment.