2021-01-17 20:09:57 +00:00
|
|
|
# gtranslate
|
|
|
|
Better front-end for Google Translate that doesn't track you and works
|
|
|
|
without JavaScript.
|
2021-01-17 20:49:27 +00:00
|
|
|
|
|
|
|
# Installation
|
|
|
|
```sh
|
|
|
|
git clone https://git.sr.ht/~yerinalexey/gtranslate
|
|
|
|
cd gtranslate
|
|
|
|
|
|
|
|
go build
|
|
|
|
```
|
|
|
|
|
|
|
|
Then run the server with
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./gtranslate
|
|
|
|
```
|
|
|
|
|
|
|
|
If you want to use a different port:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./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:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./gtranslate --template-dir /usr/share/webapps/gtranslate/templates --static-dir /usr/share/webapps/gtranslate/static
|
|
|
|
```
|