Skip to content

Commit 18abb36

Browse files
authored
Merge pull request #6 from BOSSincrypto/devin/1778410362-v1.1.1
feat: InkDown v1.1.1 — Menu Bar, pnpm Migration, macOS Fixes, SEO
2 parents aad5199 + cf88c71 commit 18abb36

15 files changed

Lines changed: 5723 additions & 8254 deletions

File tree

.github/workflows/release.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16+
- uses: pnpm/action-setup@v4
17+
with:
18+
version: 10
1619
- uses: actions/setup-node@v4
1720
with:
1821
node-version: 20
19-
cache: npm
20-
- run: npm ci
21-
- run: npm run build
22-
- run: npx electron-builder --linux --x64 --publish never
22+
cache: pnpm
23+
- run: pnpm install --frozen-lockfile
24+
- run: pnpm run build
25+
- run: pnpm exec electron-builder --linux --x64 --publish never
2326
- uses: actions/upload-artifact@v4
2427
with:
2528
name: linux-artifacts
@@ -31,13 +34,16 @@ jobs:
3134
runs-on: windows-latest
3235
steps:
3336
- uses: actions/checkout@v4
37+
- uses: pnpm/action-setup@v4
38+
with:
39+
version: 10
3440
- uses: actions/setup-node@v4
3541
with:
3642
node-version: 20
37-
cache: npm
38-
- run: npm ci
39-
- run: npm run build
40-
- run: npx electron-builder --win --x64 --publish never
43+
cache: pnpm
44+
- run: pnpm install --frozen-lockfile
45+
- run: pnpm run build
46+
- run: pnpm exec electron-builder --win --x64 --publish never
4147
- uses: actions/upload-artifact@v4
4248
with:
4349
name: windows-artifacts
@@ -48,13 +54,16 @@ jobs:
4854
runs-on: macos-latest
4955
steps:
5056
- uses: actions/checkout@v4
57+
- uses: pnpm/action-setup@v4
58+
with:
59+
version: 10
5160
- uses: actions/setup-node@v4
5261
with:
5362
node-version: 20
54-
cache: npm
55-
- run: npm ci
56-
- run: npm run build
57-
- run: npx electron-builder --mac --x64 --publish never
63+
cache: pnpm
64+
- run: pnpm install --frozen-lockfile
65+
- run: pnpm run build
66+
- run: pnpm exec electron-builder --mac --x64 --publish never
5867
- uses: actions/upload-artifact@v4
5968
with:
6069
name: mac-artifacts

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
2+
package-lock.json
23
dist/
34
dist-electron/
45
release/

CONTRIBUTING.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Thank you for your interest in contributing to InkDown! This guide will help you
77
### Prerequisites
88

99
- [Node.js](https://nodejs.org/) >= 18.x
10-
- [npm](https://www.npmjs.com/) >= 9.x
10+
- [pnpm](https://pnpm.io/) >= 10.x
1111
- [Git](https://git-scm.com/)
1212

1313
### Getting Started
@@ -18,10 +18,10 @@ git clone https://github.com/BOSSincrypto/inkdown.git
1818
cd inkdown
1919

2020
# Install dependencies
21-
npm install
21+
pnpm install
2222

2323
# Start the development server
24-
npm run dev
24+
pnpm run dev
2525
```
2626

2727
### Project Structure
@@ -39,6 +39,8 @@ inkdown/
3939
│ │ ├── Sidebar/ # File tree explorer
4040
│ │ ├── Toolbar/ # Formatting toolbar
4141
│ │ ├── TitleBar/ # Custom window title bar
42+
│ │ ├── MenuBar/ # In-app menu bar (File, Edit, etc.)
43+
│ │ ├── ContextMenu/ # Right-click context menu
4244
│ │ └── StatusBar/ # Bottom status bar
4345
│ ├── styles/ # Global CSS & themes
4446
│ └── types.d.ts # TypeScript declarations
@@ -50,11 +52,11 @@ inkdown/
5052

5153
### Available Scripts
5254

53-
- `npm run dev` — Start development server with hot reload
54-
- `npm run build` — Build the renderer
55-
- `npm run electron:build` — Build the full Electron app
56-
- `npm run lint` — Run ESLint
57-
- `npm run typecheck` — Run TypeScript type checking
55+
- `pnpm run dev` — Start development server with hot reload
56+
- `pnpm run build` — Build the renderer
57+
- `pnpm run electron:build` — Build the full Electron app
58+
- `pnpm run lint` — Run ESLint
59+
- `pnpm run typecheck` — Run TypeScript type checking
5860

5961
## Guidelines
6062

README.md

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,37 @@
22

33
**The open-source WYSIWYG markdown editor you deserve.**
44

5-
InkDown is a beautiful, fast, and resource-efficient markdown editor — a free and open-source alternative to Typora. Write in markdown with a seamless live preview that renders your content as you type.
5+
InkDown is a beautiful, fast, and resource-efficient markdown editor — a free and open-source alternative to Typora. Write in markdown with a seamless live preview that renders your content as you type. Available for **Windows**, **macOS**, and **Linux**.
6+
7+
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
8+
[![GitHub release](https://img.shields.io/github/v/release/BOSSincrypto/inkdown)](https://github.com/BOSSincrypto/inkdown/releases)
9+
[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)](https://github.com/BOSSincrypto/inkdown/releases)
610

711
---
812

13+
## Why InkDown?
14+
15+
- **Free & Open Source** — No license fees, no subscriptions, no telemetry
16+
- **Typora-like Experience** — WYSIWYG markdown editing with real-time rendering
17+
- **Cross-Platform** — Native apps for Windows, macOS, and Linux
18+
- **Lightweight** — Optimized for minimal memory and CPU usage
19+
- **Privacy First** — Fully offline, no analytics, your data stays on your device
20+
921
## Features
1022

1123
- **WYSIWYG Markdown Editing** — Type markdown and see it rendered instantly. No split panes, no context switching.
24+
- **Menu Bar** — Full menu bar (File, Edit, Paragraph, Format, View, Help) with all editor actions and keyboard shortcuts, like Typora.
1225
- **Source Mode** — Toggle to raw markdown source view with a single shortcut (`Ctrl+/`).
1326
- **File Explorer** — Built-in sidebar with folder tree navigation for managing your markdown files.
1427
- **Dark & Light Themes** — Beautiful Catppuccin-inspired dark theme and a clean light theme.
1528
- **Focus Mode** — Distraction-free writing with `Ctrl+Shift+F`.
16-
- **Syntax Highlighting** — Code blocks with syntax highlighting for 30+ languages.
17-
- **Rich Formatting** — Headings, bold, italic, underline, strikethrough, highlight, blockquotes, lists, task lists, tables, images, links, horizontal rules, and more.
29+
- **Syntax Highlighting** — Code blocks with syntax highlighting for 30+ programming languages.
30+
- **Rich Formatting** — Headings (1–6), bold, italic, underline, strikethrough, highlight, blockquotes, ordered/unordered/task lists, tables, images, links, horizontal rules, and more.
1831
- **Export** — Export your documents to HTML or PDF.
1932
- **Keyboard Shortcuts** — Full set of keyboard shortcuts for power users.
20-
- **Cross-Platform** — Built with Electron for Windows (Linux and macOS coming soon).
21-
- **Resource Efficient** — Optimized for minimal memory and CPU usage.
33+
- **Context Menu** — Right-click context menu with quick formatting actions.
34+
- **File Association** — Double-click `.md` files to open them directly in InkDown.
35+
- **Resource Efficient** — Optimized startup time and minimal resource consumption.
2236
- **Privacy First** — No telemetry, no analytics, fully offline.
2337

2438
## Screenshots
@@ -29,7 +43,11 @@ InkDown is a beautiful, fast, and resource-efficient markdown editor — a free
2943

3044
### Download
3145

32-
Download the latest release from the [Releases](https://github.com/BOSSincrypto/inkdown/releases) page.
46+
Download the latest release from the [Releases](https://github.com/BOSSincrypto/inkdown/releases) page:
47+
48+
- **Windows**: `.exe` installer or portable version
49+
- **macOS**: `.dmg` disk image
50+
- **Linux**: `.AppImage` or `.deb` package
3351

3452
### Build from Source
3553

@@ -38,14 +56,14 @@ Download the latest release from the [Releases](https://github.com/BOSSincrypto/
3856
git clone https://github.com/BOSSincrypto/inkdown.git
3957
cd inkdown
4058

41-
# Install dependencies
42-
npm install
59+
# Install dependencies (requires pnpm)
60+
pnpm install
4361

4462
# Run in development mode
45-
npm run dev
63+
pnpm run dev
4664

4765
# Build for production
48-
npm run electron:build
66+
pnpm run electron:build
4967
```
5068

5169
## Keyboard Shortcuts
@@ -61,34 +79,34 @@ npm run electron:build
6179
| Italic | `Ctrl+I` |
6280
| Underline | `Ctrl+U` |
6381
| Strikethrough | `Ctrl+Shift+X` |
64-
| Heading 1 | `Ctrl+1` |
65-
| Heading 2 | `Ctrl+2` |
66-
| Heading 3 | `Ctrl+3` |
82+
| Heading 1–6 | `Ctrl+1` to `Ctrl+6` |
6783
| Code | `Ctrl+E` |
6884
| Code Block | `Ctrl+Shift+K` |
6985
| Blockquote | `Ctrl+Shift+Q` |
86+
| Hyperlink | `Ctrl+K` |
7087
| Toggle Sidebar | `Ctrl+\` |
7188
| Toggle Source Mode | `Ctrl+/` |
7289
| Focus Mode | `Ctrl+Shift+F` |
7390
| Toggle Dark Mode | `Ctrl+Shift+D` |
7491
| Find | `Ctrl+F` |
75-
| Zoom In | `Ctrl++` |
76-
| Zoom Out | `Ctrl+-` |
77-
| Reset Zoom | `Ctrl+0` |
92+
| Zoom In | `Ctrl+Shift+=` |
93+
| Zoom Out | `Ctrl+Shift+-` |
94+
| Reset Zoom | `Ctrl+Shift+9` |
7895
| Fullscreen | `F11` |
7996

97+
> On macOS, use `Cmd` instead of `Ctrl`.
98+
8099
## Tech Stack
81100

82101
- **[Electron](https://www.electronjs.org/)** — Cross-platform desktop framework
83102
- **[React](https://react.dev/)** — UI library
84103
- **[Tiptap](https://tiptap.dev/)** — Headless WYSIWYG editor framework (ProseMirror-based)
85104
- **[TypeScript](https://www.typescriptlang.org/)** — Type-safe JavaScript
86105
- **[Vite](https://vitejs.dev/)** — Lightning-fast build tool
106+
- **[pnpm](https://pnpm.io/)** — Fast, disk-efficient package manager
87107

88108
## Roadmap
89109

90-
- [ ] Linux support
91-
- [ ] macOS support
92110
- [ ] Android support (via React Native or similar)
93111
- [ ] Plugin/extension system
94112
- [ ] Custom themes
@@ -121,4 +139,4 @@ This project is licensed under the MIT License — see the [LICENSE](LICENSE) fi
121139

122140
---
123141

124-
**InkDown** — Write beautifully. Open source.
142+
**InkDown** — Write beautifully. Open source. Free forever.

0 commit comments

Comments
 (0)