r/iOSProgramming • • 1d ago

Solved! I made free, MIT device frames for screenshots (drawn in code, CLI +React), since frameit stopped getting new devices

Post image

Every September I end up hunting for new device frames. fastlane's frameit stopped getting updates, and Apple's bezels can't be bundled into
tools because of their license.

So I built openbezels: every frame is generated from a spec, no Apple artwork inside.

- Drop a screenshot on the site and it snaps into the right device (detects by resolution): https://aryanpatil5.github.io/openbezels/

- CLI for whole folders: `npx openbezels frame ./screenshots`

- React component + Node API

- App Store / Play size exports

- If you need Apple's official bezels (their marketing guidelines ask for

them on the App Store), there's a bring-your-own-bezels mode

GitHub: https://github.com/AryanPatil5/openbezels

Honest question: do the frames look accurate enough for you to use them?

Which devices am I missing?

11 Upvotes

12 comments sorted by

2

u/Caffe-del 1d ago

The batch CLI is useful for localized screenshot sets. How does resolution detection handle two devices that share the same screenshot dimensions? An explicit device override would be useful in CI so the same inputs keep producing the intended frames when device specs are updated.

0

u/Captain_Sincerity 20h ago

--device <id> on frame lets you pin it explicitly, and the store export takes a devices array if you want to prefer specific ids when a resolution is ambiguous. so for CI just pass that and it won't matter if a new device spec later shows up with the same resolution, the "pick the newest" thing only kicks in when you don't specify

1

u/bramantec 1d ago

Nice, the bring-your-own-bezels mode is a smart way around the license.

Watch the Play export. Google Play wants screenshots with no transparency: a framed phone on a transparent background is exactly the case that gets an upload refused. A solid colour as the default would avoid it.

Are Android frames on the list? A Pixel or a Galaxy for the Play set.

1

u/Captain_Sincerity 20h ago

yeah right now if you don't pass --background the store export just stays transparent, so that would absolutely get bounced by Play. should probably just default to a solid color for that target instead of leaving it on you. and yep, Galaxy S26 + Pixel 10/11 Pro are already in there, openbezels devices will show you the full list

1

u/bramantec 19h ago

Good to know the Pixel and Galaxy frames are already in. A solid colour by default on the Play target will save someone a confusing refused upload.

1

u/Worldly-Training4263 1d ago

just try out FramesCLI search it up it got all the real device frames, ALL DEVICES, even iphone duo and macbook proled, with cli and skill fully free and open source

0

u/mmplanet 1d ago

AI post and AI comment, wtf is wrong with the internet...

0

u/Captain_Sincerity 20h ago

small update on this — pushed a few things based on feedback here:

-openbezels detect <file> — tells you which device a screenshot matches (or checks it against an explicit --device) without actually framing it, so you can assert it in CI and fail the build if a screenshot's the wrong size

- --json on frame for scripting, same idea

-video support — openbezels video recording.mp4 frames a screen recording now too. still code-drawn, no device art involved: it renders the same frame layers as the image path and hands ffmpeg one filter graph to do the per-frame scaling/masking, so it's fast (a few seconds for a short clip) and ffmpeg is the only extra thing you need installed

1

u/[deleted] 1d ago

[removed] — view removed comment

1

u/AutoModerator 1d ago

Hey /u/Even_Satisfaction611, your content has been removed because Reddit has marked your account as having a low Contributor Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple subreddits, submitting posts or comments that receive a high number of downvotes, a lack of recent account activity, or having an unverified account.

Please be assured that this action is not a reflection of your participation in our subreddit. This is simply an automated filter in place to reduce spam.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.