SucceedAI / ai-proxy-server

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

Home Page:https://github.com/SucceedAI/ai-proxy-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI Proxy Server

Simple backend proxy API to handle requests between a client app and AI 3rd-party provider APIs (such as OpenAI or 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.

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

Hi there! ツ I'm Pierre-Henry Soria. A super passionate & enthusiastic problem-solver / senior software engineer living in Sydney 🦘 Also a true cheese πŸ§€, ristretto β˜•οΈ, and dark chocolate lover! πŸ˜‹

Feel free to connect and reach me through my LinkedIn Profile πŸš€

License

Distributed under the MIT license. Happy coding! πŸ”₯

About

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

https://github.com/SucceedAI/ai-proxy-server

License:MIT License


Languages

Language:TypeScript 100.0%