Build your second brain with a powerful block-based editor and real-time collaboration
β οΈ Beta Status: This project is under active development. Features may change.
Featuresβ β’ Quick Startβ β’ Tech Stackβ β’ Dockerβ β’ Contributingβ
SnapDocs is a **self-hostable, open-source document workspace ** that empowers teams and individuals to create, organize, and collaborate on documents with ease. Built with modern web technologies, it offers a seamless experience for managing your knowledge base, notes, and documentation.
/ command menu
Rich Block Editor with Real-time Collaboration |
Comprehensive Settings & Customization |
Get SnapDocs running in under 5 minutes!
# Clone the repository
mkdir snapdocs && cd snapdocs
curl https://raw.githubusercontent.com/BytesCraftIO/snapdocs/refs/heads/main/docker-compose.yml -o docker-compose.yml
# Start all services with one command
docker-compose --profile production up -d
# Access SnapDocs at http://localhost:3000
That's it! SnapDocs is now running with all required services.
# Clone the repository
git clone https://github.com/BytesCraftIO/snapdocs.git
cd snapdocs
# Install dependencies
pnpm install
# Start infrastructure services
docker-compose up -d
# Run database migrations
pnpm db:migrate
# Start development server
pnpm dev
# Visit http://localhost:3000
|
Next.js 14 |
React 19 |
TypeScript |
Tailwind CSS |
PostgreSQL |
MongoDB |
|
Redis |
Prisma |
Docker |
Socket.io |
shadcn/ui |
MinIO S3 |
# Production deployment with all services
docker-compose --profile production up -d
This starts:
Create a .env file for production:
# Database
POSTGRES_PASSWORD=secure_password
MONGO_ROOT_PASSWORD=secure_password
# Authentication
NEXTAUTH_SECRET=generate-a-secret-key
# Optional
REDIS_PASSWORD=optional_redis_password
S3_ACCESS_KEY=custom_minio_key
S3_SECRET_KEY=custom_minio_secret
Pull the pre-built image:
docker pull bytescraftio/snapdocs:latest
We love contributions! Whether it's bug fixes, new features, or documentation improvements, we welcome all help.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)# Install dependencies
pnpm install
# Run tests
pnpm test
# Lint code
pnpm lint
# Type check
pnpm typecheck
| Variable | Description | Example |
|---|---|---|
DATABASE_URL | PostgreSQL connection string | postgresql://user:pass@localhost:5432/snapdocs |
MONGODB_URI | MongoDB connection string | mongodb://admin:pass@localhost:27017/snapdocs |
NEXTAUTH_SECRET | Auth encryption secret | your-secret-key-here |
NEXTAUTH_URL | Application URL | http://localhost:3000 |
| Variable | Description | Default |
|---|---|---|
REDIS_URL | Redis cache connection | redis://localhost:6379 |
S3_ENDPOINT | MinIO/S3 endpoint | http://localhost:9000 |
S3_ACCESS_KEY | S3 access key | minioadmin |
S3_SECRET_KEY | S3 secret key | minioadmin |
This project is licensed under the MIT License - see the LICENSEβ file for details.
If you find SnapDocs useful, please consider giving it a β on GitHub!
Content type
Image
Digest
sha256:80525be2aβ¦
Size
409.4 MB
Last updated
about 1 year ago
docker pull bytescraftio/snapdocs