DocsX
An AI-powered documentation platform built with Rust and Next.js — fast, modern, and made for devs.
12 days
11 Tech
Project Overview
DocsX is a blazing-fast, AI-enhanced documentation and tutorial platform built for developers who are tired of scattered, outdated, and clunky doc systems. It combines a Rust backend with a modern Next.js frontend to offer a smooth experience for writing, exploring, and sharing technical content.
Writers can create rich Markdown-based docs and tutorials, enhanced by Google AI summaries. Readers get instant full-text search, community interaction features, and fast load times. With secure authentication via Clerk and JWT, built-in asset support, and custom slugs for sharing — DocsX aims to be the dev-focused Notion + Dev.to hybrid.
It also exposes a powerful REST API for content, assets, and user interaction, and is structured with scalable deployment in mind. Although the backend may be offline due to hosting limits, it's fully open-source and ready to self-host.
Key Features
📝 Rich Markdown docs & tutorials with live editor
⚡ Blazing-fast AI-powered full-text search
🤖 Google AI summaries and content enhancement
🔒 Secure Clerk + JWT authentication flow
💬 Social features: like, bookmark, and engage
🌗 Dark mode UI with modern design (Next.js 15)
📂 Asset upload support for attaching media/files
🏷️ Shareable custom slugs for each doc
🔌 RESTful API for docs, assets, and engagement
🛠️ Scalable backend with PostgreSQL + Docker
Challenges
🧩 Integrating Clerk with custom JWT-based backend auth
🔐 Securing REST API with CORS, validation, and rate limiting
🗄️ Setting up PostgreSQL connection pooling
🚀 Balancing frontend responsiveness with AI latency
💸 Self-hosting due to backend cost constraints
Key Learnings
🦀 Production-ready Rust backend development with Actix Web
🧠 Auth flows using Clerk + JWT + Middleware guards
🧰 Designing REST APIs for docs and user data
🗃️ PostgreSQL schema design with validation and ownership checks
🌍 Deploying full-stack AI-powered apps (Vercel + Railway + Docker)
Tech Stack
Timeline
Started
June 24, 2025
Completed
July 6, 2025
Total Duration
12 days
