MCPcopy Index your code
hub / github.com/crafter-station/text0

github.com/crafter-station/text0 @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
448 symbols 1,132 edges 154 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Text0 Logo Text0 Join Discord by Crafter Station

Text0

A text editor with absurdly smart autocomplete. Text0 serves as a copilot for writing, accessing user-provided references to offer context and help users write faster.

Text0 Screenshot

Features

  • Smart autocomplete powered by AI
  • Chat with your content
  • Reference-aware suggestions
  • Github, Linear and Notion integrations
  • Seamless writing experience
  • Voice input and output
  • Zen mode

Tech Stack

  • React
  • Next.js
  • Tailwind CSS
  • RadixUI
  • Upstash Redis
  • Upstash Vector
  • AI SDK
  • UploadThing
  • Cursor
  • Vercel
  • Trigger.dev
  • Clerk (Authentication)

Getting Started

Prerequisites

  • Node.js
  • Bun (preferred)

Installation

# Clone the repository
git clone https://github.com/crafter-station/text0.git
cd text0

# Install dependencies
bun install

# Start the development server
bun dev

Usage

Visit www.text0.dev to access the hosted version.

To use the local development version, navigate to http://localhost:3000 after starting the development server.

Screenshots

Landing Autocomplete File navigation

Contributing

Contributions are welcome! Please feel free to:

  1. Open issues for bugs or feature requests
  2. Submit PRs for new functionality
  3. Fork the project for your own use

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Extension points exported contracts — how you extend this code

TextDiffViewProps (Interface)
(no doc)
components/text-diff-view.tsx
Document (Interface)
(no doc)
components/integration-sidebar.tsx
InlineDiffViewProps (Interface)
(no doc)
components/inline-diff-view.tsx
TourStep (Interface)
(no doc)
components/tour.tsx
NewDocumentButtonProps (Interface)
(no doc)
components/new-document-button.tsx
Document (Interface)
(no doc)
components/command-menu.tsx
KeyProps (Interface)
(no doc)
components/t0-keycap.tsx
HyperTextProps (Interface)
(no doc)
components/text-scramble.tsx

Core symbols most depended-on inside this repo

cn
called by 172
lib/utils.ts
getSecureSession
called by 21
lib/auth/server.ts
REFERENCE_KEY
called by 14
lib/redis.ts
DOCUMENT_KEY
called by 10
lib/redis.ts
handleModification
called by 9
components/text-selection-menu.tsx
USER_REFERENCES_KEY
called by 8
lib/redis.ts
useStore
called by 7
components/ui/file-upload.tsx
useFileUploadContext
called by 6
components/ui/file-upload.tsx

Shape

Function 370
Interface 78

Languages

TypeScript100%

Modules by API surface

components/ui/file-upload.tsx28 symbols
components/ui/sidebar.tsx25 symbols
components/ui/menubar.tsx16 symbols
components/ui/dropdown-menu.tsx15 symbols
components/t0-keycap.tsx15 symbols
app/(protected)/docs/[doc_id]/text-editor/index.tsx13 symbols
hooks/use-debounced-callback.ts11 symbols
components/ui/alert-dialog.tsx11 symbols
components/ui/sheet.tsx10 symbols
components/ui/select.tsx10 symbols
components/ui/drawer.tsx10 symbols
components/ui/command.tsx9 symbols

For agents

$ claude mcp add text0 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact