Simple translation frontend, forked from https://git.sr.ht/~yerinalexey/gtranslate.
Go to file
Alexey Yerin 9c754f8fea Refactor CSS, small style updates 2021-01-18 21:59:14 +03:00
static Refactor CSS, small style updates 2021-01-18 21:59:14 +03:00
templates Refactor CSS, small style updates 2021-01-18 21:59:14 +03:00
.gitignore Initial 2021-01-17 23:19:52 +03:00
LICENSE Initial 2021-01-17 23:19:52 +03:00
README.md Wrap command in installation instructions 2021-01-18 20:05:13 +03:00
api.go Initial 2021-01-17 23:19:52 +03:00
go.mod Initial 2021-01-17 23:19:52 +03:00
go.sum Initial 2021-01-17 23:19:52 +03:00
main.go Initial 2021-01-17 23:19:52 +03:00
translate.go Initial 2021-01-17 23:19:52 +03:00

README.md

gtranslate

Better front-end for Google Translate that doesn't track you and works without JavaScript.

Installation

git clone https://git.sr.ht/~yerinalexey/gtranslate
cd gtranslate

go build

Then run the server with

./gtranslate

If you want to use a different port:

./gtranslate -b :3000 # will run on port 3000

Note: if you're running it outside of development environment, you should pass --template-dir and --static-dir arguments pointing to templates and static directories:

./gtranslate \
  --template-dir /usr/share/webapps/gtranslate/templates \
  --static-dir /usr/share/webapps/gtranslate/static