Skip to content

DocsIt is a completely free and open-source documentation platform that revolutionizes how you create, manage, and share knowledge. Built with modern web technologies and powered by AI, DocsIt provides all the tools you need to create beautiful, collaborative documentation without any cost or limitations.

Notifications You must be signed in to change notification settings

Happyesss/DocsIt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

19 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DocsIt - Free & Open Source AI-Powered Documentation Platform

DocsIt Dashboard

DocsIt is a completely free and open-source documentation platform that revolutionizes how you create, manage, and share knowledge. Built with modern web technologies and powered by AI, DocsIt provides all the tools you need to create beautiful, collaborative documentation without any cost or limitations.

๐ŸŒŸ What DocsIt Does

DocsIt transforms the way teams create and manage documentation by providing:

  • AI-Powered Content Generation: Let AI write, edit, and improve your documentation automatically
  • Real-time Collaboration: Work together with your team in real-time, anywhere in the world
  • Rich Text Editing: Beautiful, intuitive editor with support for blocks, embeds, and code
  • Smart Organization: Hierarchical document structure with easy navigation and search
  • Template Gallery: Pre-built templates for common documentation needs
  • Version Control: Track changes and collaborate with confidence
  • Cross-Platform Access: Works seamlessly on desktop and mobile devices

AI Features

๐Ÿ†“ Completely Free & Open Source

  • โœ… 100% Free - No subscriptions, no premium tiers, no hidden costs
  • โœ… Open Source - Full source code available, contribute and customize
  • โœ… Self-Hostable - Deploy on your own infrastructure
  • โœ… No Vendor Lock-in - Your data stays with you
  • โœ… Community Driven - Built by developers, for developers

๐Ÿš€ Key Features

๐Ÿค– AI-Powered Intelligence

  • Content Generation: Generate documentation from scratch using AI
  • Smart Suggestions: Context-aware AI that learns from your writing style
  • Auto-Complete: Intelligent suggestions as you type
  • Content Enhancement: Improve existing content with AI assistance

๐Ÿ“ Rich Editing Experience

  • Block-Based Editor: Modern editor with support for various content blocks
  • Code Highlighting: Syntax highlighting for 100+ programming languages
  • Embeds & Media: Support for images, videos, code blocks, and more
  • Math Equations: LaTeX support for mathematical expressions
  • Tables & Lists: Rich formatting options for structured content

๐Ÿ”„ Real-Time Collaboration

  • Live Editing: See changes from team members in real-time
  • Comments & Reviews: Collaborative feedback system
  • User Presence: See who's online and editing
  • Conflict Resolution: Smart merge capabilities for simultaneous edits

๐Ÿ—‚๏ธ Smart Organization

  • Hierarchical Structure: Nested documents with parent-child relationships
  • Full-Text Search: Find any content across all documents instantly
  • Tags & Categories: Organize content with flexible tagging
  • Navigation Trees: Easy-to-use sidebar navigation

๐Ÿ” Security & Privacy

  • Secure Authentication: Email/password and OAuth support
  • Access Controls: Fine-grained permissions for documents and folders
  • Data Privacy: Your content stays private and secure
  • Backup & Export: Easy data export and backup options

๐Ÿ› ๏ธ Tech Stack

  • Frontend: Next.js 13, React, TypeScript, Tailwind CSS
  • Backend: Appwrite (Database, Authentication, Storage)
  • AI Integration: Gemini AI for content generation
  • Editor: BlockNote (Rich text editor)
  • UI Components: Radix UI primitives with shadcn/ui
  • Styling: Tailwind CSS with custom design system
  • Icons: Lucide React
  • State Management: Zustand

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+ and npm
  • Appwrite account (cloud or self-hosted)

1. Clone the Repository

git clone https://github.com/your-username/docsit.git
cd docsit

2. Install Dependencies

npm install

3. Environment Setup

Create a .env.local file in the root directory:

# Appwrite Configuration
NEXT_PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
NEXT_PUBLIC_APPWRITE_PROJECT_ID=your_project_id_here
NEXT_PUBLIC_APPWRITE_DATABASE_ID=notion-clone-db
NEXT_PUBLIC_APPWRITE_DOCUMENTS_COLLECTION_ID=documents
NEXT_PUBLIC_APPWRITE_STORAGE_BUCKET_ID=cover-images

# Gemini AI (Optional - for AI features)
GEMINI_API_KEY=your_gemini_api_key_here

4. Appwrite Setup

  1. Create Project: Go to Appwrite Cloud and create a new project
  2. Enable Authentication: Navigate to Auth โ†’ Settings and enable Email/Password authentication
  3. Create Database: The required database schema will be created automatically
  4. Storage Bucket: Create a bucket named cover-images with appropriate permissions

5. Run the Development Server

npm run dev

Open http://localhost:3000 to see DocsIt in action!

๐Ÿ“š Project Structure

docsit/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ (main)/              # Authenticated app routes
โ”‚   โ”‚   โ”œโ”€โ”€ _components/     # Main app components
โ”‚   โ”‚   โ””โ”€โ”€ (routes)/        # Document management routes
โ”‚   โ”œโ”€โ”€ (marketing)/         # Landing page and marketing
โ”‚   โ”œโ”€โ”€ (public)/            # Public document preview
โ”‚   โ””โ”€โ”€ api/                 # API routes and AI endpoints
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ blocks/              # Document block components
โ”‚   โ”œโ”€โ”€ modals/              # Modal dialogs
โ”‚   โ”œโ”€โ”€ providers/           # Context providers
โ”‚   โ””โ”€โ”€ ui/                  # Reusable UI components
โ”œโ”€โ”€ lib/
โ”‚   โ”œโ”€โ”€ appwrite*.ts         # Appwrite service integrations
โ”‚   โ”œโ”€โ”€ gemini-ai.ts         # AI integration
โ”‚   โ”œโ”€โ”€ templates/           # Document templates
โ”‚   โ””โ”€โ”€ utils.ts             # Utility functions
โ””โ”€โ”€ public/                  # Static assets

๐ŸŽฏ Use Cases

For Development Teams

  • API Documentation: Create and maintain comprehensive API docs
  • Technical Guides: Write installation and setup guides
  • Code Documentation: Document codebases with rich formatting
  • Project Planning: Plan and track project milestones

For Product Teams

  • Product Requirements: Create detailed PRDs and specifications
  • User Guides: Build customer-facing documentation
  • Process Documentation: Document workflows and procedures
  • Meeting Notes: Collaborative note-taking and action items

For Content Teams

  • Content Strategy: Plan and organize content calendars
  • Style Guides: Maintain brand and writing guidelines
  • Knowledge Base: Build searchable knowledge repositories
  • Training Materials: Create onboarding and training docs

๐Ÿค Contributing

We welcome contributions from the community! DocsIt is open source and thrives on community involvement.

Ways to Contribute

  • ๐Ÿ› Report Bugs: Help us identify and fix issues
  • ๐Ÿ’ก Feature Requests: Suggest new features and improvements
  • ๐Ÿ”ง Code Contributions: Submit pull requests with bug fixes or features
  • ๐Ÿ“– Documentation: Improve our docs and guides
  • ๐ŸŒ Translations: Help translate DocsIt to other languages

Development Setup

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and commit: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

๐Ÿ“„ License

DocsIt is released under the MIT License. This means you can:

  • โœ… Use it commercially
  • โœ… Modify and distribute
  • โœ… Private use
  • โœ… Patent use

๐ŸŒ Community & Support

๐Ÿš€ Deployment

Deploy on Vercel (Recommended)

Deploy with Vercel

Self-Hosting Options

  • Docker: Use our Docker configuration for easy deployment
  • VPS: Deploy on any Linux server with Node.js
  • Cloud Platforms: Deploy on AWS, Google Cloud, or Azure

๐Ÿ”ฎ Roadmap

  • Real-time Collaboration Enhancements: Advanced conflict resolution
  • API Documentation: REST API for integrations
  • Plugin System: Extensible architecture for custom features
  • Advanced AI Features: More AI-powered content tools
  • Mobile Apps: Native iOS and Android applications
  • Enterprise Features: SSO, advanced permissions, audit logs

DocsIt - Empowering everyone to create beautiful documentation, completely free and open source.

Made with โค๏ธ by the open source community.

  • Hierarchical document structure (parent-child relationships)

  • Soft delete (archive) with restore functionality# ================================================

  • Full CRUD operations with optimistic updates# Appwrite Storage Configuration (for file uploads)

================================================

Editor# Storage Bucket ID for file uploads

  • Rich text editor with BlockNote# You need to create this bucket in Appwrite Console > Storage

  • Supports formatting, lists, headings, and more# Recommended name: "cover-images"

  • Auto-save functionalityNEXT_PUBLIC_APPWRITE_STORAGE_BUCKET_ID=cover-images

```

Search

  • Global search across all documents### 4. Set up Appwrite Storage

  • Keyboard shortcut (Ctrl+K) for quick access

  • Real-time filteringCreate a storage bucket for file uploads:

  1. Go to your Appwrite Console

๐ŸŽจ Customization2. Navigate to Storage

  1. Click Create Bucket

Theming4. Use bucket ID: cover-images

The app uses next-themes with Tailwind CSS. Modify tailwind.config.ts to customize colors and styles.5. Set appropriate permissions for file uploads

  1. Update your .env.local with the bucket ID

Components

UI components are built with Radix UI and styled with Tailwind CSS. Find them in components/ui/.### 5. Set up Appwrite Database

๐Ÿšข DeploymentFollow the detailed instructions in APPWRITE_SETUP.md to:

  • Create a database

Vercel (Recommended)- Create the documents collection

  1. Push your code to GitHub- Set up attributes and indexes

  2. Connect your repository to Vercel- Configure permissions

  3. Add environment variables in Vercel dashboard

  4. Deploy automatically### 6. Run the development server

Other Platforms```bash

The app works on any platform that supports Next.js:npm run dev

๐Ÿ“š Project Structure

๐Ÿค Contributing

```

  1. Fork the repositorynotion-clone/

  2. Create a feature branch (git checkout -b feature/amazing-feature)โ”œโ”€โ”€ app/

  3. Commit your changes (git commit -m 'Add amazing feature')โ”‚ โ”œโ”€โ”€ (main)/ # Authenticated routes

  4. Push to the branch (git push origin feature/amazing-feature)โ”‚ โ”‚ โ”œโ”€โ”€ _components/ # Main app components

  5. Open a Pull Requestโ”‚ โ”‚ โ””โ”€โ”€ (routes)/ # Document routes

โ”‚ โ”œโ”€โ”€ (marketing)/ # Landing page

๐Ÿ“ Licenseโ”‚ โ”œโ”€โ”€ (public)/ # Public preview routes

โ”‚ โ””โ”€โ”€ layout.tsx # Root layout

This project is licensed under the MIT License. See the LICENSE file for details.โ”œโ”€โ”€ components/

โ”‚ โ”œโ”€โ”€ modals/ # Modal components

๐Ÿ™ Acknowledgmentsโ”‚ โ”œโ”€โ”€ providers/ # Context providers

โ”‚ โ””โ”€โ”€ ui/ # UI components

  • Next.js - React frameworkโ”œโ”€โ”€ lib/

  • Appwrite - Backend-as-a-Serviceโ”‚ โ”œโ”€โ”€ appwrite.ts # Appwrite client

  • BlockNote - Rich text editorโ”‚ โ”œโ”€โ”€ appwrite-documents.ts # Document CRUD operations

  • Tailwind CSS - CSS frameworkโ”‚ โ”œโ”€โ”€ appwrite-storage.ts # File upload/storage helpers

  • Radix UI - UI primitivesโ”‚ โ””โ”€โ”€ utils.ts # Utilities

โ””โ”€โ”€ public/ # Static assets

๐Ÿ†˜ Support```

If you encounter any issues:## ๐Ÿ”‘ Key Features Explained

  • Check that all environment variables are correctly set

  • Verify Appwrite project configuration### Authentication

  • Ensure proper permissions are set on database collections and storage buckets- Email/password authentication powered by Appwrite

  • Custom auth context (useAuth) for managing user state

---- Protected routes with automatic redirects

Happy coding! ๐Ÿš€### Document Management

  • Hierarchical document structure (parent-child relationships)
  • Soft delete (archive) with restore functionality
  • Full CRUD operations with optimistic updates

Editor

  • Rich text editor with BlockNote
  • Supports formatting, lists, headings, and more
  • Auto-save functionality

Search

  • Global search across all documents
  • Keyboard shortcut (Ctrl+K) for quick access
  • Real-time filtering

๐ŸŽจ Customization

Theming

The app uses next-themes with Tailwind CSS. Modify tailwind.config.ts to customize colors and styles.

Components

UI components are built with Radix UI and styled with Tailwind CSS. Find them in components/ui/.

๐Ÿšข Deployment

Vercel (Recommended)

  1. Push your code to GitHub
  2. Import your repository in Vercel
  3. Add environment variables
  4. Deploy!

Other Platforms

The app can be deployed to any platform that supports Next.js 13:

  • Netlify
  • Railway
  • AWS Amplify
  • Self-hosted with Docker

๐Ÿ“– Documentation

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

๐Ÿ“ License

This project is open source and available under the MIT License.

๐Ÿ™ Acknowledgments

โš ๏ธ Known Issues

  • TypeScript errors during development are normal until the first build completes
  • Make sure to set up Appwrite database before running the app

๐Ÿ†˜ Support

If you encounter any issues:

  1. Check the APPWRITE_SETUP.md guide
  2. Verify all environment variables are set correctly
  3. Ensure Appwrite database and collection are properly configured

๐Ÿ”ฎ Future Enhancements

  • Collaborative editing
  • Comments and mentions
  • Document templates
  • Export to PDF/Markdown
  • Mobile app
  • OAuth providers (Google, GitHub)

About

DocsIt is a completely free and open-source documentation platform that revolutionizes how you create, manage, and share knowledge. Built with modern web technologies and powered by AI, DocsIt provides all the tools you need to create beautiful, collaborative documentation without any cost or limitations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages