https://github.com/thetronjohnson/slate
https://github.com/thetronjohnson/slate
editor javascript markdown markdown-editor markdown-viewer notion notion-alternative nuxtjs typescript vuejs webapp writing writing-application writing-software writing-tool wysiwyg wysiwyg-editor wysiwyg-editors wysiwyg-markdown
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thetronjohnson/slate
- Owner: thetronjohnson
- License: mit
- Created: 2025-03-26T21:34:36.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-04-05T11:26:22.000Z (2 months ago)
- Last Synced: 2025-04-05T12:25:42.562Z (2 months ago)
- Topics: editor, javascript, markdown, markdown-editor, markdown-viewer, notion, notion-alternative, nuxtjs, typescript, vuejs, webapp, writing, writing-application, writing-software, writing-tool, wysiwyg, wysiwyg-editor, wysiwyg-editors, wysiwyg-markdown
- Language: Vue
- Homepage: https://slate.ink
- Size: 190 KB
- Stars: 15
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slate - A Minimal Writing App with AI
Slate is a minimal, local-first writing app with AI capabilities. Write, edit, and improve your content with AI assistance.
## Features
- 📝 Clean, distraction-free writing interface
- 🤖 AI-powered writing assistance (⌘/Ctrl + K)
- 💾 Local-first storage with IndexedDB
- 🌐 Publish and share pages
- 🎨 Rich text formatting
- 📋 Task lists and code blocks
- 🔄 Auto-save
- 📤 Export to Markdown and PDF## Tech Stack
- Vue 3 + Nuxt 3
- TipTap for rich text editing
- Tailwind CSS for styling
- Supabase for authentication and storage
- OpenAI for AI capabilities## Setup
1. Clone the repository
2. Install dependencies:
```bash
bun install
```3. Create a `.env` file with the following variables:
```env
OPENAI_API_KEY=your_openai_api_key
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
APP_URL=your_app_url
```4. Start the development server:
```bash
bun run dev
```## Development
The app will be available at `http://localhost:3000`
## Production
Build the application for production:
```bash
bun run build
```## License
MIT
## Author
Kiran Johns ([@thetronjohnson](https://x.com/thetronjohnson))