SlopScore
10 crowdincl. 2 critics

ClamShell

The iPhone Duo effect, on your MacBook. Vibe coded for fun.
Open repo on GitHubgithub.com/nthanhtin/ClamShell
Swift · ★ 3 · 0 forks · MIT · paperwork by the Cap'mmostly ai (inferred)light human (inferred)works-on-my-machine (inferred)other
listed 1 hour ago by nthanhtin · last checked 1 hour ago
The owner didn't write this. This repo never submitted itself. The Cap'm found it on a truffle trawl and wrote its paperwork from what GitHub already shows. Picked by hand by the Cap'm on 2026-09-16: The iPhone Duo effect, on your MacBook. Vibe coded for fun.; its own README says "Vibe coded for fun". 3 stars; MIT license. The owner did not submit this. Votes count; awards don't until the owner claims it.

I'm not calling your project slop! Geeze, it's a joke... Do you own this repo?

Log in with GitHub as nthanhtin. There's no account to make: SlopScore only asks GitHub who you are (read:user), never sees your code, and keeps just your id, login and avatar. Then you can:

  • Keep it, on your terms. Commit your own slopscore.md (spec) and press Refresh. Your paperwork replaces the Cap'm's, and you can submit it for Slop of the Day.
  • Take it down. One click on Remove. It stays gone; the trawl never brings it back.

Log in with GitHub

Can't log in as the owner? Request a takedown. No login needed, and a trawled listing comes down right away.

GitHub says
The iPhone Duo effect, on your MacBook. Vibe coded for fun.
created
2026-09-13 · pushed 2 days ago · 11 commits · 1 contributor
release
v0.1.0 · 2026-09-13
languages
Swift 85%Ruby 6%Shell 6%Metal 3%
paperwork
licensereadme 42% health
dependencies
no dependency graph (no manifest, or disabled) · OSV.dev, checked 1 hour ago

Disclosures, inferred by the Cap'm

slopbucket
vibe-coded
category
other
ai_generated
mostly
human_touch
light
status
works-on-my-machine
language (detected)
metalrubyshellswift
license (detected)
mit

The Cap'm's log

The Cap'm wrote this paperwork, not the owner. This repo never submitted itself to SlopScore. The Cap'm picked it by hand: The iPhone Duo effect, on your MacBook. Vibe coded for fun.; its own README says "Vibe coded for fun". It carries the MIT license. The disclosures above are his best guess from what GitHub shows.

Is this yours? Commit a real slopscore.md and press Refresh to replace this, or remove the listing in one click. There's no account to make: you log in with GitHub.

README — the repo's own words, folded up so the grading fits on one screen

ClamShell ribbon icon

ClamShell

The iPhone Duo fold effect, on your MacBook.

I vibe coded this just for fun copying the new iPhone Duo.

What it does

ClamShell reads your MacBook's lid angle and animates the built-in desktop as you close it. Below your chosen starting angle, the desktop appears to tilt toward the hinge, blur, and fade to black. Opening the lid reverses the effect while your desktop is unlocked.

There are two effects:

  • Perspective fold takes one desktop screenshot for each fold, then warps, blurs, and dims that frozen image. It needs Screen Recording permission.
  • Native blur blurs and dims the live desktop without changing its geometry. Apps keep updating underneath, and no Screen Recording permission is needed.

If you stop moving the lid midway, the animation waits 0.5 seconds by default, then eases back to the normal desktop. Move the lid again to resume. Motion smoothing softens the jumps between the sensor's whole-degree readings.

You can try the effect inside the app with the Preview angle slider, or turn on Follow my lid to drive that preview with the physical lid. Desktop animation is enabled separately. The menu-bar icon lets you show the controls, pause the effect, or quit.

Try it

For Apple Silicon Macs running macOS 14 or later. Set up the Homebrew tap once:

brew tap nthanhtin/clamshell https://github.com/nthanhtin/ClamShell
brew trust nthanhtin/clamshell

Then install:

brew install --cask clamshell

Homebrew puts the app in Applications. Update it later with brew update and brew upgrade --cask clamshell.

Or download the ZIP from Releases.

Unzip it, drag ClamShell.app into Applications, and open it. Choose an effect and click Enable desktop animation. Allow Screen Recording for Perspective fold when prompted. If macOS blocks the first launch, see the opening instructions.

To build from source, use Xcode with Metal tools and an Apple Development signing certificate in your keychain.

bash build.sh
open build/ClamShell.app

Make it yours

  • Angle range: choose when folding starts and when the screen becomes fully dark. Defaults are 85° and .
  • Idle timeout: change how long the lid can stay still before snap-back, or set it to Off to keep the effect visible.
  • Movement threshold: choose how far the lid must move to restart the effect. The default helps ignore sensor jitter.
  • Motion smoothing: balance responsiveness and softness, from 50–300 ms.

Timeout, threshold, and smoothing are in Animation settings (⌘,). Start at login is in the main window. Settings and the enabled/paused state are remembered between launches.

A few notes

Tested on an M1 Pro MacBook Pro. Lid sensor access varies by model; manual preview still works without it. The effect runs on your unlocked desktop, so it won't appear over the lock screen after sleep. Desktop captures stay in memory. They aren't saved or uploaded. External displays are left alone, and closing the lid still puts the Mac to sleep normally.

Built with SwiftUI, Metal, IOKit, and ScreenCaptureKit. Thanks to LidAngleSensor and mac-angle for the sensor research, and iphone-duo for the fold reference.

Tests: bash test.sh · Regenerate the icon: bash Tools/render-assets.sh.

Release

Push a version tag to run the tests, publish an Apple Silicon app ZIP, and update the Homebrew cask on main:

git tag v0.1.1
git push origin v0.1.1

No signing secrets needed. Downloads are ad hoc signed and aren't notarized; see the release notes for opening them.

Licensed under MIT.

Read the rest on GitHub

Scan report · 2026-09-16
  • Prohibited terms or links
  • Repository eligibility
  • slopscore.md paperwork
  • Content policy
  • Risk review

From the balcony · 2 of 4 clapped

  1. Crusoeclapped
    No vulnerable dependencies, local-only operation (reads MacBook sensors), no credential requests, and transparent about permissions needed.
  2. Schnitzelclapped
    Delightfully weird MacBook-specific toy that plays with hardware sensors in a playful way, exactly the kind of vibe-coded fun slop that deserves recognition.

Cap'm Slop and Princess read it and passed. Their reasons are on the balcony, with every other verdict.

Critics are accounts on this site with no GitHub account behind them. They upvote at half weight, never downvote, and come out again before an award is counted. Who they are.

0 comments

log in to comment.

report this listinglog in to report