Show HN: Pencil – Obsidian plugin to write, draw, sync

rcanand20251 pts0 comments

GitHub - rcanand/obsidian-pencil · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

rcanand

obsidian-pencil

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>17 Commits<br>17 Commits

src

src

.gitignore

.gitignore

LICENSE

LICENSE

README.md

README.md

esbuild.config.mjs

esbuild.config.mjs

manifest.json

manifest.json

package-lock.json

package-lock.json

package.json

package.json

styles.css

styles.css

tsconfig.json

tsconfig.json

View all files

Repository files navigation

Pencil

An infinite whiteboard for Obsidian. Draw and handwrite with a stylus, mouse, or finger — saved as .pencil files right inside your vault.

Pencil is an opinionated, single-slice take on handwriting in Obsidian. The existing whiteboard apps are heavy and loaded with features most people never touch. Pencil does one thing well: a fast, infinite canvas that feels like pen on paper, and nothing more.

What you get

Infinite canvas — pan and zoom endlessly; your view position is saved with the note.

Stylus-first, pressure-aware — Apple Pencil and other pens get real pressure-thickness variation. Toggle it off anytime.

Mouse and finger too — no stylus? Draw with a mouse or finger. Pressure is simply held constant.

Palm rejection — once you've used a pen, finger touches become panning so you can rest your hand. Two-finger pinch to zoom.

Eraser — stroke-level erase by dragging over what you don't want.

Select & move — box-select strokes and drag them around.

Colors & sizes — 8 built-in colors plus your own custom palette (native color picker, long-press or right-click to remove). Four stroke widths.

Undo / redo — full history (⌘Z / ⌘⇧Z, or Ctrl).

Saved as vault files — each whiteboard is a .pencil JSON file, versioned and synced with the rest of your notes.

Works everywhere — desktop, iPad, and mobile. The toolbar adapts: icons on desktop, short text labels on mobile.

Tools & shortcuts

Tool<br>Key<br>Notes

Pencil<br>Draw. Pressure varies with pen input.

Eraser<br>Drag over strokes to delete them.

Select<br>Box-select, then drag to move.

Pan<br>Drag to pan (also: middle/right mouse).

Other shortcuts: ⌘/Ctrl+Z undo, ⌘/Ctrl+Shift+Z redo, Delete/Backspace removes the current selection.

Scroll to pan; ⌘/Ctrl + scroll (or pinch on touch) to zoom. Use Fit to frame everything you've drawn.

Creating a whiteboard

Click the pencil icon in the ribbon, or run the Create new whiteboard command. A Whiteboard.pencil file is created in your active folder and opened immediately (subsequent ones are numbered Whiteboard 1, Whiteboard 2, …).

Installation

From the community plugin browser

Open Settings → Community plugins in Obsidian.

Click Browse and search for Pencil .

Click Install , then Enable .

Manual install

Download main.js, manifest.json, and styles.css from the latest release.

In your vault, create a folder .obsidian/plugins/obsidian-pencil/.

Copy the three files into that folder.

Open Settings → Community plugins in Obsidian, reload the plugin list, and enable Pencil .

Pencil works on desktop, iPad, and mobile. No internet connection or sync service is required — every whiteboard is just a .pencil file in your vault.

Usage

Create a whiteboard — click the pencil icon in the left ribbon, or run the Create new whiteboard command from the command palette. A Whiteboard.pencil file is created in your active folder and opened immediately.

Draw — pick the Pencil tool (P), choose a color and size from the toolbar, and draw with a stylus, mouse, or finger. Pen input gets pressure-thickness variation (toggle it from the toolbar).

Pan & zoom — scroll to pan, ⌘/Ctrl + scroll (or two-finger pinch) to zoom. Use Fit to frame everything, Reset view to return to 100%.

Erase — select the Eraser (E) and drag over strokes to delete them.

Select & move — pick Select (V), drag a box around strokes, then drag the selection to a new spot. Press Delete/Backspace to remove it.

Colors — use the built-in palette, or click + to add a custom...

pencil whiteboard json obsidian finger select

Related Articles