Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cache8063/.md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.md

A modern, web-based markdown editor with Obsidian-like features

License: AGPL v3 Node.js Version PostgreSQL Version

.md is a powerful, self-hosted markdown editor built with modern web technologies. It brings Obsidian and Logseq-inspired features to the browser with bidirectional linking, daily notes, and a clean, keyboard-first interface.

Features

Core Features

  • Rich Markdown Editing - CodeMirror 6 editor with live preview
  • Bidirectional WikiLinks - [[note-name]] syntax with backlinks panel
  • Daily Notes - Logseq-style journaling with keyboard shortcuts
  • Automatic Tagging - Extract and search by #hashtags
  • Folder Organization - Hierarchical folder structure
  • Tabbed Interface - Multiple notes open simultaneously
  • Multiple Themes - Dark, Light, Solarized, High Contrast, and Ocean themes

Advanced Features

  • Keyboard-First - Comprehensive keyboard shortcuts
  • File Tree Navigation - Virtual scrolling for 1000+ notes
  • Soft Delete - Trash system with restore functionality
  • Advanced Search - Full-text search with tag filters
  • Import/Export - Drag-and-drop file import, folder preservation
  • Auto-Sync - Background sync with configurable intervals
  • Mobile Responsive - Touch-optimized interface

Daily Notes Features

  • Calendar picker with purple theme
  • Sidebar browser for all daily notes
  • Quick navigation between days
  • Template support with variables ({{date}}, {{time}}, etc.)
  • Fully configurable via settings

Quick Start

Using Docker (Recommended)

# Clone the repository
git clone https://github.com/Cache8063/md.git
cd md

# Copy environment file
cp .env.example .env

# Start with Docker Compose
./install.sh docker

# Access at http://localhost:3000

Using Podman

# Clone the repository
git clone https://github.com/Cache8063/md.git
cd md

# Copy environment file
cp .env.example .env

# Start with Podman
./install.sh podman

# Access at http://localhost:3000

Bare Metal Installation

Prerequisites:

  • Node.js 20+
  • PostgreSQL 16+
# Clone the repository
git clone https://github.com/Cache8063/md.git
cd md

# Copy and configure environment
cp .env.example .env
# Edit .env with your database credentials

# Run installation
./install.sh bare-metal

# Start development server
npm run dev

# Or build for production
npm run build
npm run preview

Documentation

Keyboard Shortcuts

General

  • Cmd/Ctrl+N - New note
  • Cmd/Ctrl+K - Search notes
  • Cmd/Ctrl+S - Save note
  • Cmd/Ctrl+W - Close tab

Daily Notes

  • Cmd/Ctrl+T - Open today's daily note
  • Cmd/Ctrl+Shift+D - Toggle daily notes browser
  • Cmd/Ctrl+Shift+← - Previous day
  • Cmd/Ctrl+Shift+→ - Next day

Tech Stack

  • Frontend: Nuxt 3, Vue 3, TypeScript, Tailwind CSS
  • Editor: CodeMirror 6
  • Backend: Nuxt/Nitro server
  • Database: PostgreSQL, Prisma ORM
  • Markdown: markdown-it
  • Containerization: Docker, Podman

Architecture

md/
├── components/       # Vue components
├── composables/      # State management (useNotes, useFolders, etc.)
├── pages/            # Nuxt pages (routing)
├── server/           # Backend API
│   ├── api/          # REST API endpoints
│   └── utils/        # Server utilities
├── prisma/           # Database schema and migrations
└── types/            # TypeScript types

Deployment

Docker Compose

# Production deployment
docker-compose up -d

# View logs
docker-compose logs -f

# Stop services
docker-compose down

Environment Variables

# Database
DATABASE_URL=postgresql://user:password@localhost:5432/md

# Application
NODE_ENV=production
PORT=3000

See .env.example for all options.

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Development Workflow

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Roadmap

Planned Features

  • Command Palette (Cmd+P)
  • Graph View
  • Templates & Automation
  • Advanced Search & Query
  • Export to PDF/HTML
  • Mobile Apps (iOS/Android)
  • Collaborative Editing
  • Plugin System

See next_session.md for detailed roadmap.

Known Issues

  • Git hook error in development (non-blocking)
  • TypeScript type checking disabled in dev mode (run npm run typecheck manually)

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) - see the LICENSE file for details.

What this means:

  • You can use, modify, and distribute this software freely
  • If you run a modified version on a server and let users interact with it, you must share your changes
  • This prevents companies from building closed-source services using this code without contributing back
  • For commercial licensing options, please contact the maintainers

Acknowledgments

Support

Star History

If you find this project useful, please consider giving it a star!


Made with by the .md community

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published