Skip to content

raymindai/memory-wiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,196 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memory.wiki

The fastest way from thought to shared document.

Markdown URLs that humans write and AI reads. Capture from any AI tool. Share anywhere with a permanent short URL.

Live VS Code MCP CLI


What is this?

memory.wiki is a document platform with one promise: every document gets a permanent short URL (memory.wiki/abc123) that works everywhere — browsers, AI chats, Slack, email, embeds. No login to view. No paywall.

It ships across 7 channels, all driven by the same shared rendering pipeline (markdown-it + highlight.js + KaTeX + Mermaid) so a doc looks identical wherever you open it.

7 Channels

Channel Status Install
Web Live Just open memory.wiki
VS Code v1.4.5 Marketplace
Desktop (Mac) v2.3.6 DMG from releases
CLI v1.4.3 npm install -g memory-wiki-cli
MCP Server v1.5.4 npx memory-wiki-mcp or hosted memory.wiki/api/mcp
Chrome Extension v2.2.4 Web Store
QuickLook (Mac) Bundled with Desktop DMG (auto-installed)
API Live https://memory.wiki/api/docs

Features

Editor

  • MD — WYSIWYG editing on the rendered preview (TipTap / ProseMirror)
  • Source — CodeMirror 6 with Markdown syntax highlighting
  • Split — side-by-side MD + Source
  • Floating toolbar — context-aware formatting on text selection
  • Mermaid visual editor — drag-and-drop flowchart canvas

Import (13+ formats)

  • Documents — MD, PDF, DOCX, PPTX, XLSX, HTML, RTF
  • Data — CSV, JSON, XML
  • Academic — LaTeX, reStructuredText
  • AI output — auto-detects ChatGPT/Claude/Gemini conversations
  • CLI output — auto-detects terminal tables and unicode formatting

Export

  • Download — Markdown, HTML, Plain Text
  • Print — PDF via browser print (custom print CSS)
  • Clipboard — Raw HTML, Rich Text (Google Docs/Email), Slack mrkdwn
  • Share — Short URL, QR Code, Embed code (iframe)

Rendering

  • Full GFM — tables, task lists, footnotes, strikethrough, autolinks
  • Math — KaTeX inline ($...$) and display ($$...$$)
  • Mermaid — flowcharts, sequence, gantt, class, state diagrams
  • 190+ languages — syntax highlighting via highlight.js
  • ASCII diagrams — auto-detect and style box-drawing characters

Sharing & Access

  • Owner-only editing model
  • Password protection + expiry dates
  • Email allowlist for restricted access
  • View count tracking

Auth

  • Google / GitHub OAuth + Email magic link
  • Anonymous editing (no login required to create)
  • Cloud sync across devices, real-time collaboration (Yjs CRDT)

CLI

# Publish a file
mw publish README.md

# Pipe from any command
echo "# Hello" | mw publish
tmux capture-pane -p | mw publish
pbpaste | mw publish

# Manage documents
mw list
mw read abc123
mw update abc123 updated.md
mw search "meeting notes"
mw pull abc123 -o doc.md

# Print the canonical "for AI" paste sentence for any id / URL / @user / b/<id>
mw ai abc123
# Use https://memory.wiki/abc123 as my context.

MCP Server

Connect any AI tool to memory.wiki:

{
  "mcpServers": {
    "memory.wiki": {
      "command": "npx",
      "args": ["memory-wiki-mcp"]
    }
  }
}

Or use the hosted endpoint: https://memory.wiki/api/mcp

29 tools: create, read, update, delete, list, search, append, prepend, sections, sharing, versions, folders, stats, hub + bundle constellations, mw_for_ai (canonical paste sentence for any id / URL / @user / b/<id>), and more.

Tech Stack

Layer Technology
Web App Next.js 15 + React 19 + TailwindCSS v4
Editor TipTap (ProseMirror)
Source Editor CodeMirror 6
Markdown markdown-it + markdown-it-footnote
Math KaTeX
Code Highlighting highlight.js
Diagrams Mermaid.js
Desktop Electron
VS Code Extension API + WebView
Auth Supabase Auth
Database Supabase PostgreSQL
Realtime Supabase Realtime (Yjs CRDT)
Hosting Vercel

Quick Start

# Run the web app
cd apps/web
npm install
npm run dev    # → http://localhost:3000

# Build Desktop DMG (requires Developer ID cert + notarize creds)
cd apps/desktop
npm run build:dmg

# Publish VS Code extension
cd apps/vscode-extension
npx @vscode/vsce publish

Project Structure

mdcore/
├── apps/
│   ├── web/                  # Next.js 15 (memory.wiki)
│   ├── desktop/              # Electron Mac app
│   ├── vscode-extension/     # VS Code extension
│   ├── chrome-extension/     # Chrome extension
│   ├── cli/                  # memory-wiki-cli (npm)
│   └── quicklook/            # macOS QuickLook
├── packages/
│   └── mcp/                  # memory-wiki-mcp (npm)
├── docs/                     # Architecture, roadmap, manifesto
└── .github/workflows/        # CI/CD

Keyboard Shortcuts

Shortcut Action
⌘B Bold
⌘I Italic
⌘K Insert link / Command palette
⌘S Share / copy URL
⌘⇧C Copy HTML
⌘Z / ⌘⇧Z Undo / Redo
⌘\ Toggle view mode
⌘Enter Exit block (quote/list/code)
Alt+1/2/3 MD / Split / Source
Dbl-click Edit code/math/diagram/table

License

MIT


memory.wikiThe fastest way from thought to shared document.

memory.wiki · Docs · Plugins · GitHub