Skip to content

Simple backend proxy API to handle requests between your macOS SwiftUI app and the Mistral AI API (or another third-party AI API)

License

Notifications You must be signed in to change notification settings

SucceedAI/ai-proxy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SucceedAI: An AI Proxy API that Securely Serves Client Applications

SucceedAI API is a proxy backend API that securely handles requests between a client app and AI 3rd-party provider APIs (such as OpenAI, MistralAI, and Anthropic's Claude).

At the moment, it includes the following AI APIs 🚀

  • OpenAI
  • Mistral AI
  • Claude 3 (Anthropic)

Get Started

  1. npm install to install the dependencies.
  2. npm run dev for having nodemon running to the server restarting automatically on file changes.
  3. Rename .env.dist to .env and edit the details in there.

Other Commands

  • npm run start - start as standard mode the server (without nodemon). Server doesn't restart on file changes.
  • npm run prod - more optimized for a production environment. This command will first run npm run build and then use node to execute the JavaScript compiled file.
  • npm run build - only to compile the TS files into ones.

Utility

  • npm run prettier:check– check any formatting/indentation errors.
  • npm run prettier:fix – fix any formatting/indentation errors.

Author

Pierre-Henry Soria

Made with ❤️ by Pierre-Henry Soria. A super passionate & enthusiastic Problem-Solver / Senior Software Engineer. Also a true cheese 🧀, ristretto ☕️, and dark chocolate lover! 😋

@phenrysay pH-7 YouTube Video

About the Project

Succeed AI is part of the challenge #AI-Free-Projects, a group of 7 artificial intelligence projects I have engaged to open source and transparently release on GitHub / YouTube with at least 20-hour/week commitment. Hope you enjoy 🤗

Feel free to connect, and reach me at my LinkedIn Profile 🚀

License

Distributed under MIT license 🎉 Wish you happy, happy coding! 🤠