Notchi Download

You found the shortcut. In the app, ⌥Space opens the island the same way. Press Esc to close.

Notchi for macOS

Your notch,
but alive.

Notchi turns the notch on your MacBook into a Dynamic Island for music, builds, Claude Code, notes, your clipboard and screen time. A little cat lives right next to it.

macOS 14 or later · Apple Silicon and Intel · free and open source

  1. Hover the notch.Or tap ⌘⌥. The island opens right where the notch is.
  2. Everything at a glance.Now Playing, live builds, pinned apps, Claude and your terminals.
  3. And a cat peeks over the edge.Move away and it all folds back into the notch.
82%
Golden Hour DriveThe Night Owls
LIVE

Deploying web

Tests · 3.2 s

Meet the cat

It lives next to your notch.

A Siamese cat wanders the menu bar. It sits, stretches, dozes off, waves when it spots your cursor, swats at it, and bobs its head when music plays. Hover over it and it jumps into the notch.

Tell it what to do

Or move your cursor near it. These are the app's own sprites, rendered from Notchi's Swift drawing code.

More than an island

One panel for everything you check all day.

Now Playing · Spotify Golden Hour Drive The Night Owls
1:123:48
LIVEHEAP ORDER
    Press ⌘3 to launch
    ✦Claude Code
    TERMINALS
    api1:12 / ~2:14
    ✓web2:14
    !mobileapprove
    docs

    why is login slow on a cold start?

    bcrypt runs at cost 14, so every hash takes about 900 ms. Cost 12 is still safe and brings it down to about 220 ms.

    Edit src/auth/hash.ts

    Done. Cost is 12 now and all 31 auth tests pass.

    1. Now Playing

      Your music, in the notch.

      Spotify and Apple Music, with artwork, a scrubber you can click to seek, and play, pause and skip. The cat notices when a new song starts.

    2. Live

      Whatever needs you comes first.

      Builds, deploys, timers, Claude Code runs and charging share one scrollable queue. It re-sorts as things change, and finished jobs leave on their own.

    3. Pinned apps

      Your apps, on ⌘1 to ⌘9.

      Drag apps in or press +. Click to launch, or press ⌘1 to ⌘9 while the island is open.

    4. Ask Claude

      Ask anything, right in the notch.

      Answers stream into the island, using your Anthropic API key or your local Claude Code install.

    5. Terminal tabs

      Every Claude session at a glance.

      Pin up to 10 iTerm2 tabs with their real names and colours. A ring spins while Claude works, ! means it needs approval, and ✓ comes with a chime and a banner, even when the island is closed.

    Three more pages

    Notes that file themselves.

    The switcher at the bottom-left of the island opens Notes, Clipboard and Activity. They run on the Java backend, which Notchi starts by itself when Java 21 or newer is installed. Everything stays on your Mac.

    Try it. The notes sorter and the clipboard search below run the same algorithms as the backend, ported to JavaScript.

    ✎
    Filed
      ⌕

        🔒 One copied password was skipped, as always.

        Today7h 48m
        Busiest hour15:00
        Longest focus1h 12m · Xcode
          Workspaces

          Make it yours

          Pick a pet, a colour and a surface.

          Golden Hour DriveThe Night Owls
          LIVE

          Deploying web

          ✦ Ask Claude anything…
          Theme
          Pet
          Surface
          Position
          Transparency

          Push from anywhere

          If it can open a URL, it can drive the island.

          The island command ships with Notchi. Push progress from a deploy script, wrap a test run, or hook it into CI. Each command opens a notchi:// URL under the hood.

          All quiet
          zsh · ~/web
          
                  

          Shortcuts

          Four shortcuts. That's the whole manual.

          Try them here. The keys press down when you do.

          ⌘+⌥

          Open or close the island

          Tap both and let go. ⌥Space works too, or just hover the notch.

          ⌘↑↓

          Switch terminal tabs

          The prompt bar types into the selected tab's Claude session.

          ⌘1…9

          Launch a pinned app

          Works while the island is open.

          esc

          Close

          Or move away, or click outside.

          macOS 14 or later · Apple Silicon and Intel · free and open source (MIT)

          1. Download Notchi.dmg and drag Notchi into Applications.
          2. Open it. Notchi isn't notarized, so macOS blocks the first launch. Click Open Anyway in System Settings → Privacy & Security, or run this once:
            xattr -dr com.apple.quarantine /Applications/Notchi.app
          3. Look for the paw in your menu bar. Use it to open the island, move it, or open Settings.

          Prefer to build it yourself? The source is on GitHub. You need macOS 14 and Swift 5.10.

          Under the notch

          Eight algorithms keep the island instant.

          Notchi hands its heavy lifting to a small Java service on the same Mac. It orders the LIVE queue, drops duplicate events, searches your apps as you type, predicts how long Claude will take, files your notes, searches your clipboard, adds up your screen time and finds your workspaces.

          • Java 21plain JDK
          • 0runtime dependencies
          • 110JUnit tests
          • 127.0.0.1port 7340, local only

          How the pieces talk

          The app asks. The backend answers in microseconds.

          The Mac app stays the front end and starts the backend by itself when Java 21 or newer is installed. Without it the island still works; Notes, Clipboard and Activity need it.

          Front end Notchi.app Swift · SwiftUI · AppKit
          • LIVE card
          • Claude bar launcher
          • Terminal tab ETA
          • Notes · Clipboard · Activity pages
          POST /api/live/eventsLiveQueueIndexed binary heap
          eventId → verdictEventDeduplicatorBloom filter + exact log
          GET /api/launcher/search?q=LauncherTrie, top-k by launches
          GET /api/durations/summaryDurationStatsRandomized Quickselect
          POST /api/notes/classifyNoteClassifierAho–Corasick automaton
          GET /api/clipboard?q=ClipboardHistorySuffix array (radix sort)
          GET /api/activity/todayScreenTimeSegment trees
          GET /api/workspacesWorkspacesUnion–find + Jaccard

          LIVE queue

          Indexed binary heap

          The LIVE card shows builds, deploys, Claude runs and timers that change state all the time. It must always show the most urgent first: needs approval, then running, failed, done, newest first within each. A binary heap keeps that order, and a hash map from id to array slot lets one activity move without searching for it.

          • push / update / removeO(log n)
          • peekO(1)
          • topK(k)O(k log k)
          • re-sort baselineO(n log n) per read

          Push an event to watch it sift up.

          100 rounds of “update one + read the top 10”, Java median

          Race it in your browser

          A JavaScript port of the same heap against re-sorting, on this device.

          Pseudocode
          push(key, v):    append (key, v); pos[key] = n-1; siftUp(n-1)
          update(key, v):  i = pos[key]; old = val[i]; val[i] = v
                           if v more urgent than old: siftUp(i) else siftDown(i)
          remove(key):     i = pos[key]; swap(i, last); delete last; siftUp(i); siftDown(i)
          topK(k):         frontier = heap of indices {0}
                           repeat k times: i = frontier.popMax(); output i; push 2i+1, 2i+2
          expire(now):     while expiryHeap.peek().time ≤ now: urgency.remove(expiryHeap.poll())

          Duplicate events

          Bloom filter, backed by an exact log

          CI retries webhooks, a Claude Code hook can get registered twice, scripts re-run island push. A replayed “deploy running” after “deploy done” would roll the job back. A Bloom filter answers “definitely new” for almost every event without touching the log; only a “maybe seen” goes to the exact log, so an event is dropped only when it really is a repeat.

          • add / mightContainO(k + |id|)
          • memory at 1%≈1.2 bytes / id
          • false negativesnever

          Size a filter

          m = ⌈−n · ln p / (ln 2)²⌉ bits  ·  k = round((m / n) · ln 2) hashes  ·  bit i = (h₁ + i·h₂) mod m

          Memory for n event ids, Java (log scale)

          Measure the false-positive rate

          Insert 20,000 ids into a filter sized for 1%, then ask about 200,000 ids it has never seen.

          Pseudocode
          check(id, now):
            if not bloom.mightContain(id):          # some bit is 0 → never added
                record(id); return NEW              # exact log not consulted
            if log[id] exists and now − log[id] ≤ 24h:
                return DUPLICATE                    # confirmed
            record(id); return NEW_AFTER_FALSE_POSITIVE
          record(id):
            log[id] = now; bloom.add(id)
            if bloom.inserted ≥ capacity: drop entries older than 24h
                                          capacity = max(n, 2·|log|); rebuild bloom from log

          Launcher

          Trie with word-start indexing

          Typing in the island's Claude bar finds apps, pinned terminal tabs and commands, most-used first. Each label is indexed under every word start, so “code” finds Visual Studio Code and “cut p” finds Final Cut Pro. A search only walks the subtree under the prefix, and a bounded heap keeps the best k.

          • searchO(p + S + m log k)
          • recordUseO(1)
          • scan baselineO(n · w) per keystroke
          ✦

          One query on 100,000 items, by prefix length, Java (log scale)

          Race it in your browser

          Build a 50,000-item catalog from a 400-word vocabulary, then run 100 queries per prefix length against a full scan.

          Pseudocode
          insert(item):  for key in wordStarts(normalize(label)): walk/create nodes; node.items += item
          search(p, k):  n = walk(normalize(p)); if none → []
                         best = bounded min-heap of size k          # least relevant at the root
                         DFS the subtree under n; for each item not seen yet:
                             if |best| < k: push; else if item > best.min: pop min; push item
                         return best, most relevant first
          recordUse(id): item.weight += 1                           # O(1): items are shared objects

          Claude ETA

          Randomized Quickselect

          While Claude works in a pinned tab, the tab shows elapsed time against the usual time, like 1:12 / ~2:14. “Usual” is the median of that tab's past runs, and the tooltip adds p90. Run times are skewed, so a percentile fits better than a mean, and finding one rank doesn't need a full sort.

          • expectedO(n)
          • extra spaceO(1)
          • sort baselineO(n log n)
          • first-element pivot, sorted inputO(n²)

          31 past Claude runs in the “api” tab, in seconds. Pick a percentile.

          Median of already-sorted input: comparisons, Java (log scale)

          Race it in your browser

          Median of 1,000,000 log-normal run times: Quickselect against a full sort. Then sorted input against a first-element pivot.

          Pseudocode
          select(a, k):                             # k-th smallest, 0-based, on a copy
            lo, hi = 0, n−1
            loop:
              if lo == hi: return a[lo]
              pivot = a[uniform random index in lo..hi]
              three-way partition a[lo..hi] → [< pivot | = pivot | > pivot]
              if k < lt: hi = lt − 1
              elif k > gt: lo = gt + 1
              else: return pivot                    # exact every time: a Las Vegas algorithm

          Smart Notes

          Aho–Corasick automaton

          A note has to be filed as a reminder, to-do, link, password, contact, code, idea or plain note. The evidence is about 150 cue words (“remind”, “buy”, “password”, “def ”, “what if”). Searching for each one would re-read the note 150 times. Aho–Corasick builds one trie of every cue, adds failure links (KMP's prefix function, generalised to many patterns), and finds every cue in a single pass.

          • buildO(L)
          • searchO(n + z)
          • KMP per cueO(k · n)
          trie edge failure link

          Every cue in one 10,000-character note, Java (log scale)

          Race it in your browser

          1,000 random cue words in a 10,000-character note: one automaton pass against KMP once per cue.

          Pseudocode
          build:  BFS from the root
                    for each edge u –c→ v:
                      f = fail[u]
                      while f ≠ root and f has no c-child: f = fail[f]
                      fail[v] = f's c-child (or root)
                      out[v]  = fail[v] if a cue ends there, else out[fail[v]]
          search: state = root
                  for each character c:
                    while state ≠ root and state has no c-child: state = fail[state]
                    state = child(state, c) or root
                    report the cues ending at state, then follow output links

          Clipboard search

          Suffix array, built by radix sort

          “Where was that link I copied yesterday?” Clipboard search has to match text anywhere inside a clip, not just at the start of a word like the launcher's trie. Every suffix of the joined clips is sorted once, by prefix doubling with two counting-sort passes per round. All suffixes that start with the query then sit in one block, found with two binary searches.

          • buildO(n log n)
          • queryO(m log n + occ)
          • scan every clipO(n) per query
          ⌕

          One query over n clips of ~80 characters, Java (log scale)

          Race it in your browser

          5,000 clips (about 400,000 characters): build the suffix array, then 300 queries against scanning every clip.

          Pseudocode
          rank[i] = rank of character i
          sa = suffixes sorted by first character (counting sort)
          for k = 1, 2, 4, …:
              order by second key: suffixes with i + k ≥ n first, then sa[j] − k for sa[j] ≥ k
              stable counting sort of that order by rank[i]      ← radix sort on (rank[i], rank[i+k])
              new ranks: equal pairs share a rank
              stop when all n ranks differ
          search(q): lo = first suffix ≥ q, hi = first suffix > q   (two binary searches)
                     documents of sa[lo..hi), each once

          Screen time

          Segment tree

          Notchi records which app is in front. The Activity page asks range questions: time in an app between two times, 24 hourly totals, the busiest hour. Meanwhile tracking keeps adding seconds to minutes. Each app gets one tree per day, with one leaf per minute (1,440). Every node stores the sum and max of its range, so both updates and range questions touch only O(log n) nodes.

          • add / setO(log n)
          • sum / max / argMaxO(log n)
          • plain array queryO(r − l)
          • prefix-sum updateO(n)

          20,000 mixed updates and range sums, Java (log scale)

          Race it in your browser

          100,000 minute buckets and 20,000 operations, half updates and half range sums: segment tree, plain array and prefix sums.

          Pseudocode
          add(i, x):   p = size + i; leaf += x
                       walk up: sum[p] = sum[2p] + sum[2p+1], max[p] = max(max[2p], max[2p+1])
          sum(l, r):   a = l + size, b = r + size
                       while a < b: if a odd: take a++; if b odd: take --b; a /= 2; b /= 2
          argMax(l,r): target = max(l, r); descend to the leftmost leaf in [l, r) with value ≥ target

          Workspaces

          Union–find, joined by Jaccard similarity

          Workspaces are apps you keep using together, so one click opens the group. “Together” is transitive: Figma–Slack and Slack–Chrome make one design workspace, so the groups are connected components, built one link at a time. Two apps are joined only if they share at least 3 fifteen-minute blocks and a Jaccard similarity of 0.4 or more. That stops a browser you use with everything from chaining every group into one.

          • find / unionO(α(n))
          • spaceO(n)
          • BFS per questionO(n + e)

            n links plus 1,000 “same workspace?” questions, Java (log scale)

            Race it in your browser

            10,000 apps, 10,000 random links and 1,000 questions spread between them: union–find against rebuilding groups with BFS.

            Pseudocode
            find(x):     follow parents to the root, then point every node on the path at the root   (path compression)
            union(a, b): ra, rb = find(a), find(b); if equal: return
                         attach the lower-rank root under the higher one; equal ranks: rank += 1   (union by rank)
            workspaces:  for each pair of apps: shared ≥ 3 blocks and Jaccard = shared / either ≥ 0.4 → union
                         every set with 2+ apps is a workspace; a lone app joins each one it is used in half of

            Measured, not guessed

            What each choice bought.

            From backend/docs/benchmarks.md: Apple Silicon, Java 24, fixed seeds, two warm-up runs, median of five.

            11,839×faster LIVE reads at 100,000 activities
            0.16 ms against 1.86 s re-sorting
            56× smallerduplicate screening for 1M ids
            1.1 MB filter against a 63.5 MB hash set, 1.01% false positives
            63×faster launcher search
            45 µs against 2.8 ms, 4-letter prefix, 100,000 items
            3,096× fewercomparisons on sorted input
            124k against 384M at n = 32,000 with a random pivot
            687×faster note sorting
            0.21 ms against 142 ms, 10,000 cues in one pass
            81×faster clipboard search
            8.6 µs against 693 µs per query over 5,000 clips
            244×faster screen-time queries
            3.3 ms against 806 ms over a million minutes
            766×faster workspace grouping
            1.5 ms against 1.15 s rebuilding with BFS, 100,000 apps

            Correct first

            Every structure is tested against a brute-force reference on random input: the heap after 20,000 operations, Aho–Corasick against KMP, the suffix array against a full sort, the segment tree against a plain array, union–find against BFS. The Bloom filter never gives a false negative, and Quickselect's answer is always exact.

            Private by design

            The server listens on 127.0.0.1 and refuses requests with an Origin header or a foreign Host. Passwords in notes go to the Keychain, and a clip that holds a secret is never stored. Screen time records only which app is in front, never window titles.

            Honest limits

            One user, one Mac, no authentication. Duplicate detection covers 24 hours while the backend runs. ETA percentiles describe past runs, so a task unlike earlier ones won't follow them.