├── .dockerignore ├── .env.example ├── .github └── workflows │ └── docker-publish.yml ├── .gitignore ├── CLAUDE.md ├── Dockerfile ├── README.md ├── app ├── (protected) │ ├── ClientLayout.tsx │ ├── InvalidSessionHandler.tsx │ ├── dashboard │ │ └── page.tsx │ ├── layout.tsx │ └── workspace │ │ └── [workspaceId] │ │ ├── WorkspaceDashboard.tsx │ │ ├── WorkspaceLayout.tsx │ │ ├── database │ │ ├── [databaseId] │ │ │ ├── DatabasePageClient.tsx │ │ │ └── page.tsx │ │ └── create │ │ │ ├── CreateDatabasePage.tsx │ │ │ └── page.tsx │ │ ├── layout.tsx │ │ ├── page.tsx │ │ ├── page │ │ └── [pageId] │ │ │ ├── PageEditorV2.tsx │ │ │ └── page.tsx │ │ └── trash │ │ └── page.tsx ├── api │ ├── auth │ │ ├── [...nextauth] │ │ │ └── route.ts │ │ ├── register │ │ │ └── route.ts │ │ └── verify │ │ │ └── route.ts │ ├── databases │ │ ├── [databaseId] │ │ │ ├── route.ts │ │ │ ├── rows │ │ │ │ ├── [rowId] │ │ │ │ │ └── route.ts │ │ │ │ └── route.ts │ │ │ └── views │ │ │ │ └── [viewId] │ │ │ │ └── route.ts │ │ └── route.ts │ ├── health │ │ └── route.ts │ ├── notifications │ │ ├── mention │ │ │ └── route.ts │ │ └── route.ts │ ├── pages │ │ ├── [pageId] │ │ │ ├── content │ │ │ │ ├── force │ │ │ │ │ └── route.ts │ │ │ │ └── route.ts │ │ │ ├── favorite │ │ │ │ └── route.ts │ │ │ ├── move │ │ │ │ └── route.ts │ │ │ ├── permanent │ │ │ │ └── route.ts │ │ │ ├── restore │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ ├── recent │ │ │ └── route.ts │ │ ├── route.ts │ │ └── trash │ │ │ └── route.ts │ ├── upload │ │ └── avatar │ │ │ └── route.ts │ ├── user │ │ ├── password │ │ │ └── route.ts │ │ └── profile │ │ │ └── route.ts │ └── workspaces │ │ ├── [workspaceId] │ │ ├── members │ │ │ ├── [memberId] │ │ │ │ └── route.ts │ │ │ ├── route.ts │ │ │ └── search │ │ │ │ └── route.ts │ │ ├── pages │ │ │ └── tree │ │ │ │ └── route.ts │ │ └── route.ts │ │ └── route.ts ├── demo │ └── page.tsx ├── globals.css ├── icon.tsx ├── layout.tsx ├── login │ └── page.tsx ├── page.tsx └── signup │ └── page.tsx ├── components.json ├── components ├── collaboration │ └── ActiveUsers.tsx ├── database │ ├── BoardView.tsx │ ├── CalendarView.tsx │ ├── ColumnMenu.tsx │ ├── CreateDatabaseDialog.tsx │ ├── DatabaseContainer.tsx │ ├── DatabaseSelector.tsx │ ├── DatabaseToolbar.tsx │ ├── FilterMenu.tsx │ ├── GalleryView.tsx │ ├── ListView.tsx │ ├── PropertyManager.tsx │ ├── SortMenu.tsx │ ├── TableView.tsx │ ├── ViewSettings.tsx │ ├── index.ts │ └── properties │ │ ├── CheckboxProperty.tsx │ │ ├── CreatedByProperty.tsx │ │ ├── CreatedTimeProperty.tsx │ │ ├── DateProperty.tsx │ │ ├── EmailProperty.tsx │ │ ├── FormulaProperty.tsx │ │ ├── LastEditedByProperty.tsx │ │ ├── LastEditedTimeProperty.tsx │ │ ├── MultiSelectProperty.tsx │ │ ├── NumberProperty.tsx │ │ ├── PhoneProperty.tsx │ │ ├── PropertyCell.tsx │ │ ├── RelationProperty.tsx │ │ ├── RollupProperty.tsx │ │ ├── SelectProperty.tsx │ │ ├── TextProperty.tsx │ │ ├── UrlProperty.tsx │ │ └── index.ts ├── editor │ ├── BlockNoteEditor.tsx │ ├── DatabaseBlock.tsx │ └── Mention.tsx ├── layout │ └── snapdocs-sidebar.tsx ├── navigation │ └── Breadcrumbs.tsx ├── notifications │ ├── NotificationDropdown.tsx │ └── NotificationPanel.tsx ├── page │ └── snapdocs-page-header.tsx ├── pages │ └── NewPageDialog.tsx ├── providers │ └── auth-provider.tsx ├── search │ └── SearchDialog.tsx ├── settings │ └── SettingsModal.tsx ├── sidebar │ ├── PageTree.tsx │ ├── PageTreeItem.tsx │ └── SidebarV2.tsx ├── ui │ ├── accordion.tsx │ ├── alert-dialog.tsx │ ├── avatar-upload.tsx │ ├── avatar.tsx │ ├── badge.tsx │ ├── button.tsx │ ├── card.tsx │ ├── checkbox.tsx │ ├── collapsible.tsx │ ├── command.tsx │ ├── dialog.tsx │ ├── dropdown-menu.tsx │ ├── input.tsx │ ├── label.tsx │ ├── radio-group.tsx │ ├── scroll-area.tsx │ ├── select.tsx │ ├── separator.tsx │ ├── skeleton.tsx │ ├── switch.tsx │ ├── textarea.tsx │ └── tooltip.tsx └── workspace │ ├── WorkspaceSwitcher.tsx │ └── create-workspace-modal.tsx ├── docker-compose.yml ├── docker ├── mongodb │ ├── init-prod.js │ └── init.js └── nginx │ └── nginx.conf ├── docs └── DOCKER_HUB_SETUP.md ├── lib ├── api-auth.ts ├── auth-config.ts ├── auth.ts ├── collaboration │ ├── database-sync.ts │ ├── ot.ts │ └── yjs-provider.ts ├── db │ ├── mongodb.ts │ └── prisma.ts ├── services │ ├── database.ts │ ├── notification.ts │ ├── page-content.ts │ └── pages.ts ├── socket │ └── client.tsx ├── utils.ts └── utils │ ├── id.ts │ └── mentions.ts ├── middleware.ts ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── prisma ├── migrations │ ├── 20250823155426_inital_migration │ │ └── migration.sql │ ├── 20250824091905_add_favorite_field │ │ └── migration.sql │ ├── 20250824144737_add_notifications │ │ └── migration.sql │ ├── 20250827062918_add_page_blocks │ │ └── migration.sql │ ├── 20250827183239_inital │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── favicon.ico └── favicon.svg ├── screenshots ├── pages.png ├── settings.png └── snapdocs-intro.mp4 ├── scripts └── check-user.ts ├── server.js ├── tailwind.config.ts ├── tsconfig.json └── types ├── index.ts └── next-auth.d.ts /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/docker-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/.github/workflows/docker-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/.gitignore -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/README.md -------------------------------------------------------------------------------- /app/(protected)/ClientLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/ClientLayout.tsx -------------------------------------------------------------------------------- /app/(protected)/InvalidSessionHandler.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/InvalidSessionHandler.tsx -------------------------------------------------------------------------------- /app/(protected)/dashboard/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/dashboard/page.tsx -------------------------------------------------------------------------------- /app/(protected)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/layout.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/WorkspaceDashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/WorkspaceDashboard.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/WorkspaceLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/WorkspaceLayout.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/database/[databaseId]/DatabasePageClient.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/database/[databaseId]/DatabasePageClient.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/database/[databaseId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/database/[databaseId]/page.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/database/create/CreateDatabasePage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/database/create/CreateDatabasePage.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/database/create/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/database/create/page.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/layout.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/page.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/page/[pageId]/PageEditorV2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/page/[pageId]/PageEditorV2.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/page/[pageId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/page/[pageId]/page.tsx -------------------------------------------------------------------------------- /app/(protected)/workspace/[workspaceId]/trash/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/(protected)/workspace/[workspaceId]/trash/page.tsx -------------------------------------------------------------------------------- /app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /app/api/auth/register/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/auth/register/route.ts -------------------------------------------------------------------------------- /app/api/auth/verify/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/auth/verify/route.ts -------------------------------------------------------------------------------- /app/api/databases/[databaseId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/databases/[databaseId]/route.ts -------------------------------------------------------------------------------- /app/api/databases/[databaseId]/rows/[rowId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/databases/[databaseId]/rows/[rowId]/route.ts -------------------------------------------------------------------------------- /app/api/databases/[databaseId]/rows/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/databases/[databaseId]/rows/route.ts -------------------------------------------------------------------------------- /app/api/databases/[databaseId]/views/[viewId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/databases/[databaseId]/views/[viewId]/route.ts -------------------------------------------------------------------------------- /app/api/databases/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/databases/route.ts -------------------------------------------------------------------------------- /app/api/health/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/health/route.ts -------------------------------------------------------------------------------- /app/api/notifications/mention/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/notifications/mention/route.ts -------------------------------------------------------------------------------- /app/api/notifications/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/notifications/route.ts -------------------------------------------------------------------------------- /app/api/pages/[pageId]/content/force/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/[pageId]/content/force/route.ts -------------------------------------------------------------------------------- /app/api/pages/[pageId]/content/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/[pageId]/content/route.ts -------------------------------------------------------------------------------- /app/api/pages/[pageId]/favorite/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/[pageId]/favorite/route.ts -------------------------------------------------------------------------------- /app/api/pages/[pageId]/move/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/[pageId]/move/route.ts -------------------------------------------------------------------------------- /app/api/pages/[pageId]/permanent/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/[pageId]/permanent/route.ts -------------------------------------------------------------------------------- /app/api/pages/[pageId]/restore/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/[pageId]/restore/route.ts -------------------------------------------------------------------------------- /app/api/pages/[pageId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/[pageId]/route.ts -------------------------------------------------------------------------------- /app/api/pages/recent/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/recent/route.ts -------------------------------------------------------------------------------- /app/api/pages/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/route.ts -------------------------------------------------------------------------------- /app/api/pages/trash/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/pages/trash/route.ts -------------------------------------------------------------------------------- /app/api/upload/avatar/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/upload/avatar/route.ts -------------------------------------------------------------------------------- /app/api/user/password/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/user/password/route.ts -------------------------------------------------------------------------------- /app/api/user/profile/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/user/profile/route.ts -------------------------------------------------------------------------------- /app/api/workspaces/[workspaceId]/members/[memberId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/workspaces/[workspaceId]/members/[memberId]/route.ts -------------------------------------------------------------------------------- /app/api/workspaces/[workspaceId]/members/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/workspaces/[workspaceId]/members/route.ts -------------------------------------------------------------------------------- /app/api/workspaces/[workspaceId]/members/search/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/workspaces/[workspaceId]/members/search/route.ts -------------------------------------------------------------------------------- /app/api/workspaces/[workspaceId]/pages/tree/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/workspaces/[workspaceId]/pages/tree/route.ts -------------------------------------------------------------------------------- /app/api/workspaces/[workspaceId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/workspaces/[workspaceId]/route.ts -------------------------------------------------------------------------------- /app/api/workspaces/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/api/workspaces/route.ts -------------------------------------------------------------------------------- /app/demo/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/demo/page.tsx -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/icon.tsx -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/login/page.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/app/signup/page.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components.json -------------------------------------------------------------------------------- /components/collaboration/ActiveUsers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/collaboration/ActiveUsers.tsx -------------------------------------------------------------------------------- /components/database/BoardView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/BoardView.tsx -------------------------------------------------------------------------------- /components/database/CalendarView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/CalendarView.tsx -------------------------------------------------------------------------------- /components/database/ColumnMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/ColumnMenu.tsx -------------------------------------------------------------------------------- /components/database/CreateDatabaseDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/CreateDatabaseDialog.tsx -------------------------------------------------------------------------------- /components/database/DatabaseContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/DatabaseContainer.tsx -------------------------------------------------------------------------------- /components/database/DatabaseSelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/DatabaseSelector.tsx -------------------------------------------------------------------------------- /components/database/DatabaseToolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/DatabaseToolbar.tsx -------------------------------------------------------------------------------- /components/database/FilterMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/FilterMenu.tsx -------------------------------------------------------------------------------- /components/database/GalleryView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/GalleryView.tsx -------------------------------------------------------------------------------- /components/database/ListView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/ListView.tsx -------------------------------------------------------------------------------- /components/database/PropertyManager.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/PropertyManager.tsx -------------------------------------------------------------------------------- /components/database/SortMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/SortMenu.tsx -------------------------------------------------------------------------------- /components/database/TableView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/TableView.tsx -------------------------------------------------------------------------------- /components/database/ViewSettings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/ViewSettings.tsx -------------------------------------------------------------------------------- /components/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/index.ts -------------------------------------------------------------------------------- /components/database/properties/CheckboxProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/CheckboxProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/CreatedByProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/CreatedByProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/CreatedTimeProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/CreatedTimeProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/DateProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/DateProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/EmailProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/EmailProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/FormulaProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/FormulaProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/LastEditedByProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/LastEditedByProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/LastEditedTimeProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/LastEditedTimeProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/MultiSelectProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/MultiSelectProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/NumberProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/NumberProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/PhoneProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/PhoneProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/PropertyCell.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/PropertyCell.tsx -------------------------------------------------------------------------------- /components/database/properties/RelationProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/RelationProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/RollupProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/RollupProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/SelectProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/SelectProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/TextProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/TextProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/UrlProperty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/UrlProperty.tsx -------------------------------------------------------------------------------- /components/database/properties/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/database/properties/index.ts -------------------------------------------------------------------------------- /components/editor/BlockNoteEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/editor/BlockNoteEditor.tsx -------------------------------------------------------------------------------- /components/editor/DatabaseBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/editor/DatabaseBlock.tsx -------------------------------------------------------------------------------- /components/editor/Mention.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/editor/Mention.tsx -------------------------------------------------------------------------------- /components/layout/snapdocs-sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/layout/snapdocs-sidebar.tsx -------------------------------------------------------------------------------- /components/navigation/Breadcrumbs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/navigation/Breadcrumbs.tsx -------------------------------------------------------------------------------- /components/notifications/NotificationDropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/notifications/NotificationDropdown.tsx -------------------------------------------------------------------------------- /components/notifications/NotificationPanel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/notifications/NotificationPanel.tsx -------------------------------------------------------------------------------- /components/page/snapdocs-page-header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/page/snapdocs-page-header.tsx -------------------------------------------------------------------------------- /components/pages/NewPageDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/pages/NewPageDialog.tsx -------------------------------------------------------------------------------- /components/providers/auth-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/providers/auth-provider.tsx -------------------------------------------------------------------------------- /components/search/SearchDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/search/SearchDialog.tsx -------------------------------------------------------------------------------- /components/settings/SettingsModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/settings/SettingsModal.tsx -------------------------------------------------------------------------------- /components/sidebar/PageTree.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/sidebar/PageTree.tsx -------------------------------------------------------------------------------- /components/sidebar/PageTreeItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/sidebar/PageTreeItem.tsx -------------------------------------------------------------------------------- /components/sidebar/SidebarV2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/sidebar/SidebarV2.tsx -------------------------------------------------------------------------------- /components/ui/accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/accordion.tsx -------------------------------------------------------------------------------- /components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /components/ui/avatar-upload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/avatar-upload.tsx -------------------------------------------------------------------------------- /components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/avatar.tsx -------------------------------------------------------------------------------- /components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/badge.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/card.tsx -------------------------------------------------------------------------------- /components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /components/ui/collapsible.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/collapsible.tsx -------------------------------------------------------------------------------- /components/ui/command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/command.tsx -------------------------------------------------------------------------------- /components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/dialog.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/radio-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/radio-group.tsx -------------------------------------------------------------------------------- /components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/select.tsx -------------------------------------------------------------------------------- /components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/separator.tsx -------------------------------------------------------------------------------- /components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/switch.tsx -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/textarea.tsx -------------------------------------------------------------------------------- /components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /components/workspace/WorkspaceSwitcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/workspace/WorkspaceSwitcher.tsx -------------------------------------------------------------------------------- /components/workspace/create-workspace-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/components/workspace/create-workspace-modal.tsx -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/mongodb/init-prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/docker/mongodb/init-prod.js -------------------------------------------------------------------------------- /docker/mongodb/init.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/docker/mongodb/init.js -------------------------------------------------------------------------------- /docker/nginx/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/docker/nginx/nginx.conf -------------------------------------------------------------------------------- /docs/DOCKER_HUB_SETUP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/docs/DOCKER_HUB_SETUP.md -------------------------------------------------------------------------------- /lib/api-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/api-auth.ts -------------------------------------------------------------------------------- /lib/auth-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/auth-config.ts -------------------------------------------------------------------------------- /lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/auth.ts -------------------------------------------------------------------------------- /lib/collaboration/database-sync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/collaboration/database-sync.ts -------------------------------------------------------------------------------- /lib/collaboration/ot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/collaboration/ot.ts -------------------------------------------------------------------------------- /lib/collaboration/yjs-provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/collaboration/yjs-provider.ts -------------------------------------------------------------------------------- /lib/db/mongodb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/db/mongodb.ts -------------------------------------------------------------------------------- /lib/db/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/db/prisma.ts -------------------------------------------------------------------------------- /lib/services/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/services/database.ts -------------------------------------------------------------------------------- /lib/services/notification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/services/notification.ts -------------------------------------------------------------------------------- /lib/services/page-content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/services/page-content.ts -------------------------------------------------------------------------------- /lib/services/pages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/services/pages.ts -------------------------------------------------------------------------------- /lib/socket/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/socket/client.tsx -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /lib/utils/id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/utils/id.ts -------------------------------------------------------------------------------- /lib/utils/mentions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/lib/utils/mentions.ts -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/middleware.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prisma/migrations/20250823155426_inital_migration/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/prisma/migrations/20250823155426_inital_migration/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250824091905_add_favorite_field/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/prisma/migrations/20250824091905_add_favorite_field/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250824144737_add_notifications/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/prisma/migrations/20250824144737_add_notifications/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250827062918_add_page_blocks/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/prisma/migrations/20250827062918_add_page_blocks/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250827183239_inital/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/prisma/migrations/20250827183239_inital/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/public/favicon.svg -------------------------------------------------------------------------------- /screenshots/pages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/screenshots/pages.png -------------------------------------------------------------------------------- /screenshots/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/screenshots/settings.png -------------------------------------------------------------------------------- /screenshots/snapdocs-intro.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/screenshots/snapdocs-intro.mp4 -------------------------------------------------------------------------------- /scripts/check-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/scripts/check-user.ts -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/server.js -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/types/index.ts -------------------------------------------------------------------------------- /types/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BytesCraftIO/snapdocs/HEAD/types/next-auth.d.ts --------------------------------------------------------------------------------