- PHP 91.1%
- CSS 5.2%
- Dockerfile 2.3%
- JavaScript 1.4%
| .forgejo/workflows | ||
| ansible | ||
| config | ||
| pages | ||
| parsers | ||
| public | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .phpcs.xml | ||
| compose.example.yaml | ||
| composer.json | ||
| Dockerfile | ||
| instances.json | ||
| LICENSE | ||
| README.md | ||
TransLite
TransLite is a simple and lightweight frontend for Google Translate, DeepL, Yandex and DDG Translate written in PHP
Installation
Manually
You will need these php packages to run TransLite:
- 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 compose.example.yaml to compose.yaml, edit it to suit your needs and run docker compose up -d.
If an image is broken, you can use the tags linked to commits to revert to previous versions. This allows you to restore a working image while we address the issue.
Instances
- https://tl.bloat.cat
- https://tl2.bloat.cat
- https://tl.dc09.xyz
- https://tl.maid.zone
- https://t.opnxng.com
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.