Notion-like Platform Built with TanStack Start, TanStack AI and Convex.
- Persistent AI memory that stores user preferences and facts, with contextual retrieval during conversations
- Real-time web search powered by Jina AI for up-to-date information retrieval
- AI-powered search, retrieval, and editing of workspace documents through natural language
Features · Model providers · Deploy your own · Running locally
- TanStack Start
- File-based routing, type-safe from server to client
- Built on Vite for a lightning-fast HMR development experience
- TanStack AI
- AI integration with OpenAI adapter
- Server-sent events for streaming responses
- Jina
- Web search API for up-to-date information retrieval
- Integrated with AI tools for real-time web search capabilities
- Tiptap v3
- Modern rich text editor framework
- Extensible with custom extensions (code blocks, emojis, slash commands, etc.)
- Convex
- Collaborative editing with ProseMirror Sync from Convex
- RAG and full-text search for document content
- Better Auth
- Secure authentication with Better Auth for Convex
- GitHub OAuth integration
- Vercel Blob
- Scalable file storage for images, documents, and other media
- Built on Amazon S3 with 99.99% availability and global CDN distribution
- Shadcn/UI
- Styling with Tailwind CSS
- Component primitives from Radix UI for accessibility and flexibility
This app ships with OpenAI provider as the default. However, with the Tanstack AI, you can switch LLM providers to Anthropic, Ollama, Gemini, and many more with just a few lines of code.
- GPT-4.1 (
gpt-4.1): Excelling in instruction following and tool calling - GPT-4.1 mini (
gpt-4.1-mini): Faster version designed for efficiency without compromising performance - GPT-4.1 nano (
gpt-4.1-nano): Most cost-effective and fastest model
You can deploy your own version of Docufy to Vercel with one click:
You will need to use the environment variables defined in .env.example to run Docufy. It's recommended you use Vercel Environment Variables for this, but a .env file is all that is necessary.
Note: You should not commit your
.envfile or it will expose secrets that will allow others to control access to your various OpenAI and authentication provider accounts.
- Set
BETTER_AUTH_SECRET,GITHUB_CLIENT_ID, andGITHUB_CLIENT_SECRETin your Convex environment. - For local development, configure your GitHub OAuth callback URL as
${VITE_SITE_URL}/api/auth/callback/githubso the OAuth state cookie is set and read on the same origin.
- Install Vercel CLI:
npm i -g vercel - Link local instance with Vercel and GitHub accounts (creates
.verceldirectory):vercel link - Download your environment variables:
vercel env pull
bun install
bun dev
bun convex devYour app should now be running on localhost:3000.