{"repo":"PicoMLX/PicoAIProxy","free":true,"listed":false,"github":"https://github.com/PicoMLX/PicoAIProxy","clone":"git clone https://github.com/PicoMLX/PicoAIProxy.git","description":"Reverse proxy for OpenAI and Anthropic written in server-side Swift","language":"Swift","stars":153,"topics":["ios","macos","openai","openai-api","server-side-swift","swift","anthropic","anthropic-ai","anthropic-claude"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Pico AI Proxy Introduction Pico AI Proxy is a reverse proxy created specifically for iOS, macOS, iPadOS, and VisionOS developers. Pico AI Proxy was previously called SwiftOpenAIProxy. Highlights - Prevents hackers from stealing your API keys - Makes sure every user has a in-app subscription by validating App Store store receipts using Apple's App Store Server Library - Accepts the standard OpenAI Chat API your chat app already uses, so no changes need to be made to your client app - Supports multiple LLM providers such as OpenAI and Anthropic (more to come, stay tuned). PicoProxy automatically converts OpenAI Chat API calls to the different providers - One click install on Railway and can be installed manually on many other hosting providers. See How to Deploy PicoProxy is written in server-side Swift and uses HummingBird for its HTTP-server. Background In December 2023, I faced a significant hack when my OpenAI key was compromised. They quickly used up my entire $2,500 monthly limit, resulting in an unexpected bill from OpenAI. This incident also forced me to take my app, Pico, offline, causing me to miss the lucrative Christmas sales period. As a response to this incident, I developed Pico AI Server, the first OpenAI proxy created in Server-side Swift. This tool is especially convenient for Swift developers, as it allows easy customization to meet their specific requirements. Pico AI Proxy is designed to be compatible with any existing OpenAI library. It works seamlessly wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/PicoMLX","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PicoMLX/PicoAIProxy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}