Skip to content
Manan-SantokiPublic

About

Free, open-source Mac utility: start dragging any file, tap a key, and drop it on a wheel to convert, edit, AirDrop or shelve it. Runs fully offline.

Topics

Resources

Stars

268 stars

Watchers

0 watching

Forks

Repository files navigation

OpenShelf icon

OpenShelf

Latest release   Downloads

macOS 14+   Swift 6   MIT License   Build status   GitHub stars

An open-source macOS menu-bar utility for working with files mid-drag.

Start dragging any file and tap a key — a wheel appears under the pointer. Drop the file on a wedge and it's done, saved right next to the original.

The Convert, Tools and Actions wheels

  • ⇧ Convert wheel: images, PDFs, documents, spreadsheets, slides, audio, video, subtitles and archives into the formats that make sense for them (JPG, PNG, HEIC, AVIF, WEBP, PDF, DOCX, Markdown, EPUB, PPTX, XLSX, CSV, MP3, OGG, MKV, WebM, GIF, ZIP, TAR.GZ, …), with the codec, quality, size and bitrate yours to choose
  • ⇧⌥ Tools wheel: for images — Crop, Resize, Remove Background, Add Background, Annotate, Redact, Edit, Compress, Metadata, Read QR, OCR; for PDFs — Combine, Pages, Split, Compress, Metadata, OCR; for video and audio — Trim, Speed, Crop, Rotate, Split, Merge, Compress, Mute
  • ⌃ Actions wheel: Shelf · Add to Shelf · AirDrop · Copy · Move · Copy Path · Terminal
  • Shelves: stacked preview, expandable grid/list, multi-select, drag out to any app, Quick Look (Space), dock to the left/right screen edge, multiple shelves
  • Works system-wide with no Accessibility permission
  • No telemetry; the only network access is checking GitHub for updates, which you can turn off, and downloading an extra tool when you click Install
  • Signed, notarized and self-updating: releases are notarized by Apple, and new versions install from the app (Sparkle), signed so only genuine OpenShelf releases are accepted
  • Extra formats, one click away: ffmpeg adds MP3, OGG, WebP, MKV, WebM, AVI and WMV; LibreOffice adds PowerPoint, Keynote, Pages, Numbers, XLS and ODS; Pandoc converts Markdown and Word documents its own way. Install any of them from Settings → Extra Formats (no Homebrew or administrator needed), or use the copies you already have from Homebrew

See docs/SPEC.md for the full behaviour and roadmap.

Install

Homebrew

brew install --cask manan-santoki/tap/openshelf

Or add the tap once and use the short name from then on:

brew tap manan-santoki/tap
brew install --cask openshelf

OpenShelf updates itself, so brew upgrade leaves it alone (use brew upgrade --cask --greedy openshelf to force it). To remove it, brew uninstall --cask openshelf; add --zap to delete its settings too.

Download

  1. Download the latest OpenShelf DMG (or pick a version from Releases).
  2. Open it and drag OpenShelf onto the Applications folder.
  3. Open OpenShelf from Applications and click Open when macOS asks, as it does for any app downloaded from the internet. It lives in the menu bar (the wheel icon), and a hands-on tour opens the first time (see below).

OpenShelf is signed with a Developer ID and notarized by Apple from 1.10.0 on. Older versions weren't: if macOS says it "could not verify" one of them, click Open Anyway in System Settings → Privacy & Security, or update to the latest version.

Requires macOS 14 Sonoma or later. Tested on macOS 27. Runs on Apple silicon and on Intel Macs up to macOS 26 (macOS 27 is Apple silicon only). A .zip of the app is also attached to each release.

How to use

Take the tour. The first time OpenShelf opens, a guided tour walks you through everything with practice files it makes for you: a photo, Markdown notes, a PDF, a video and a letter. Each step shows the keys to press and waits until you've done it for real: convert a photo, turn Markdown into a PDF, crop with the Tools wheel, split a PDF, trim a video, put files on a shelf, open a wheel without dragging, and choose a conversion's settings. Skip any step or the whole tour; pick it up again from the menu bar (Take the Tour…) or Settings → General, where Start Over begins afresh. Your own files are never touched, and the practice folder can be removed at the end.

Everything starts with a drag. Press on a file in Finder, on the Desktop, or in any app that lets you drag files, and keep holding while you tap a key.

  1. Start dragging one or more files.
  2. While still dragging, tap a key. You don't need to keep holding it:
    • ⇧ Shift opens the Convert wheel
    • ⇧⌥ Shift-Option opens the Tools wheel (or add ⌥ after ⇧ to switch)
    • ⌃ Control opens the Actions wheel
  3. Move onto a wedge. It lights up and the label above the wheel shows what will happen; before you hover, it shows the file's size.
  4. Let go on the wedge. Releasing anywhere else, or pressing Esc, cancels. Or, while still dragging, let go of the key and use the arrow keys and Return. (⌃ or ⌘ plus an arrow is a macOS shortcut, ⌃→ switches desktops, so the arrows wait until those keys are up.)

Wheels with more than seven options show the everyday ones first, six at a time. Rest on More, the wedge at about 10 o'clock, for a moment to turn the page; Back in the same place turns back. Dropping on More or Back turns the page too and keeps the wheel open, so you can click the option you want. With the keyboard, choose More or Back and press Return.

Without dragging: select files in Finder or on a shelf and press ⌃⌥Space. The Convert wheel opens at the pointer; use the arrow keys and Return (or click a wedge), Tab to switch to Tools and Actions, Esc to close. A focused shelf's selection takes priority; when Settings or an editor is in front, OpenShelf uses the most recently used shelf's selection. Otherwise it reads Finder's selection, asking for Automation permission the first time. Change or turn off the shortcut in Settings → Wheels.

Quick keyboard choices: hold ⌘ Command to show each wedge's number, then press that number to run it. ⌘0 turns More or Back. Numbering starts again on each page; ⌘⌥number opens conversion settings where available.

Tip: on a trackpad, press the key after the drag has started. Holding ⌃ before you click turns the click into a right-click.

Convert (⇧)

The wheel only offers formats that make sense for what you're dragging, and never the format it's already in. The result is saved next to the original and nothing is ever overwritten (Photo.jpg → Photo.png, Photo 2.png, …). A small card next to the pointer shows progress; click its × to cancel.

Progress card next to the pointer

Drag a… Convert to
Image (JPG, PNG, HEIC, SVG, …) PNG, JPG, WEBP², HEIC, TIFF, AVIF, BMP, PDF, DOCX, ZIP
PDF DOCX, JPG, PNG, TXT, Markdown, EPUB, PPTX, XLSX, MOBI⁸, AZW3⁸, ZIP
Document (TXT, RTF, RTFD, DOCX, DOC, ODT, HTML, Markdown) PDF, DOCX, TXT, Markdown, EPUB, HTML, RTF, ODT⁶, PAGES³, ZIP
Book (EPUB)⁶ ⁸ MOBI⁸, AZW3⁸, PDF⁷ ⁸, DOCX⁶, Markdown⁶, HTML⁶, ODT⁶, TXT⁶, ZIP
Kindle book (MOBI, AZW3, AZW)⁸ EPUB, MOBI, AZW3, PDF, ZIP
Spreadsheet (CSV, TSV, XLSX) XLSX, CSV, TSV, PDF, ODS¹, NUMBERS³, ZIP
Spreadsheet (XLS, ODS)¹ XLSX, CSV, PDF, ODS, ZIP
Slides (PPTX, PPT, ODP)¹ PDF, JPG, PNG (one image per slide), KEY³, ZIP
Pages document PDF⁴, DOCX¹, RTF¹, TXT¹, JPG⁴, PNG⁴, ZIP
Numbers spreadsheet PDF⁴, XLSX¹, CSV¹, ODS¹, JPG⁴, PNG⁴, ZIP
Keynote deck PDF⁴, PPTX¹, JPG⁴, PNG⁴ (one image per slide), ZIP
Audio (MP3, M4A, WAV, AIFF, FLAC, OGG², Opus², WMA², …) MP3², M4A, WAV, AIFF, FLAC, OGG², Opus², WMA², TXT⁵, SRT⁵, VTT⁵, ZIP
Video (MP4, MOV, MKV², WebM², AVI², WMV², …) MP4, MOV, M4A, GIF, MP3², MKV², WebM², AVI², WMV², SRT⁵, VTT⁵, ZIP
Subtitles (SRT, VTT) TXT, SRT, VTT, ZIP
Archive (ZIP, TAR, GZ, 7Z, RAR) Unzip into a folder
Folder or anything else ZIP, TAR, TAR.GZ

Drag several files at once to convert them all; mixed selections show only the formats every file supports. Several files sent to ZIP, TAR or TAR.GZ go into one archive.

³ Offered when Pages, Numbers or Keynote is installed; that app does the saving, so macOS asks once whether OpenShelf may control it (Privacy & Security → Automation). Pages takes DOCX, DOC, RTF and TXT; Numbers XLSX, XLS, CSV and TSV; Keynote PPTX and PPT. ⁴ With LibreOffice, from the whole document; without it, from the preview Pages, Numbers and Keynote save inside each file: a PDF of every page in older files, a picture of the first page (JPG and PNG only) in newer ones. Files without a preview need LibreOffice.

¹ Needs LibreOffice. ² Needs ffmpeg (brew install webp also adds WebP). ⁵ Needs whisper.cpp and a speech model (see Optional command-line tools). ⁶ Needs Pandoc; without it an EPUB offers ZIP, TAR and TAR.GZ as before. ODT is offered for Markdown, Word, ODT, HTML and RTF. ⁷ Through Pandoc, also needs a typesetter (see below); with calibre installed, calibre makes it instead. ⁸ Needs calibre.

Both are free and optional. Install them from Settings → Extra Formats: one click downloads the official build (ffmpeg from ffmpeg.martin-riedl.de, LibreOffice from libreoffice.org), checks its checksum and its publisher's code signature, and installs it for you alone, without an administrator password. When ffmpeg's server is down, the same signed build comes from OpenShelf's mirror on GitHub, checked the same way; when that's down too (or libreoffice.org is), and you have Homebrew, Install with Homebrew runs brew install for you. Copies from Homebrew (brew install ffmpeg, brew install --cask libreoffice) are used too and take precedence. Without them those wedges are hidden, and dragging a file only they can open (an MKV, a PowerPoint deck) says which one it needs. GIFs from video are made without ffmpeg, though it makes slightly cleaner ones when installed.

Markdown and Word documents

Markdown is rendered, not copied as text: headings, emphasis, lists, quotes, code blocks, tables, links, pictures beside the file, footnotes and math come out as the real thing in PDF, Word, HTML, EPUB and RTF, and as tidy plain text in TXT. Besides CommonMark and GitHub's tables and task lists, OpenShelf reads the Pandoc extensions people use most: definition lists, simple and multi-line tables, line blocks, $math$, smart quotes and dashes, and a YAML title. Word files get Word's own heading styles, numbered lists and footnotes. Pictures on the web are never downloaded; they're shown by their description.

If Pandoc is installed, OpenShelf uses it instead for Markdown to Word, HTML, EPUB, RTF and ODT, and for Word, ODT and HTML to Markdown, EPUB and ODT. Pandoc also opens EPUB books: they become Word, Markdown, HTML (pictures included), ODT, plain text and, with a typesetter, PDF. Pandoc's PDFs also need a typesetter such as MacTeX, Tectonic or Typst; without one, PDFs keep OpenShelf's own layout. With LibreOffice installed, Word and ODT documents become PDFs through it, keeping their page layout. Should either fail, the built-in conversion runs instead. Pandoc downloads pictures a document links to on the web. Install Pandoc from Settings → Extra Formats like ffmpeg and LibreOffice: OpenShelf downloads its official build from GitHub, checks the checksum GitHub lists and John MacFarlane's code signature, and installs it for you alone. Homebrew's copy (brew install pandoc) is used too.

Optional command-line tools

A few conversions come from free command-line tools that OpenShelf uses when they're installed, but never downloads, bundles or installs itself. Without one, its wedges simply aren't on the wheel; Settings → Extra Formats lists each with the command that installs it. They're found in Homebrew's folders on Apple silicon (/opt/homebrew/bin) and Intel (/usr/local/bin), MacPorts and your PATH, and run with a minimal environment, never your shell's.

Tool Install Adds
whisper.cpp brew install whisper-cpp, plus a model (below) Audio to TXT, SRT and VTT; video to SRT and VTT
Pandoc brew install pandoc (or Install in Settings) ODT output; EPUB to DOCX, Markdown, HTML, ODT and TXT
A PDF typesetter for Pandoc brew install tectonic or brew install typst, or MacTeX PDFs through Pandoc, e.g. EPUB to PDF
calibre brew install --cask calibre EPUB, MOBI and AZW3 to each other and to PDF; PDF to MOBI and AZW3

Transcripts and subtitles are made entirely on your Mac: the sound is decoded (by macOS, or by ffmpeg for formats macOS can't read) and whisper.cpp recognises the speech; nothing is uploaded. whisper.cpp needs a speech model, which OpenShelf doesn't download either: put a ggml-*.bin file from huggingface.co/ggerganov/whisper.cpp in ~/Library/Application Support/OpenShelf/Models (Settings → Extra Formats → Open Models Folder). ggml-base.bin (150 MB) is quick and good; ggml-small.bin or ggml-large-v3-turbo.bin are more accurate and slower. Models ending in .en are English-only; the others detect the language. With several models, the most capable is used.

brew install whisper-cpp
mkdir -p ~/Library/Application\ Support/OpenShelf/Models
curl -L -o ~/Library/Application\ Support/OpenShelf/Models/ggml-base.bin \
  https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin

Ebooks go through calibre's ebook-convert, found inside calibre.app in /Applications or ~/Applications, or on Homebrew's path. DRM-protected Kindle books can't be converted. calibre makes PDFs with a built-in browser engine that occasionally crashes; OpenShelf tries once more when it does, and macOS may still show a "calibre quit unexpectedly" report.

Output settings

Out of the box, every conversion picks its own encoding. To choose instead, open Settings → Output:

  • Video (MP4, MOV, MKV, WebM, AVI, WMV): the codec (H.264 or HEVC, for MP4, MOV and MKV), the quality (Best, Balanced, Smaller, or a custom bitrate in Mb/s) and the largest size (4K, 1080p, 720p or 480p; videos are never enlarged and keep their shape). HDR videos stay HEVC to keep their colours.
  • Audio: a fixed bitrate, 96–320 kb/s, for MP3, M4A, OGG, Opus and WMA and for the sound in converted videos. Automatic follows the original's quality.
  • Images: the quality of JPEG, HEIC, AVIF and WebP, and whether the camera, date and location are kept.
  • GIFs from videos: the width (480, 720 or 1080 px, or the video's own up to 1920) and the frame rate (10–24 fps).

Automatic, the default for each, converts exactly as before. Reset to Automatic goes back to it.

Just this once: hold ⌥ Option as you drop on a format, or press ⌥Return (or ⌥-click) in the keyboard wheel. A small window shows the settings for that format, filled in from Settings → Output, with an estimate of the size for video. Click Convert to use them for this conversion only, or tick Use as default to keep them. Formats with nothing to choose (PNG, WAV, ZIP, …) convert right away.

Tools (⇧⌥)

Drag a… Tools
Image Compress · Metadata · Edit · Annotate · Add BG · Crop · Resize · Remove BG · Redact · Read QR · OCR
Several images or PDFs Combine into one PDF
PDF Pages (reorder, rotate, delete) · Split · Compress · Metadata · OCR
Video Trim · Speed · Crop · Rotate · Split · Compress · Mute
Audio Trim · Speed · Split
Several videos, or several audio files Merge into one file

OCR: drop images, PDFs, or a mixture on OCR, choose Searchable PDF or Text, then Save. Recognition runs on this Mac in your supported system languages. Existing PDF text is preserved; scanned pages are read individually. Results are saved beside each original as Name OCR.pdf or Name OCR.txt.

Most tools open a small editor. Make your changes and press the button at the bottom right (or Return); a copy is saved next to the original with a suffix, like Photo Cropped.jpg, so you can drag the result straight back into another wheel. Read QR, Combine and Mute run immediately without an editor.

Every editor works on several files at once. Drop five photos on Crop, set the crop once, and Same for all applies it to every one (the top half stays the top half, whatever their sizes); turn it off and click through the filmstrip to give each file its own edit. Annotate, Redact and PDF Pages keep separate edits per file, and Trim and Split start with each file on its own.

Crop, Add Background and Annotate editors

Trim editor for video and audio

Actions (⌃)

Wedge What it does
Shelf Puts the files on a new floating shelf next to the pointer
Add to Shelf Adds them to the shelf you used last (shown when a shelf is open)
AirDrop Opens AirDrop with the files
Copy Copies the files; paste in Finder to duplicate them
Move Asks for a folder and moves the files there
Copy Path Copies the full path of each file
Terminal Opens Terminal in the file's folder

Shelves

A shelf holds files for later without moving them. Drop more files onto it at any time, and drag them out to any app or folder when you need them.

A collapsed and an expanded shelf

  • Collapsed, it shows a stack with a count. Drag the stack to drag every file.
  • Expand (chevron or double-click) for a grid or list. Click, ⌘-click and ⇧-click to select, or drag across empty space to select several at once; drag a selection out together. Type the start of a name to jump to a file.
  • Space previews with Quick Look, ⌫ removes from the shelf, Return opens, ⌘A selects all, Esc collapses, ⌘W closes. Right-click for more, including Share.
  • Drag a shelf near the left or right edge of the screen to dock it there. When you move the pointer away, a docked shelf slides behind the edge and leaves a slim tab with the file count; hover the tab, or drag files onto it, to bring the shelf back.
  • Shelves are still there after you quit and reopen OpenShelf, even if you moved or renamed the files in the meantime.
  • Closing a shelf never touches your files. New Shelf and Close All Shelves are in the menu-bar menu.

Watched folders

OpenShelf can put new files on a shelf by itself. In Settings → Shelves → Watched Folders, click Add Folder… (Downloads, a project inbox, …) or Watch Screenshots, which follows the folder chosen in the Screenshot app's Options (the Desktop unless you changed it).

  • Each watched folder gets its own shelf. A file appears on it once it has finished arriving: downloads still in progress, files Finder is still copying, hidden files and files that were already there are left alone, and so are files renamed inside the folder. Subfolders aren't watched.
  • Optionally pick what happens to new files: convert them (e.g. every screenshot to JPG) or open them in a tool (Compress, Annotate, Redact, OCR, Compress PDF, Trim, …). It only runs on files it applies to, and the result goes back on the shelf when Add conversion and tool results back to the shelf is on. Files OpenShelf writes itself never count as new.
  • Nothing is watched until you add a folder. Switch a folder off, or click ⊖ to stop watching it.

Shortcuts and Spotlight

OpenShelf's engines are also actions in the Shortcuts app, so they can run without a drag: in a shortcut, from a Finder Quick Action, or in a folder automation that converts whatever lands in a folder. On macOS 26 and later the main ones appear in Spotlight too. Like the wheels, they run entirely on this Mac and save results next to the originals, never overwriting them.

Action What it does
Convert Files Converts files to any format the Convert wheel offers; files already in that format pass through, and ZIP, TAR and TAR.GZ put everything in one archive
Compress Images and PDFs Smaller copies, Light, Balanced or Strong; a file that can't get smaller passes through
Extract Text (OCR) Saves the text of images and scanned PDFs as a text file or a searchable PDF
Remove Background Cuts out the subject of each photo as a transparent PNG
Combine into PDF Combines PDFs and images, in order, into one PDF
Remove Audio from Videos Saves a silent copy of each video
Read QR Codes Returns the text of the codes in images
Add to Shelf Puts files on the shelf you used last, or a new one

Each action returns the files it wrote, so actions can be chained. Conversions use your Settings → Output choices. Files that don't come from a folder OpenShelf can write to are converted in a temporary folder and handed on; Add to Shelf keeps such files in ~/Library/Application Support/OpenShelf/From Shortcuts.

macOS only runs Shortcuts actions from apps signed with an Apple developer certificate. Releases from 1.10.0 on are, so the actions are included. A build you make yourself (see Build & run) is signed ad-hoc unless you pass SIGN_IDENTITY, so its actions show up in Shortcuts but don't run.

Updates

OpenShelf checks GitHub for new versions once a day (it asks the first time). When one is out you'll see its release notes and an Install Update button; the app restarts on the new version. Closing the window means "later"; it will remind you again. You can also choose Check for Updates… from the menu bar, or turn automatic checks and installs on or off in Settings.

Settings

Click the OpenShelf wheel in the menu bar → Settings… (⌘,). It opens on the tab you used last:

  • General: open OpenShelf at login, and take the tour again or start it over (also in the menu as Take the Tour…)
  • Wheels: the keys that open each wheel while dragging, and the shortcut for Finder or shelf selections
  • Shelves: remove files from a shelf after dragging them out, restore shelves at launch, hide docked shelves at the screen edge, add conversion results back to the shelf, and watched folders
  • Output: how conversions encode video, audio, images and GIFs (see Output settings)
  • Extra Formats: install or remove ffmpeg, LibreOffice and Pandoc, and see which optional command-line tools are found
  • Updates: automatic checks and installs, and Check Now

If the wheel icon is out of sight (behind the notch, or tucked into the menu bar's overflow on macOS 27), open OpenShelf again from Finder or Spotlight and Settings opens. Pressing the wheel shortcut (⌃⌥Space) twice with no files selected does the same.

ffmpeg and ffprobe that OpenShelf installs live in ~/Library/Application Support/OpenShelf/Tools; LibreOffice goes to ~/Applications. Remove in Settings deletes them (LibreOffice goes to the Trash). They aren't updated automatically: OpenShelf only goes online for them when you click Install.

Tech stack

Layer Choice
Language Swift 6 (strict concurrency)
UI SwiftUI for views; AppKit for panels, drag sessions, menu bar, Quick Look
Frameworks ImageIO, Core Image, PDFKit, AVFoundation, QuickLookThumbnailing, Quartz, ServiceManagement, Observation
Updates Sparkle 2 (MIT), downloaded and checksum-verified at build time
Build make (calls swiftc directly) · Package.swift for SwiftPM/Xcode
Tests Swift Testing
Minimum OS macOS 14 Sonoma
License MIT

Build & run

Requires Xcode or the Xcode Command Line Tools.

make run      # build, bundle into build/OpenShelf.app, and launch
make app      # just build the .app
make test     # run the test suite (needs a working SwiftPM)
make release  # universal build, zipped for a GitHub release
make dmg      # drag-to-Applications installer (after make release; needs create-dmg)

Builds are signed ad-hoc by default. To sign and notarize with a Developer ID (as the Release workflow does), store notarization credentials once with xcrun notarytool store-credentials openshelf --apple-id … --team-id …, then:

make release notarize dmg notarize-dmg SIGN_IDENTITY="Developer ID Application: Name (TEAMID)"

make app and make release also add the App Intents metadata that makes the Shortcuts actions appear, using appintentsmetadataprocessor from Xcode. With only the Command Line Tools it prints a warning and builds the app without them; everything else works. SKIP_APPINTENTS=1 make app skips the step.

Tests never need ffmpeg, LibreOffice, Pandoc, whisper.cpp or calibre: the optional-tool converters are tested with a fake process runner. To also run them end to end against the tools installed on your Mac, OPENSHELF_TOOL_TESTS=1 swift test (they're opt-in because they keep every core busy).

You can also open Package.swift in Xcode.

Project layout

Sources/OpenShelf/
  App/            entry point, app delegate, preferences
  DragDetection/  system-wide drag + modifier detection
  Wheel/          wheel items, geometry, overlay panel, SwiftUI rendering
  Convert/        format catalog, converters, progress runner
  Install/        downloading, checking and installing ffmpeg and LibreOffice
  Tools/          tool list, launcher, editor window host
  Tools/Editors/  image editors (crop, add background, annotate, …)
  Tools/PDF/      PDF tools (combine, pages, split, compress, metadata)
  Tools/Media/    video and audio tools (trim, speed, crop, rotate, split, merge, compress, mute)
  Shelf/          shelf model, floating panel, docking, layout
  Shelf/Views/    SwiftUI shelf UI and the AppKit drag source
  Intents/        Shortcuts and Spotlight actions (App Intents)
  Support/        file actions, Quick Look
  Settings/       settings window
  WatchedFolders/ folders watched for new files, and what to do with them

How drag detection works

macOS doesn't announce drags from other apps, and OpenShelf asks for no special permission. Instead, a mouse-down anywhere (mouse events can be observed without permission) wakes it, and while the button stays down it reads three pieces of global state every frame: the primary mouse button, the held modifier keys, and the change count of the system drag pasteboard. When the button is down and the drag pasteboard has changed and holds file URLs, a file drag is in progress. A quick tap of a wheel's keys opens that wheel as soon as they're released; keys held down count once they've been steady for ~70 ms, so pressing ⇧ on the way to ⇧⌥ doesn't flash the wrong wheel. Once the button is up, OpenShelf goes idle again. The wheel itself is an ordinary drop target.

Releasing

Releases are automatic and driven by CHANGELOG.md:

  1. Add a section for the new version at the top of CHANGELOG.md, e.g. ## [1.1.0] - 2026-11-02, describing what changed.
  2. Push to main.

The Release workflow then tests and builds the universal app on a macOS runner, makes the DMG and zip, tags v1.1.0 and publishes a GitHub release with that changelog section as its notes. Versions that are already tagged are skipped. With the Developer ID secrets set, the app and DMG are signed with hardened runtime and notarized by Apple; without them the build falls back to ad-hoc signing.

Installed copies find updates through Sparkle, which reads appcast.xml on the appcast branch (raw.githubusercontent.com/Manan-Santoki/OpenShelf/appcast/appcast.xml) and only installs updates signed with the project's EdDSA key (the SPARKLE_PRIVATE_KEY secret; the public key is SUPublicEDKey in Support/Info.plist). The feed is kept apart from GitHub's "latest release" so Windows releases in this repository can't affect it; each release still attaches appcast.xml for copies from 1.9.0 and earlier. The workflow also updates the Homebrew cask in Manan-Santoki/homebrew-tap (template: Casks/openshelf.rb). The CI workflow builds and tests every push and pull request.

Repository secrets used by the Release workflow:

Secret What it is
SPARKLE_PRIVATE_KEY EdDSA key that signs updates
DEVELOPER_ID_P12_BASE64 / DEVELOPER_ID_P12_PASSWORD Developer ID Application certificate, exported as .p12 and base64-encoded
NOTARY_APPLE_ID / NOTARY_PASSWORD / NOTARY_TEAM_ID Apple ID, app-specific password and Team ID used by notarytool
NOTARY_KEY_P8_BASE64 / NOTARY_KEY_ID / NOTARY_ISSUER_ID Or instead: an App Store Connect API key (takes precedence)
HOMEBREW_TAP_DEPLOY_KEY Private half of a write deploy key on the Homebrew tap repository

The website, openshelf.space, is maintained separately and isn't part of this repository. It picks up a release by itself: its server reads the newest release from GitHub, so the download buttons, version and download count update within ten minutes. The count is DMG downloads only; GitHub's own total also counts every update check and in-app update.

Contributing

Issues and pull requests are welcome. Please keep OpenShelf free of third-party assets and code you don't have the rights to — all artwork, including the app icon (scripts/make-icon.swift), is SF Symbols and SwiftUI drawing.

About

Free, open-source Mac utility: start dragging any file, tap a key, and drop it on a wheel to convert, edit, AirDrop or shelve it. Runs fully offline.

Topics

Resources

Stars

268 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages