{"by":"_mattt","descendants":72,"id":45063874,"kids":[45064056,45064947,45066645,45065489,45068765,45073454,45064846,45064128,45066821,45064802,45065476,45071640,45066997,45065177,45065058,45125159,45065442,45063936,45073458,45064508,45065994,45069801,45064483,45065982,45065085,45068862,45069139,45065117,45069205,45071541,45070490,45069754],"score":133,"text":"I got tired of Claude hallucinating Swift APIs. It does a good job at Python and TypeScript, but ask it about SwiftUI and it&#x27;s basically guessing.<p>The problem? Apple&#x27;s docs are JavaScript-rendered, so when you paste URLs into AI tools, they just see a blank page. Copy-pasting works but... c&#x27;mon.<p>So I built something that converts Apple Developer docs to clean markdown. Just swap developer.apple.com with sosumi.ai in any Apple docs URL and you get AI-readable content.<p>For example:<p>- Before: <a href=\"https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;swift&#x2F;double\" rel=\"nofollow\">https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;swift&#x2F;double</a><p>- After: <a href=\"https:&#x2F;&#x2F;sosumi.ai&#x2F;documentation&#x2F;swift&#x2F;double\" rel=\"nofollow\">https:&#x2F;&#x2F;sosumi.ai&#x2F;documentation&#x2F;swift&#x2F;double</a><p>The site itself is a small Hono app running on Cloudflare Workers. Apple&#x27;s docs are actually available as structured data, but Apple doesn&#x27;t make it obvious how to get it. So what this does is map the URLs, fetch the original JSON, and render as Markdown.<p>It also provides an MCP interface that includes a tool to search the Apple developer website, which is helpful.<p>Anyway, please give this a try and let me know what you think!","time":1756474216,"title":"Show HN: Sosumi.ai – Convert Apple Developer docs to AI-readable Markdown","type":"story","url":"https://sosumi.ai/"}