Miguel Piedrafita ✨
banner
miguel.build
Miguel Piedrafita ✨
@miguel.build
23. serial builder, purple-haired developer @world.org, core @ConstitutionDAO. friendly ambitious nerd.
new video is finally out!!

I'm super proud of this one, and if you enjoy watching people make things I think you'll love it

go watch, and let me know what you think! 😁

youtu.be/aJzbulMSRoo
I built a device to help me fall asleep
YouTube video by Miguel Piedrafita
youtu.be
January 3, 2025 at 5:06 PM
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
I may need to bring this back at some point because holy shit would that be useful when planning this video
✨ I've been writing some scripts for videos I wanna record recently, but was unhappy with the available software. So I made a concept for an app that allows you to define both the script and the scenes in the same place. ⚡️ Is this something you'd use?
December 17, 2024 at 4:13 PM
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
added full voice support to my OpenAI Realtime swift library

now building a "ChatGPT Advanced Voice mode"-like app takes 3 lines of swift

github.com/m1guelpf/swi...
GitHub - m1guelpf/swift-realtime-openai: A modern Swift SDK for OpenAI's Realtime API
A modern Swift SDK for OpenAI's Realtime API. Contribute to m1guelpf/swift-realtime-openai development by creating an account on GitHub.
github.com
December 10, 2024 at 11:10 PM
lil SwiftUI detail from my work-in-progress bookmarking app
November 29, 2024 at 3:49 AM
spent the entire day today fighting against puppeteer on cloudflare

only to discover the bug was in chrome

fml
November 24, 2024 at 9:41 AM
considering building a lil website that lets people "donate" domains and lets anyone claim a subdomain for their bluesky account

if you'd use it, speak up!
November 22, 2024 at 11:34 PM
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
gonna try to import some old tweets, apologies in advance if it messes up with the timeline
November 16, 2024 at 6:18 PM
Reposted by Miguel Piedrafita ✨
Well hello, Bluesky 👋
November 13, 2024 at 5:33 PM
got a shiny new handle for @world.org, hopefully they'll start posting here too soon! 🦋
November 13, 2024 at 3:41 PM
fun lil detail: my website has an always-updating feed of cool things I've built.

If for whatever reason you're a robot particularly interested in the feed, you can download it as a sqlite database.

wget miguel.build/projects.sqlite
November 11, 2024 at 10:55 AM
the  path I took at 16 to get to where I am now doesn't exist anymore

i really dislike the state of twitter nowadays and have been posting a lot less because of this

only recently I realized that makes me part of the problem in a way

anyways, lots more tweets soon
November 16, 2024 at 8:02 PM
want to build iOS apps with @OpenAI's new Realtime API?

Here's a Swift package that handles all the hard stuff (like websockets) so you can focus on your app 😁

(will also add support for managing conversations and voice for you in the coming days)

https://t.co/Gp24w9NW3k
GitHub - m1guelpf/swift-realtime-openai: A modern Swift SDK for OpenAI's Realtime API
A modern Swift SDK for OpenAI's Realtime API. Contribute to m1guelpf/swift-realtime-openai development by creating an account on GitHub.
github.com
November 16, 2024 at 8:02 PM
if you wanna deploy @OpenAI's new realtime APIs to mobile/web apps, you'll need a proxy websocket server.

this lets you handle auth, rate limits, private info, and not leak API keys!!

here's a simple 🦀 lib to build & deploy one of these in 5 minutes.

https://t.co/nIyZB8FzyS
GitHub - m1guelpf/openai-realtime-proxy: Safely deploy OpenAI's Realtime APIs in less than 5 minutes!
Safely deploy OpenAI's Realtime APIs in less than 5 minutes! - m1guelpf/openai-realtime-proxy
github.com
November 16, 2024 at 8:02 PM
We'll be hosting a lil event in a few weeks with a bunch of cool announcements (including some things I've been working on) https://twitter.com/worldcoin/status/1840770910908821625
November 16, 2024 at 8:02 PM
November 16, 2024 at 8:02 PM
i keep seeing people in the tl optimizing for the wrong things

avoid the signaling, don't try to be the main character, engagement won't make you happy

build something that makes you proud of yourself, make some friends, be kind to everyone
November 16, 2024 at 8:02 PM
recently got a Blackmagic camera, which doesn't have continuous auto-focus.

you can fix this by buying a $1k LiDAR kit from DJI, which also requires you to have a motor physically turn the focus ring on the lens.

time to bust out an ESP32 i guess 🫠
November 16, 2024 at 8:02 PM
November 16, 2024 at 8:01 PM
i grew up in a random town in spain where no one else was into making things. it took years to find people who inspired me to grow.

avi is giving a high-agency friend who helps and encourages you to pursue your dreams to every single teenager in the world https://t.co/sZjvHFAnh0
November 16, 2024 at 8:01 PM
Wanted a way to deploy Laravel apps from GitHub Actions, but SSHing to my server didn't feel safe

Thought to switch it up, put the server in control and stream back real-time logs.

The result is Orbit: effortless (self-hosted!) zero-downtime deployments

https://github.com/m1guelpf/orbit
GitHub - m1guelpf/orbit: Simple & safe zero-downtime deployments for Laravel.
Simple & safe zero-downtime deployments for Laravel. - m1guelpf/orbit
github.com
November 16, 2024 at 8:01 PM