-
Clone this repository
git clone https://github.com/PanmaTG/TGTranslate.git cd TGTranslate -
Open the
TGTranslate.slnxusing Visual Studio.start TGTranslate.slnx
- Navigate to TGTranslate\appsettings.json
- 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": "*"
}- Open Developer Terminal (View → Terminal)
- Install NuGet package "Newtonsoft.Json" by typing the following in Developer terminal
dotnet add package Newtonsoft.Json --version 13.0.4- Run the project by clicking the Start or Start Debugging button or by pressing F5
Code released under the MIT License
Copyright (c) 2026 Built by @PanmaTG

