A collection of tools for modern markdown editing and content management.
This major release includes significant improvements and breaking changes for better functionality.
| Product | Description |
|---|---|
| Writenex Editor | WYSIWYG Markdown editor that works offline and keeps your data local |
| @imjp/writenex-astro | WYSIWYG Markdown editor for Astro Content Collections — includes an optional Remote CMS for editing content on your live site |
| @imjp/writenex-next | Visual Markdown/MDX editor for Next.js App Router projects, with filesystem saves, images, and version history |
writenex/
├── apps/
│ └── writenex/ # Writenex Editor
│ └── lib/ # Core modules (db, editor, hooks, store, ui, utils)
│
├── packages/
│ ├── astro/ # @imjp/writenex-astro - Astro integration
│ ├── next/ # @imjp/writenex-next - Next.js integration
│ └── config/ # Shared configurations
│ ├── typescript/ # @writenex/tsconfig
│ └── eslint/ # @writenex/eslint-config
│
├── package.json # Root workspace config
├── pnpm-workspace.yaml # Workspace definition
└── turbo.json # Turborepo config
- Node.js 24.22.0 (pinned in
.node-version) - Vite+ 1.3.0, or use
pnpm exec vpfor the local CLI - pnpm 10+
git clone https://github.com/jaainil/writenex.git
cd writenex
vp install# Start all apps in development mode
vp run dev
# Build all packages
vp run build
# Run linting
vp run lint
# Type check all packages
vp run type-check
# Run persistence, search, and filesystem regression tests
vp test run
# Run desktop and mobile browser tests (builds and starts the production editor automatically)
pnpm exec playwright install chromium
vp run test:e2e
# Format code
vp fmt
# Clean all build artifacts
vp run clean# Writenex Editor
vp run dev:writenex
vp run build:writenex
# @imjp/writenex-astro
vp -C packages/astro pack
# @imjp/writenex-next
vp run build:next
vp run test:next-consumervp dev and vp build are built-in Vite commands. This workspace preserves Next.js through vp run dev and vp run build. Run vp check for formatting, lint, and type checks, and vp run test:consumer to check the library exports and declarations. Biome remains available through vp run lint:biome for the existing project rules.
See the migration report for validation and compatibility decisions.
- Toolchain: Vite+ 1.3.0, Vitest 5, Rolldown/tsdown library builds
- Monorepo: pnpm workspaces + Turborepo (preserved task scheduling)
- Framework: Next.js 16+ (App Router, Turbopack)
- React: 19.x
- Language: TypeScript 5 (Strict mode)
- Styling: Tailwind CSS 4
- Editor: MDXEditor / Lexical
- State: Zustand
- Database: Dexie (IndexedDB)
- UI: Radix UI primitives (shadcn/ui style)
- Next.js - React framework
- MDXEditor - WYSIWYG markdown editor
- Zustand - State management
- Dexie.js - IndexedDB wrapper
- Radix UI - UI primitives
- Turborepo - Monorepo tooling
MIT - see LICENSE for details.
The Astro and Next.js packages share a version starting at 1.12.0. GitHub Actions verifies and publishes both integrations together from main.