Google Translate, Yandex and DeepL frontend with opt-in js
Go to file
gospodin 7c9180f7f1 Merge pull request 'Docker' (#3) from vlnst/translite:Docker into master
Reviewed-on: #3
2024-04-20 20:09:23 +00:00
config Add Docker 2024-04-20 14:42:08 +03:00
pages autogrow textareas if js is enabled 2023-11-18 03:02:31 +03:00
parsers show pronunciation for google 2023-11-14 03:01:34 +03:00
public autogrow textareas if js is enabled 2023-11-18 03:02:31 +03:00
.dockerignore Add Docker 2024-04-20 14:42:08 +03:00
.editorconfig error handling in translate.php 2023-10-07 01:41:54 +03:00
.gitignore Add .gitignore 2024-04-20 14:42:08 +03:00
.phpcs.xml added phpcs config 2023-08-19 23:57:50 +03:00
Dockerfile Add Docker 2024-04-20 14:42:08 +03:00
LICENSE added UNLICENSE and list of instances 2023-07-26 00:52:06 +03:00
README.md Edit README.md 2024-04-20 14:42:08 +03:00
composer.json use php-ext-brotli 2023-10-05 22:44:22 +03:00
docker-compose.yaml.example Add Docker 2024-04-20 14:42:08 +03:00

README.md

TransLite

TransLite is a simple and lightweight frontend for Google Translate, DeepL and Yandex written in PHP

Installation

Manually

You will need these php packages to run Akademik:

  • php
  • php-brotli
  • php-curl
  • php-dom
  • php-fpm
  • php-pecl-apcu
  • php-session

You can run composer install --dry-run and if some php extensions are missing it will tell you what you should install.

If there's no needed extensions in your system package manager, you can either use PECL or composer:

compose install --optimize-autoloader # for production environment

Docker

Copy docker-compose.yaml.example to docker-compose.yaml, edit it to suit your needs and run docker compose up -d.

You will probably need a reverse proxy, I recommend using Caddy since it's easy to configure.

Instances

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

The Unlicense