Miguel Piedrafita
I'm a 21-year-old maker, and this is my story.
I taught GPT-4 to browse the web (and made a video about it ✨ I'm extremely proud of the video, and would love for you all to watch it (it's <5min long :3). (link to the GPT-4 browser repo is also in the video) x.com/m1guelpf/status/1640020967442227200/video/1
View on Twitter
✨ Today we're launching World ID, the reason why i joined @worldcoin in the first place. Sybil resistance is proving to be more important than I ever thought, and this is a foolproof solution, working on and off-chain that you can integrate in minutes.
View on Twitter
One of the nice things about building clippy.help in Rust is that I get to explore the ecosystem and build lil helpers ✨ For example, here's an axum middleware I built inspired by @laravelphp's signed URLs feature:
View on Twitter
✨ Built my first Transformer model (trained on Shakespeare's works) following @karpathy's newest video lecture. def shouldn't have gone blind into it, took a lot of rewatches for some parts to make sense and others I'll need to read more to understand, but it works!!! 😁 x.com/m1guelpf/status/1615912948068765696/photo/1
View on Twitter
✨ The Stable Diffusion safety filter has always been a mystery to me. It's not documented anywhere, and overall pretty accurate. Well, I finally figured it out, and built a modified version that works for any image. It's FAST ⚡ Check it out! 👇
View on Twitter
✨ Went deep into the semantic search rabbit hole, and built a really cool experiment It indexes the @IndieHackers podcast (as a demo, could work with any), letting you search through a transcript of all episodes by topic of conversation. Try it out! 👇
View on Twitter
✨ Was playing around with @OpenAI's Whisper C++ bindings, and made a simple CLI in Rust that replicates the original ones. Turns out it's orders of magnitude faster than the Python version on M1 macs 🚀
View on Twitter
✨ Been playing around with Point-E (@OpenAI's new DALL-E-but-3D model) on my mac, and noticed it was running a bit slow. So I hacked around basic support for M1/M2 GPUs (instead of running it on the CPU), and it's noticeably faster!
View on Twitter
✨ Introducing `plz`, an AI-powered command generator. Kinda like copilot, but for your terminal. It's ideal for all those weird unix commands that take dozens of flags, and you never know which ones to use (like ffmpeg). (takes one command to setup 👇) github.com/m1guelpf/plz-cli x.com/m1guelpf/status/1603018284282138634/video/1
View on Twitter
✨ Got tired of opening the GPTChat website every time, so I made a Telegram bot. If you want one too, I made it extremely easy to set up (you only need to run a single command! 😯). Check out the repo 👇 github.com/m1guelpf/gptchat-telegram x.com/m1guelpf/status/1599254528800325632/photo/1
View on Twitter
✨ I've been playing a lot with fine-tuned Stable Diffusion models recently, and deploying them to @replicatehq for ⚡️ APIs. So I made a quick tutorial showing you how to easily deploy any SD model (no ML knowledge required) 🎥 Full vid on YouTube! 👇 youtu.be/Kxlcj7BnO8I x.com/m1guelpf/status/1595613272731852803/video/1
View on Twitter
✨ I got tired of writing commit messages, so I made an AI to do it for me. Make some changes, run `auto-commit` and you're good to go! 🚀 github.com/m1guelpf/auto-commit x.com/m1guelpf/status/1587127315317723136/video/1
View on Twitter
Been working on a lil script-writing app 👀 it feels really crazy how fast I can go from "i wish this existed" to a prototype, coding really is a magical skill ✨ scripty.vercel.app x.com/m1guelpf/status/1583727802905694208/photo/1
View on Twitter
✨ A while ago, I made a simple script that generated subtitle files from any YouTube URL (using @OpenAI Whisper). Since then it's gotten: 🗂 Support for SRT outputs (as well as VTT) ⚡️ Way faster YT downloads 🫠 Line break support for nicer subtitles
View on Twitter
💬 Had to improvise an explanation for what "web3" means for a non-crypto fren recently. Was really happy with the explanation, so thought I'd share! 😁 (feat. @AnaArsonist) x.com/m1guelpf/status/1579136883291889669/video/1
View on Twitter
New @worldcoin docs are out, and they look amazing! id.worldcoin.org x.com/m1guelpf/status/1575844618737922050/photo/1
View on Twitter
✨ Made another lil whisper script, which lets you automatically generate and overlay subtitles into any video. Insane we used to have to pay for this, now it's one command away 🤯
View on Twitter
🧑🔬 WIP experiment: a @nounsdao text-to-image dataset, which could be used to fine-tune Stable Diffusion. It works by generating a bunch of random nouns (using 50k rn), then writing their description based on the attributes.
View on Twitter
✨ Yesterday, OpenAI released Whisper, a neural net for speech recognition with insane accuracy. So I made a simple script that uses it to generate (good) YouTube subtitles for any video, in seconds. 🚀
View on Twitter
✨ Stable Diffusion is amazing, but unfortunately it isn't trivial to setup (especially for people without good GPUs). Instead, I made a Twitter bot that turns any reply to this tweet into an image, using SD! Let's see what you can come up with! 👇
View on Twitter
✨ Added a Spotify tile to my website, showing what I'm playing in real time. Want to make the website feel more personal, so I thought a lil peek into my music would be a fun start. Check in from time to time, and see if we have any tunes in common! 😁 miguelpiedrafita.com x.com/m1guelpf/status/1566979006452441088/video/1
View on Twitter
✨ Social has always has a big problem with bots & spam. We're excited to work with @LensProtocol on a new solution to this: Have users verify themselves in a completely anonymous way, using World ID. Human status available to all apps via the Lens API.
View on Twitter
playing around with new web3 experiences ✨ x.com/m1guelpf/status/1548788782194900996/photo/1
View on Twitter
🌱 I have no doubt @LensProtocol will overtake web2 social at some point. But until then, I'm forced to keep posting on the platforms my existing audience uses. ...or I could make an app that does it for me (and I did). Cross-post Lens to Twitter 👇
View on Twitter
🌱 One of the coolest things about @LensProtocol is that you truly own your data, and can bring it anywhere you go. To help with this, I made a lil tool you can use to embed posts, comments & mirrors anywhere! ✨
View on Twitter
✨ I used to love HN because of all the amazing articles & repos I found there. Unfortunately, quality has decreased over the years (and they really really hate any crypto-related projects). So I made a new link board, powered by @LensProtocol 🌱
View on Twitter
🛠 Finally had time to open-source the template I've been using for months to make all these lil apps! It includes @nextjs, @tailwindcss, RainbowKit, ethers.js, @wagmi_sh, & more!
View on Twitter
✨ Worked with @yogicodes to add meta cards to @lensterxyz posts & profiles! Now, when sharing on social media, things look much nicer :D Here's an example 👇
View on Twitter
🌱 @LensProtocol imagines a new era of decentralized social networks. Can they solve "verifying humans" better than Twitter? A proposal: use anonymous zero-knowledge proofs of humanity (with @worldcoin)
View on Twitter
✨ smol hack: easiest way to split X tokens across every human a contract anyone can send tokens to, that allows humans to register a wallet and claim their share of them (powered by @worldcoin)
View on Twitter
I want to make a lil blockchain, from scratch. To finally understand all those discussions about block size and learn the nuances, what it takes for clients to communicate, how nodes really work, maybe get 51%'d in the process, etc. What resources would you recommend?
View on Twitter
✨ Finally got a full node running at home, and all my wallets & apps running through it. Self-sovereignty feels great (& RPC calls are faster too), LFG 😁
View on Twitter
✨ Wallet history is notoriously hard to "explain" to users. At best, you get a bunch of swaps, but every other tx is a "contract interaction". I've spent the past week working on a solution (and recreating the iOS lockscreen on web to showcase it 🤪).
View on Twitter
✨ Built a lil potato form for @ruedart's potato commissions. Built in less than a day thanks to the dream stack of Next.js + TailwindCSS & @viamirror's design system + @prisma + @nft_storage Repo below! 👇 github.com/m1guelpf/formtato twitter.com/ruedart/status/1496210382632935436
View on Twitter
✨ Made a lil website where you can see who you're currently delegating your $ENS to. Delegates hold power over the @ensdomains DAO, and we should make sure we're elevating people who represent the things we stand for.
View on Twitter
🚀 Introducing lil web3: simple, intentionally-limited (but fully tested) versions of web3 protocols & apps. - lil ens - lil opensea - lil fractional - lil juicebox - lil flashloan - lil gnosis + more soon! Read through the annotated code on the repo 👇
View on Twitter
✨ Saw a few people sharing their @ourZORA orbs with frens, only to see the orb change when transferred. So I made a fridge. It freezes your zorbs. So they don't change. + uses big boi ethdev stack (@gakonst's Forge & @RariCapital solmate) 😁
View on Twitter
🛠 Have you ever wanted to build a web app in @solidity_lang? Me neither, but I built a barely-working server for it anyways 😋 Enjoy this monstruosity (and help me fix it plz) on my GitHub 👇 github.com/m1guelpf/solserve x.com/m1guelpf/status/1477388736556310529/video/1
View on Twitter
✨ Playing around with some fractal simulations now that I finally have a M1 Here's a Mandelbulb, a 3D version of the Mandelbrot set x.com/m1guelpf/status/1463358049591054339/video/1
View on Twitter
I've been thinking a lot about effective methods of sybil resistance since the RBN/Meka incidents. Here's an experiment: go through an identity verification flow (powered by @stripe Identity), and get a "receipt" NFT on completion (then delete all data).
View on Twitter
🚀 Inspired by @dhof's WAGMIGOTCHI experiment, here's a $PET NFT for you to adopt and take care of. It's not only 100% free, but you also don't need to pay for gas 🔥 Adopt a $PET below! 👇👇👇
View on Twitter
🚀 Got tired of waiting for a @RoamResearch app so I built my own It comes with a native "Share to Roam" extension so you can finally send notes to Roam from the native iOS menu! 🔥 Here's how I built it & how you can install it on your iPad/iPhone 👇👇 x.com/m1guelpf/status/1424209157935206412/video/1
View on Twitter
✨ I've been working on something new this past few weeks, and I'm super excited to finally share it with everyone 🚀 Introducing dm.link, a new way of distributing your Twitter content Learn more about what it is and why I'm excited about it below 👇 x.com/m1guelpf/status/1369327457514438656/photo/1
View on Twitter
✨ I built a lil contract to play Connect 4 on the blockchain! It includes a super-optimised Game contract (moves cost ~$20 on mainnet) + an NFT that the owner can mint (which generates an image of the board, completely on-chain). Enjoy! 👇
View on Twitter
🚀 Login with FaceID on the web! x.com/m1guelpf/status/1352660976152293376/video/1
View on Twitter
✨ Here's a landing I designed for a product that never ended up getting announced. I designed this in Sketch, taking inspiration from the old @PairWithTuple and Level landings. Would anyone be interested in having this as a template? I have it in Sketch and HTML (w/ Tailwind) x.com/m1guelpf/status/1269421814129852416/photo/1
View on Twitter
I wanted a desktop app for @clubhouse, but they aren't planning to release one soon, so I made it myself. x.com/m1guelpf/status/1239175425919799297/video/1
View on Twitter
✨ Spent the entire day rebuilding the @worldcoin docs from scratch. Really happy with the result! docs.worldcoin.org x.com/m1guelpf/status/1635765550474317824/photo/1
View on Twitter
Also PR'd support for the new API to @gigapotential's OpenAI library (which Clippy uses), so other rust-based projects should be able to use it soon! 🦀
View on Twitter
✨ Built and deployed an AI rabbit in Rust 🐰🦀 It's been trained on the @joinhop docs, and can respond to any hop-related queries and point to relevant pages for more info. Here's clippy.help, in action 👇 x.com/m1guelpf/status/1622722889374990339/video/1
View on Twitter
Made a lil @worldcoin iOS widget with scriptable.app, showing real-time onboarding stats! Uses internal APIs, so unfortunately can't share the code, but hopefully we have some public endpoints soon? 👀 x.com/m1guelpf/status/1615544535681241088/photo/1
View on Twitter
✨ Built a lil queue system library for Rust, powered by redis. Had @LucemansNL over last weekend, and he walked me through basic Redis commands & how to build queues with them. Thought I'd build something to practice! 😁
View on Twitter
✨ Been having a lot of fun building a lil web framework in rust from scratch (no deps!). While I wouldn't recommend anyone using it in prod (obv), I'm super happy with the DX. Manually parsing HTTP is hell tho 😅 More in README 👇
View on Twitter
✨ Next up in the "learning rust by rebuilding things" series, I made a lil docker image runner from scratch! As always, code is as clean and simple as I could get it, so if you're also trying to learn 🦀, it might help 😁 Check it out! 👇
View on Twitter
✨ Been trying to focus on practicing my Rust recently, so I built a (simple) Redis server from scratch. I've done my best to make the code as readable as possible, so if you're also learning 🦀 it may help you. More details in the readme 👇
View on Twitter
✨ My telegram ChatGPT bot now supports LIVE OUTPUT ⚡️ It's really easy to set up too, just download the program for your OS, set your Telegram keys and run it! (no dependency hell). Enjoy the fastest AI experience you can find, from your pocket 👇 github.com/m1guelpf/chatgpt-telegram x.com/m1guelpf/status/1600225751143677952/video/1
View on Twitter
✨ Magical tools deserve magical interfaces So I built a ChatGPT interface with a bit more life. (probably one of my favorite things I've ever made) x.com/m1guelpf/status/1598778861487271936/video/1
View on Twitter
✨ it's 3AM and i just built something really dumb Introducing `ai-code`, a magic package with every function ever (thanks to @OpenAI Codex). it's copilot, but worse. it works, but no one should use it ever. enjoy.
View on Twitter
these images were 100% generated by AI x.com/m1guelpf/status/1585370714630107136/photo/1
View on Twitter
✨ 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? x.com/m1guelpf/status/1581928901655175168/photo/1
View on Twitter
✨ If you wanna attend @letsraave but haven't managed to get a ticket yet, you're in luck! We've partnered with @LensProtocol to give away 5 tickets to verified Lens profiles (and if you haven't verified yet, it's super easy to do so!) Check it out! 👇
View on Twitter
This week, we're featuring: ✨Miguel Piedrafita ✨ Watch @m1guelpf and @willdepue talk about: - How to learn by debugging - Miguel's builder journey - Worldcoin, ConstitutionDAO, and Showtime youtube.com/watch?v=345OLOy1tBk
View on Twitter
✨ Finally managed to add image support to Reflect! After you enable the images option from your dashboard (link below), your Lens posts will keep their images when cross-posted to Twitter 🚀 One step closer from freeing ourselves from the bird app 😁
View on Twitter
🤖 Need an API to quickly transcribe some audio? I've pushed a version of OpenAI's Whisper specialized in generating subtitles (both SRT and VTT) to @replicatehq! It lets you transcribe audio in the cloud, with no markup from the compute cost 😮 replicate.com/m1guelpf/whisper-subtitles x.com/m1guelpf/status/1574456596985708545/photo/1
View on Twitter
✨ Yesterday, OpenAI released Whisper, a neural net for speech recognition with insane accuracy. So I made a simple script that uses it to generate (good) YouTube subtitles for any video, in seconds. 🚀
View on Twitter
🎥 Yesterday, I promised I'd stop procrastinating on video content and make a video on something. Well, it's here. It's super basic (me talking to a camera), and could probably be improved A LOT. But it's here, and the next one will be better. Enjoy! 👇
View on Twitter
✨ As part of my quest to make my website more personal, I've now added a map showing where I am. The cool thing? It dynamically updates the location every day when I wake up, generates an Apple Maps screenshot, and a low-res placeholder. 😮 Here's how I built it 👇 x.com/m1guelpf/status/1567452672877563904/photo/1
View on Twitter
✨ I recently noticed my feed had been surfacing way too many threadooors... so I decided to fix it. Introducing , one-click mute for all these people recycling the same templates to get engagement. Try it out, and free your feed from threadbois! 👇
View on Twitter
Added a new page to my site, inspired by @jackbutcher's CCV GDocs template. Will probably update it once I have a better idea of how to define myself, still super happy with how clear the format feels tho 😁
View on Twitter
🌱 Gated Garden allows you to garden-gate your links. Only those who follow you on @LensProtocol will get through 😉 A lil extra incentive for your followers, or an easy way to make some $$ with @LensProtocol "charge for follow" feature? You decide!
View on Twitter
🌱 @LensProtocol can be viewed anywhere, with dozens of frontends already. As with centralized social tho, users are likely to stick to a few pages they're familiar with. Links should reflect that. Universal Lens links are here 👇
View on Twitter
📱 I'm using @lensterxyz a lot, and was getting tired of using Safari all the time... So I wrapped it into its own lil app 😁 Available now on Testflight ➡️ testflight.apple.com/join/yrsLAMu5 x.com/m1guelpf/status/1530012279932067840/photo/1
View on Twitter
🌱 With every new social network, it's always interesting to keep track of the most active users and see how engagement evolves. Fortunately, @LensProtocol makes this super easy, since all the data is on-chain and indexed.
View on Twitter
🌱 Made a lil @LensProtocol client to show my posts on my website. Having tried to do the same with Twitter a while ago, the difference is incredible. Truly a wagmi DX.
View on Twitter
🤖 Came across @algoz_xyz in my tl today, and upon looking deeper into it something caught my attention. Tried to run their captchas through OCR and, after a bunch of image pre-processing, got a solver. Proof of Concept (only works on testnet, ofc) 👇
View on Twitter
✨ My tl has been a bit of a mess lately, so I built a tool to improve it. Go through every user you follow, view recent tweets & useful stats (% of RTs, tweets/day, time since last activity, etc.), then unfollow, mute RTs or skip. Try it out! 👇
View on Twitter
✨ Souldbound NFT have been gaining more and more popularity lately. So here is a site where anyone can create one, with just a few clicks. The best part: works for mainnet, @0xPolygon and @optimismPBC!
View on Twitter
Helping out with a web3 documentary for national Spanish TV 👀 x.com/m1guelpf/status/1503012230853505030/photo/1
View on Twitter
✨ Built a lil website on the plane back from ETHDenver that shows you if your wallet can be traced back to any Twitter accounts.
View on Twitter
✨ A few months ago, I made a stream where I got a non-technical friend and explained everything crypto to them, from blockchains and PoS, to smart contracts, ENS & more. I finally had time to edit the 5h of stream into a consumable video 😁 Enjoy! 👇👇
View on Twitter
✨ Seeding an ERC20 currency with holders of an NFT seems to be becoming more of a common trend (see $AGLD, $BSTICK, $ZURR). So I built a simple contract to issue a token for any NFT 😁 (using Foundry & @RariCapital's solmate for gas optimization magic)
View on Twitter
🛠 New day, new Solidity learning exercise! This time, I built a very basic implementation of @ensdomains, following the EIP-137 spec (using Foundry and Solidity tests, ofc 😉)
View on Twitter
✨ Decided to take @gakonst's Foundry for a spin and built a smol NFT drop template. ☑️ Simple mint() with constants for max supply/price ☑️ Using @RariCapital's Solmate for gas savings First time writing tests in Solidity, so feedback is very welcome😁
View on Twitter
📜 My friends and I are buying one of the 11 surviving copies of the US Constitution, and you can help! Introducing @ConstitutionDAO, a project to "rescue" the Constitution from the hands of private collectors, and put it back into the hands of The People. WTF is going on? 👇
View on Twitter
necromint.sol An ERC721 contract that allows you to resurrect burned NFTs. Idea by @dhof x.com/m1guelpf/status/1446511619090026496/photo/1
View on Twitter
🚀 My @WalletConnect Bridge app is now out for iOS/iPadOS 15 on @AppAirport! It allows you to use WalletConnect on sites where only MetaMask is supported 😁
View on Twitter
🚀 Made a thing for streamers out there! A super simple, real-time "now playing" widget to display your current Spotify song on stream. It's as easy as clicking a button and copying a URL! Check it out 👇
View on Twitter
✨ Playing with @Blender again! x.com/m1guelpf/status/1362743558260862976/video/1
View on Twitter
🚀 Sign in with Apple on the web! x.com/m1guelpf/status/1354262854715781123/video/1
View on Twitter
🎉 Excited to finally share what's been on my mind for almost a month now. Auralite is a new social network built for people. It's mindful of your attention and your privacy. It's gonna be great. Learn more and sign up for early access 👇
View on Twitter
🚀 I'm incredibly excited to finally launch what I've been working on for the last eight months. ✨ Meet Sitesauce: Generate static sites from any backend in one click, and keep them updated Learn more and get started on the new website 👇
View on Twitter
Spent some time reverse-engineering the @byte_app API, here's a PoC of posting from outside the app 😁 x.com/m1guelpf/status/1221142885011206144/video/1
View on Twitter
There's way more, but I haven't had time to look for it yet.