Giter Site home page Giter Site logo

fmxexpress / ai-code-translator Goto Github PK

View Code? Open in Web Editor NEW
42.0 5.0 5.0 1.33 MB

Translate source code from languages like C++, Python, and C# to Delphi using ChatGPT.

Home Page: https://www.fmxexpress.com/

License: MIT License

Pascal 100.00%
ai chatgpt chatgpt-api chatgpt-app code-generation code-translation delphi object-pascal linux macos openai windows

ai-code-translator's Introduction

AI Code Translator

Translate source code from languages like C++, Python, and C# to Delphi using ChatGPT.

The AI Code Translator Desktop client is a powerful UI for creating translating and converting code between programming languages. Comes with the ability to verify Delphi and C++ code by compiling it and then reporting errors back to ChatGPT.

  • Delphi Object Pascal
  • C++
  • Javascript
  • TypeScript
  • Python
  • Go
  • Rust
  • C
  • C#
  • Visual Basic
  • Visual Basic .NET
  • PHP
  • Ruby
  • Swift
  • Dart
  • Kotlin
  • R
  • Objective-C
  • Perl
  • Scala
  • Haskell
  • Lua
  • Groovy
  • Elixer
  • Clojure
  • Lisp
  • Julia
  • Fortran
  • COBOL
  • Pascal
  • Free Pascal

Built with Delphi using the FireMonkey framework this client works on Windows, macOS, and Linux (and maybe Android+iOS) with a single codebase and single UI. At the moment it is specifically set up for Windows.

It features a REST integration with OpenAI.com and ChatGPT for providing source code translation functionality within the client. You need to sign up for an API key to access that functionality. Replicate models can be run in the cloud or locally via docker.

docker run -d -p 5000:5000 --gpus=all r8.im/replicate/vicuna-13b@sha256:6282abe6a492de4145d7bb601023762212f9ddbbe78278bd6771c8b3b2f2a13b
curl http://localhost:5000/predictions -X POST -H "Content-Type: application/json" \
  -d '{"input": {
    "prompt": "...",
    "max_length": "...",
    "temperature": "...",
    "top_p": "...",
    "repetition_penalty": "...",
    "seed": "...",
    "debug": "..."
  }}'

AI Code Translator Desktop client Screeshot on Windows

AI Code Translator Desktop client on Windows

Other Delphi AI clients:

Stable Diffusion Desktop Client

AI Playground

Song Writer AI

Stable Diffusion Text To Image Prompts

Generative AI Prompts

Dreambooth Desktop Client

Text To Vector Desktop Client

ai-code-translator's People

Contributors

fmxexpress avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ai-code-translator's Issues

Too many request

Hi, I think that's application would be excellent for me but after I enter API key I've got "Too many request" error.
I don't know what's goin' on.
Could you help me a little?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.