<!-- Generated by scripts/sync-agent-content.mjs. Edit the shared public sources, then regenerate. -->
# Noty

Notes that stay attached to your Mac windows.

- Dates: 2026
- Status: macOS application
- Areas: Software engineering; Native apps; AI / ML
- Stack: Swift · SwiftUI · AppKit · SQLite
- Topics: Swift; macOS; AppKit; Markdown; Local-First Tools; Productivity
- Public case study: https://mgiorgetti.com/project_details/project-noty.html

## Problem

Notes need to remain close to the application windows they describe without disrupting keyboard focus or losing local work.

## Contribution

Developed a native macOS note application using Swift, SwiftUI and AppKit, with SQLite storage and notes attached to application windows.

## Technical approach and public case study

Notes that stay attached to the windows you’re working in.

The native note interface

### Window attachment

**Tracking**

Core Graphics supplies window identity, bounds, and visibility. An attached note keeps its offset from the target as the window moves.

**Focus & Spaces**

AppKit manages the note’s position and ordering separately from keyboard focus. Desktop changes and Mission Control have their own presentation rules.

**Recovery**

A failed window lookup is distinct from a closed window. Hiding, minimizing, reopening, and changing the target each have explicit validation paths.

### Native interface, local data

Built in Swift, with SwiftUI for the note interface and AppKit for window behavior. Notes, tags, and attachment state are stored in SQLite on the Mac. Backup and restore validates the database and keeps the replaced copy in a recovery folder.

### Optional AI, explicit access

AI and agent access are optional. Permissions distinguish reading from editing, archiving and deleting; private notes are excluded from agent access. Revision checks prevent an asynchronous operation from silently using stale note content.

Recoverable history supports reviewing and rolling back edits. Local note storage does not mean every optional AI provider runs offline.

## Results and limitations

The public case study documents application behavior and recovery boundaries. It does not report adoption, productivity gains or a guarantee that optional AI providers operate offline.

## Public supporting links

- [Portfolio case study](https://mgiorgetti.com/project_details/project-noty.html)
- [Visit Noty’s website](https://noty.inventure74.chatgpt.site/)
- [Matteo Giorgetti profile](https://mgiorgetti.com/profile.md)
