jonathanlotan/Swivel
حول
Free, open-source, offline file converter for macOS: drag files, tap a key, and convert, crop, compress or share them from a radial menu.
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- +١
- خلال 15 يومًا
- +١
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلSwivel
Drag a file, tap a key, drop it on the wheel.
Convert, crop, compress, inspect and share files on your Mac without uploading them anywhere.
brew install --cask jonathanlotan/tap/swivel
English · 简体中文
▶ Try the wheel in your browser
Why Swivel
- Free and open source. MIT licensed. No trial, no account, no in-app purchase.
- Nothing to allow. The wheel works without Accessibility or Input Monitoring permission (how).
- Never touches the network. There's no network code, and a test fails if networking APIs get linked in.
- Small and native. Swift and Apple's own frameworks, signed and notarized by Apple.
- Works with Shortcuts. A Convert File action, plus Convert to JPEG, Compress and Convert to PDF ready-made, in Spotlight too.
- A command line too. The same engine as
swivel convert --to image.jpeg *.heic, installed with the app.
One gesture, three rings
Start dragging files anywhere, in Finder or on the desktop, and tap a key. The wheel opens at the pointer. Drop on a slice to run it, or in the middle to cancel. Slices marked › open a second ring when you rest on them.
| ⇧ Shift: Convert | ⌘ Command: Tools | ⌃ Control: Actions |
|---|---|---|
|
|
|
| The formats these files can become: images, video, audio, documents and PDFs. Less common ones are under More. | Resize, crop, rotate, fit to a size, compress, remove backgrounds or metadata, recognize text, merge or split PDFs, make archives. | Share (AirDrop, Mail, Messages, Notes, Photos, or any app), see metadata, float on a shelf, copy, move, copy the path, open in Terminal. |
- Scroll to switch rings. Up goes to the next one, in the order Actions, Tools, Convert. Tapping another key works too.
- Results go next to the original, named the way Finder would:
IMG_2041.jpg,IMG_2041 2.jpg,IMG_2041 (square).heic. Nothing is ever overwritten, and the original is never changed. - The keys are yours to choose in Settings. Keys already held when a drag starts don't count, so ordinary drags behave as before.
Crop and metadata
Crop has Square, 4:3, 3:2, 16:9, 3:4, 2:3 and 9:16 straight from the wheel, cut from the middle. Custom… opens the editor above: drag the handles, pick a shape, or type an exact size and the crop is scaled to it. With several photos it steps through them, keeping the shape.
|
|
| Metadata shows what a file says about itself: camera, lens, exposure and location for photos; tracks and codecs for audio and video; pages and author for PDFs. Remove Metadata saves a clean copy of a photo, video or PDF. | Settings: the keys for each ring, image and video quality, favourite formats, launch at login, and whether the menu bar icon shows. |
What it handles
Images: JPEG, PNG, HEIC, AVIF, TIFF, GIF, PDF and more
- Write: JPEG, PNG, HEIC, AVIF, TIFF, GIF, PDF, BMP, JPEG 2000, ICNS, ICO, PSD, TGA.
- Also read: WebP, EXR and SVG. JPEG XL and camera RAW should open too, through macOS, but aren't tested.
- Animated GIFs can become MP4 or MOV.
- Tools: resize, crop, rotate and flip, fit under 1, 5, 8 or 25 MB, compress, remove the background (macOS 14 or later), remove metadata, recognize text, combine into a PDF.
- Fit to Size lowers the quality first, then the pixel size, and saves nothing rather than a result too small or blurry to use.
- Photos stay upright, and their metadata is kept unless you turn that off.
Video and audio: MP4, MOV, ProRes, GIF, M4A, WAV, FLAC…
- Video: MP4 (H.264 or HEVC), MOV, MOV (ProRes), M4V, GIF, or a still frame.
- The sound from a video: M4A, WAV, AIFF or FLAC.
- Audio: M4A (AAC or lossless), WAV, AIFF, FLAC, AAC, CAF. 24-bit stays 24-bit.
- Video tools: compress, resize to 4K, 1080p, 720p or 540p (only sizes smaller than the clip), remove audio, remove metadata (location, date, camera and title, without re-encoding).
- Audio tools: compress to a smaller AAC file (offered for lossless audio and anything above the chosen rate).
Documents and PDFs: Word, RTF, HTML, text, PDF
- Between plain text, RTF, HTML, Word (.docx and .doc) and OpenDocument, and any of them to PDF.
- PDF to text, or to PNG, JPEG, HEIC or TIFF pages.
- Merge, split and compress PDFs, remove their metadata (title, author, keywords), and recognize text in scans.
Archives: ZIP, TAR.GZ, TAR.XZ, 7Z, Apple Archive
- Make an archive of any files or folders, extract one, or convert between formats.
- Extracting never writes outside its own folder.
Formats that would need third-party encoders (writing WebP or JPEG XL, MP3, Ogg, WebM, MKV) aren't included.
Other ways in: drop files on the menu bar icon, choose Convert Files… from its menu, use Services › Convert with Swivel… or the Quick Action in Finder, or Open With.
- Shortcuts: the Convert File action takes files and a conversion (JPEG, Resize › 1920 px, Crop › Square…) and returns the results, so a folder automation or a Quick Action can convert without the wheel. Convert to JPEG, Compress and Convert to PDF come ready-made, in Spotlight too: "Compress with Swivel".
The command line
The app includes swivel, the same engine without the wheel. Homebrew puts it on your PATH;
otherwise it's at Swivel.app/Contents/Helpers/swivel.
swivel list IMG_2041.heic # what this file can become
swivel convert --to image.jpeg *.heic # results go next to each original
swivel formats # every conversion and whether this Mac can do it
Private by design
Everything happens on your Mac, with Apple's own frameworks (ImageIO, AVFoundation,
AudioToolbox, PDFKit, Vision) and tools that come with macOS (textutil, ditto, tar,
aa). There's no network code, no account and no telemetry; a test checks that no
networking APIs are linked. Locations in the metadata window are shown as coordinates,
with no map, because a map would need the network. See the privacy policy.
How it works
- Spotting a drag without permissions. Any app may watch for mouse-downs in other apps, and read the drag pasteboard's change count and types (never its contents). Swivel arms on mouse-down, checks 60 times a second while the button is held, and treats it as a file drag only when the drag pasteboard changed and holds file URLs. Then a tap of a ring key opens the wheel, a non-activating panel that takes the drop. Watching key presses in other apps would need Accessibility or Input Monitoring; reading which modifier keys are down doesn't.
- Nothing overwritten, nothing half-written. Each result is written to a temporary folder,
then moved into place with
renamex_np(…, RENAME_EXCL), which fails rather than replace a file, so the name steps on toIMG_2041 2.jpg. A cancelled or failed job leaves nothing behind. - Archives stay in their folder. Extraction refuses any entry that would land outside it.
- Offline, checked. Tests run
nm -uon the built app, Quick Action and CLI, and fail onURLSession, CFNetwork, sockets orgetaddrinfo. The Quick Action has no network entitlement. - These pictures are the app. The images on this page are rendered from the app's own views
by a test (
make readme-images), so they can't drift from what ships.
FAQ
Why can't it write WebP, MP3, WebM or MKV?
macOS has no encoders for them, and Swivel only uses what comes with macOS. It can read WebP. Writing these would mean bundling libwebp, LAME or ffmpeg, each with its own license and size; they may come later as an optional add-on.
Which Macs and macOS versions?
Apple silicon Macs with macOS 13 Ventura or later. It's tested on macOS 26, and the conversion engine's tests also run on macOS 15 for every change. Reports from other versions are welcome in Issues.
How do I update it?
Swivel never checks for updates, since that would need the network. Use
brew upgrade --cask swivel, or watch this repository for releases (Watch › Custom › Releases).
How is this different from Tangerine or Kumquat?
The Shift-drag idea comes from Tangerine by Leap Studio, a paid app with more formats and tools. If you want a commercially supported converter, buy it. Swivel is an independent, open-source take on the idea, built from Tangerine's public description. None of its code or assets are used.
Kumquat is another free, open-source take on the same gesture. It handles more formats than Swivel, has watch folders and runs on Intel Macs too.
| Swivel | Kumquat | Tangerine | |
|---|---|---|---|
| Price | Free | Free | Free for the first 20 files, then $29.99 once |
| License | MIT | MIT | Apple's standard App Store license |
| Signed and notarized | Yes, Developer ID, since 1.0.0 | Not notarized yet (on its roadmap) | Mac App Store, signed and reviewed by Apple |
| Network use | None | An update check against GitHub, which can be turned off | No uploads or analytics; the purchase goes through the App Store |
| Permissions | No Accessibility or Input Monitoring; macOS asks before it saves into Desktop, Documents or Downloads | No Accessibility or Screen Recording | macOS asks before it saves into a folder; anything else ? |
| Install | DMG or Homebrew cask | Install script (one line in Terminal) or DMG | Mac App Store |
| Macs | Apple silicon, macOS 13 or later | Apple silicon and Intel, macOS 14 or later | Apple silicon, macOS 13 or later |
| Formats macOS can't write | No | EPUB, XLSX and more built in; MP3, Ogg, WebM, MKV and WebP once you install FFmpeg or WebP; Office files with LibreOffice | Built in: MP3, Ogg, Opus, WebM, MKV, WebP, EPUB, Pages, PPTX and more |
| Command line | swivel |
kumquat |
? |
| Shortcuts actions | Convert File, plus Convert to JPEG, Compress and Convert to PDF | No (on its roadmap) | ? |
| Finder Quick Action | Yes | No (on its roadmap); a Services menu item and ⌃⌥K instead | ? |
| Watch folders | No; a Shortcuts folder automation can run Convert File | Yes | ? |
Taken from each project's README, website or App Store page in October 2026. ? means we couldn't find it stated. Corrections are welcome in Issues.
How do I uninstall it?
Quit it from the menu bar and move Swivel.app to the Trash (or brew uninstall --cask swivel).
Its settings are in ~/Library/Preferences/io.github.jonathanlotan.Swivel.plist.
Building
You need Xcode 26 or later (built and tested with Xcode 27.1) and
XcodeGen (brew install xcodegen).
make run
| Command | What it does |
|---|---|
make run |
Builds and opens the app (it lives in the menu bar) |
make test |
Runs all tests: 65 for the conversion engine, 104 for the app |
make app |
Generates the Xcode project and builds the app |
make core-test |
Runs only the conversion engine's tests |
make cli |
Builds the swivel command and prints its path |
make readme-images |
Renders the pictures on this page from the app's own views |
make release |
Signs, notarizes and packages Swivel.dmg (how) |
make clean |
Removes the build output |
Builds go to ~/Library/Caches/Converter rather than the project folder, because iCloud
Drive's file attributes break code signing. Local builds are signed to run on your own Mac
(ad hoc).
Project layout
Packages/ConverterCore: the conversion engine, a Swift package with no UI code, plus theswivelcommand and its tests.Converter/App: the menu bar app in SwiftUI and AppKit: the wheel, menus, job queue, settings, crop editor, metadata window, welcome window and file actions.Converter/QuickAction: the Finder Quick Action extension.Converter/AppTests: the app's tests, including the renderer for this page's pictures.docs/: the browser tryout and, indocs/dev, the development plan, the verification report and the design notes for macOS 26 and 27.
Contributing
Bug reports, format requests and pull requests are welcome; see CONTRIBUTING.md.
Credits
Made by Jonathan Lotan, with help from Claude Code. The Shift-drag gesture is inspired by Tangerine.
If Swivel saves you a trip to a converter website, a ⭐ helps other people find it.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…