Simple translation frontend, forked from https://git.sr.ht/~yerinalexey/gtranslate.
4de54045cc | ||
---|---|---|
static | ||
templates | ||
.gitignore | ||
LICENSE | ||
README.md | ||
api.go | ||
go.mod | ||
go.sum | ||
main.go | ||
translate.go |
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
TODO
- Proper language selector
- Change
User-Agent
- Dark theme