Documentation Reimagined. Craft living knowledge bases that adapt to your team. Beautiful by default.
Chameleon Docs is a next-generation documentation platform designed to be visually comfortable and highly intelligent. It moves away from static, boring wikis to create a dynamic, adaptive environment for your team's knowledge.
Built with Next.js and React Server Components, it prioritizes zero-latency performance while delivering a premium user experience with smooth animations and a refined design system.
- ⚡ Zero Latency: Powered by Next.js App Router and React Server Components for instant page transitions and optimal performance.
- 🎨 Visual Bliss: A strict, atomic design system featuring glassmorphism, smooth gradients, and micro-interactions.
- 🧠 AI-Powered: Integrated with Google's Generative AI to assist in content creation and organization.
- 🦎 Adaptive Interface: A "Chameleon" theme that adapts to user preferences, featuring a command menu (
cmdk) for keyboard-first navigation. - 🔐 Secure Authentication: Robust auth system using NextAuth.js and MongoDB.
- 🌊 Smooth Experience: Enhanced scrolling with Lenis and fluid animations with Framer Motion.
- Framework: Next.js
- Language: TypeScript
- Styling: Tailwind CSS,
tailwind-merge,cva - Animations: Framer Motion, Lenis
- Database: MongoDB (via Mongoose)
- Authentication: NextAuth.js
- AI: Google Generative AI SDK
- UI Components: Radix UI, Lucide React
- Markdown:
react-markdown,remark-gfm,react-syntax-highlighter
- Node.js 18+
- MongoDB Database (Local or Atlas)
-
Clone the repository:
git clone https://github.com/AtharvRG/chameleon-docs.git cd chameleon-docs -
Install dependencies:
npm install
-
Set up environment variables: Create a
.env.localfile in the root directory and add the following:# Database MONGODB_URI=your_mongodb_connection_string # Authentication AUTH_SECRET=your_nextauth_secret # AI GOOGLE_API_KEY=your_gemini_api_key # App NEXT_PUBLIC_APP_URL=http://localhost:3000
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
chameleon-docs/
├── actions/ # Server actions for data mutation
├── app/ # Next.js App Router pages and layouts
├── components/ # Reusable UI components
│ ├── ui/ # Primitive components (buttons, inputs, etc.)
│ └── ... # Feature-specific components
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and configurations
├── models/ # Mongoose database models
├── public/ # Static assets
└── types/ # TypeScript type definitionsContributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Anchor