Miguel Piedrafita ✨
banner
miguel.build
Miguel Piedrafita ✨
@miguel.build
23. serial builder, purple-haired developer @world.org, core @ConstitutionDAO. friendly ambitious nerd.
thought i'd built a very simple iOS app during Christmas, then spent most of the time on this screen

will probably not finish the app (HomeKit APIs are worse than I expected), but came out pretty cool!
December 26, 2024 at 7:32 AM
working on a video i teased back in May because i REFUSE to end the year without having made anything better than the mario video from last year

wip
December 16, 2024 at 10:30 PM
lil SwiftUI detail from my work-in-progress bookmarking app
November 29, 2024 at 3:49 AM
gm
November 19, 2024 at 7:17 PM
thought I'd try to figure out exactly how rewind.ai works today. the tl;dr is:
- screenshot your screen every ~2s, store all the screenshots as a video file (HEVC, so we get compression for free)
- constantly monitor the app the user's in, and save it to an encrypted sqlite db
November 16, 2024 at 8:11 PM
cool things I built last month for @world.org:

🪪 Credentials – using your phone's NFC scanner to read passport data and validate its authenticity, without sending any personal info to a server

👤 DeepFace – letting you authenticate streams of video (or photos) as real
November 16, 2024 at 8:08 PM
in honor of this, here's the only photo i have at the alchemy office (blame @kate_kassab) https://twitter.com/worldcoin/status/1805979387637944763
November 16, 2024 at 7:56 PM
in honour of this, here's the only photo i have at the alchemy office (blame @kate_kassab) https://twitter.com/worldcoin/status/1805979387637944763
November 16, 2024 at 7:56 PM
pro tip: instead of trying to describe yourself (hard, awkward) just ask the model to look you up and make assumptions (which you can then expand upon or correct)
November 16, 2024 at 7:56 PM
time to embrace the main character arc
November 16, 2024 at 7:56 PM
some more
November 16, 2024 at 7:56 PM
been getting more into photography lately
November 16, 2024 at 7:55 PM
Last week, I got to fly to Poland to get a lil maths lecture from @recmo on SMPC (the tech that enables us to delete all the iris codes). It turned out to be a lot simpler than expected, so I thought I'd share our convo so you too can understand it 😁 https://youtu.be/xQDXr8AZFGM
November 16, 2024 at 7:55 PM
back at it again
November 16, 2024 at 7:55 PM
one of the more annoying things when building AI-powered apps in Rust is... where to store the prompts. so I spent some time today building a macro that takes care of it for you ✨ https://github.com/m1guelpf/prompt-organizer
November 16, 2024 at 7:55 PM
✨ i made an app for those times where you "need to find that tweet real quick", and it's out on the App Store today! Perch saves every single tweet you like, and lets you filter them by author, keywords, links, the kind of media they contain, and more!
November 16, 2024 at 7:54 PM
learning iOS dev has been a big unlock for so many reasons, but one of my favs is making lil apps to solve everyday problems for example, "i saw a tweet about that a month ago, let me find it"
November 16, 2024 at 7:54 PM
If you want to see by yourself, here's the original, axum codebase: https://github.com/worldcoin/wallet-bridge And here's the Swift rewrite, powered by Vapor: https://github.com/m1guelpf/swift-wallet-bridge Decide for yourself, but I definitely like the style of Swift a lot more for this
November 16, 2024 at 7:53 PM
Really liked @JordanAmblin's underlay concept, so I thought I'd bring it to life in SwiftUI (ft. sick blur and drag animations) code linked below ↓🔗
November 16, 2024 at 7:53 PM
Couldn't help but build @samdape's TextOS Twitter concept into a "real" app (link to code in thread). includes some fun details, like a dithering shader to make the images fit in better with the text, or the lil drag interaction to switch tabs ✨
November 16, 2024 at 7:53 PM
✨ finally started learning SwiftUI! my first app is a very simple "talk with AI" interaction, inspired by @romainhuet's DevDay demo. it's very simple, but it works! And if you know Swift, please look through the code and lmk what you'd do differently! http://github.com/m1guelpf/indigo
November 16, 2024 at 7:52 PM
It's basically a thin wrapper around the Wallet Bridge, which we use for end-to-end encrypted communication with World App. (spec: https://t.co/QI2XClVW7V) Plus, thanks to Rust, you don't need a Rust project to use it, and can call it from Python, Swift or even PHP!
November 16, 2024 at 7:51 PM
Most of the World ID integrations so far have been on the web or mobile, since that's what we have SDKs for. But if you're building something else (like a macOS app, CLI tool or even an app for visionOS), there's now also a Rust SDK 🦀 https://github.com/worldcoin/idkit-rs
November 16, 2024 at 7:51 PM
3,000,000 unique humans
November 16, 2024 at 7:50 PM
Here's some cool stuff I did this year 🌐
November 16, 2024 at 7:50 PM