Junknote #
A minimal, opinionated scratchpad for macOS.
What it does #
- Launches at login and stays out of the way until summoned.
⌃⇧Jtoggles a floating, resizable scratchpad window from anywhere.- Notes are plain Markdown, styled inline as you type: headings, bullet and numbered lists, todos, quotes, and inline markup such as bold, italic, code, strikethrough and links. Shortcuts write and remove the markup for you.
- Notes are split into pages.
⌘[and⌘](or a two finger horizontal swipe) move between them. Empty pages disappear on their own: delete all the text on a page and it is gone for good once you leave it. @workas the first word of a page files it underworkwhen archived, by hand with⌘Eor after a configurable period without edits. Each category is one Markdown file in the archive.⌘Obrowses and searches the archive inside the scratchpad, and restores pages from it.⌘,opens a small settings window, where you can also move your notes to another folder and choose your own shortcuts.
Keyboard #
These are the default shortcuts. You can change them in settings under Shortcuts, all but Tab, Esc, ⌘⌫ and the standard Mac shortcuts such as ⌘C, ⌘W and ⌘Q.
| Shortcut | Action |
|---|---|
⌃⇧J |
Show or hide the scratchpad (configurable) |
⌘] / swipe left |
Next page, or a new page after the last one |
⌘[ / swipe right |
Previous page, or a new page before the first one |
⌘N |
Add a new page after this one |
⌃1 to ⌃8 / ⌃9 |
Go to that page, or to the last page |
⌥⌘[ / ⌥⌘] |
Move the page one place back or forward |
⌘P |
Pin or unpin the page |
⌘E / ⇧⌘E |
Archive the page, or bring back the last one archived |
⌘O |
Browse and search the archive |
⇥ |
In the archive, switch between pages and categories |
Tab / ⇧Tab |
Indent or outdent a list item or the selected lines, by two spaces unless you choose another width in settings |
⌃J / ⌃K |
Move the list item, with its nested items, or the paragraph down or up |
⌘⌫ |
At the start of a line, join it to the line above |
⌘ click |
Open a link |
Esc / ⌘W |
Hide the scratchpad, or go back in the archive |
⌘, |
Settings |
⌘Q |
Quit |
Formatting #
Formatting shortcuts write the Markdown for you, and pressing one again removes it. The inline ones work on the selection; with nothing selected they insert an empty pair with the cursor between. The line ones change every line the selection touches, or the line with the cursor, and keep its indentation. Like the shortcuts above, they can be changed in settings.
| Shortcut | Action | Markdown |
|---|---|---|
⌘B |
Bold | **text** |
⌘I |
Italic | *text* |
⇧⌘X |
Strikethrough | ~~text~~ |
⇧⌘C |
Code | `text` |
⌘K |
Link: the selection becomes its text, or a selected URL its target | [text](url) |
⌘1 to ⌘6 |
Heading of that level | # text to ###### text |
⌘0 |
Plain text | text |
⌥⌘L |
Bullet list | - text |
⌥⌘O |
Numbered list, continuing one just above | 1. text |
⌥⌘Q |
Quote | > text |
⌘↩ |
Todo, or check and uncheck it | - [ ] text |
Checking or unchecking a todo, with ⌘↩ or a click on its box, does the same to the todos nested under it. A todo with nested todos is checked once all of them are, and an unchecked todo added under it unchecks it again.
Building #
The current version is 0.3.0. Junknote is distributed as source: you build it on your own Mac. It requires macOS 14 or later and Swift 6.0 or later (Xcode 16 or later).
swift build # debug build
./bundle.sh # release build, packaged as build/Junknote.app
Installing #
Quit Junknote if it is running, then:
./bundle.sh
rm -rf /Applications/Junknote.app
cp -R build/Junknote.app /Applications/
open /Applications/Junknote.app
Junknote has no Dock icon and no menu bar item. The first time it opens, it shows a short welcome page. After that, press ⌃⇧J to show the scratchpad, or open the app again to bring up settings.
The first launch from /Applications adds Junknote to your login items, so it starts with your Mac. You can turn this off with Launch at login in settings, or in System Settings under General, Login Items. A copy opened from build/ is never added, which keeps test builds from replacing the installed one at login.
To update, run the same steps again. Your notes stay where they are, in ~/Library/Application Support/Junknote unless you chose another folder in settings, with pages for the open pages and archive for archived ones.
Settings, Notes folder moves both to a folder of your choice, for example one that is backed up or synced. If you pick a folder in iCloud Drive or another synced place, use Junknote with it from one Mac at a time, since two Macs writing the same pages do not merge their changes.
To uninstall, turn off Launch at login, quit Junknote with ⌘Q while the scratchpad is shown, and move /Applications/Junknote.app to the Trash. Delete your notes folder as well if you no longer want your notes.
Acknowledgements #
Junknote is inspired by Antinote, a scratchpad for macOS built for the notes you are going to throw away. Antinote does much more, such as inline math, unit conversions and text from screenshots, and is worth a look if you want a polished, supported app.
Changelog #
See changelog.md for what's new.
License #
MIT, see license.