Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whiteboard

A dead-simple whiteboard for the Mac — pen, a few colors, an eraser — plus the one thing that's always missing: you can just type.

Move your mouse where you want words and start typing; a text box appears right there. No tool to select, no dialog. Drawing words is painful; typing them isn't.

Features

  • ✏️ Freehand pen with six colors
  • 🩹 Eraser
  • ⌨️ Type anywhere — start typing and a text box spawns at the cursor
  • ↔️ Text boxes are draggable and re-editable
  • ↩️ Undo strokes with ⌘Z, clear the board with one button

Build & run

Requires macOS 12+ and a Swift toolchain (Xcode or the Command Line Tools).

make build    # compile and bundle Whiteboard.app in the repo root
make deploy   # install the built app into /Applications
make run      # build + launch the local copy

For quick iteration during development you can also just swift run.

Usage

Action How
Draw Click-drag on the canvas
Pick color / eraser Click a swatch in the top palette
Type text Point the mouse and start typing
Move a text box Drag it
Edit a text box Double-click it
Delete a text box Select it and press Delete (or clear its text)
Undo last stroke ⌘Z
Clear everything Trash button in the palette

Project layout

Sources/Whiteboard/
  main.swift              App entry, window + palette setup
  WhiteboardView.swift    Canvas: drawing, eraser, spawning text boxes
  MovableTextField.swift  Draggable / re-editable text label
  PaletteView.swift       Floating color + tool bar
  Stroke.swift            Freehand-mark model
Resources/Info.plist      Bundle metadata
scripts/build_app.sh      Build + package the .app

See docs/DEVELOPMENT.md for architecture notes.

License

MIT — see LICENSE.

About

A Whiteboard app for the Mac

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages