Skip to content

A translator web application that leverages OpenAI API model GPT-5 nano for translation

Notifications You must be signed in to change notification settings

PanmaTG/TGTranslate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TGTranslate

TGTranslate README Image

Built with

Static Badge Static Badge Static Badge Visual Studio

Setup (To Run Locally)

Important

  1. Install pre-requisite workload ASP.NET and web development using Visual Studio Installer

    TGTranslate README Image
  1. Clone this repository

    git clone https://github.com/PanmaTG/TGTranslate.git
    cd TGTranslate
  2. Open the TGTranslate.slnx using Visual Studio.

    start TGTranslate.slnx

  1. Navigate to TGTranslate\appsettings.json
  2. Input your OpenAI API key
{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "OpenAI": {
    "ApiKey": "YOUR_OPENAI_API_KEY_HERE" // ← Input your OpenAI API key here.
  },
  "AllowedHosts": "*"
}
  1. Open Developer Terminal (View → Terminal)
  2. Install NuGet package "Newtonsoft.Json" by typing the following in Developer terminal
dotnet add package Newtonsoft.Json --version 13.0.4
  1. Run the project by clicking the Start or Start Debugging button or by pressing F5

About

A translator web application that leverages OpenAI API model GPT-5 nano for translation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors