A collaborative markdown editor built with Phoenix LiveView. Edit documents together in real-time with a clean split-pane interface.
- Real-time collaboration - Multiple people can edit the same document simultaneously
- Live preview - See your markdown rendered as you type
- GitHub flavored markdown - Tables, checkboxes, code blocks, and more
- Clean interface - Editor on the left, preview on the right
- Automatic saving - Your work is saved automatically
# Start PostgreSQL
docker compose up -d
# Install dependencies, create the database, and build assets
mix setup
# Start Phoenix
mix phx.serverVisit http://localhost:4000 and start writing!
Create a new document by visiting /editor or clicking "New Document". Share the URL with others to collaborate. Everyone's changes appear instantly.
Keyboard shortcuts:
Ctrl/Cmd + S- Save documentTab- Insert tab (instead of jumping to next field)
Built with Phoenix LiveView for real-time updates, Phoenix PubSub for collaboration, and Earmark for markdown parsing. Uses PostgreSQL to store documents and Tailwind CSS with DaisyUI for styling.
Run tests and checks:
mix precommitStart with interactive shell:
iex -S mix phx.serverFork, create a branch, make changes, run mix precommit, and submit a PR.