|
1 month ago | |
---|---|---|
static | 2 months ago | |
templates | 2 months ago | |
LICENSE | 1 year ago | |
README.md | 1 month ago | |
api.md | 7 months ago | |
config.conf.template | 1 month ago | |
main.py | 1 month ago | |
requirements.txt | 1 month ago |
README.md
SimplyTranslate Web
This is a simple web interface for SimplyTranslate
List of Instances
You can find a list of instances here: SimplyTranslate Project Page
If you want to integrate a list of instances in your project, you can use this endpoint to always have an up-to-date list of all instances known to us: https://simple-web.org/instances/simplytranslate
If you want to add your own instance here, please either send me an email directly to simpleweb@metalune.xyz or tell us about it in our IRC channel #simple-web on Libera.Chat
How to install/use
Clone the repository
git clone https://codeberg.org/SimpleWeb/SimplyTranslate-Web
cd SimplyTranslate-Web
Install the dependencies
pip install -r requirements.txt
Run the main.py
# Directly
python3 main.py
# Using uvicorn
uvicorn main:app --port 5000
Configuration
You can configure SimplyTranslate by editing these files: Either this in the project directory:
config.conf
Shared Between all supported SimplyTranslate Frontends (like SimplyTranslate-Gemini):
/etc/simplytranslate/shared.conf
Configuration file specifically for this frontend:
/etc/simplytranslate/web.conf
Or if you want to specify your own config file path you can just pass the argument -c
or --config
How to contribute
- Setup git-email: https://git-send-email.io
- Clone the repo you want:
git clone https://codeberg.org/SimpleWeb/SimplyTranslate-Web
- Branch it:
git checkout -b my-cool-changes
- Add your changes:
git add .
and commit themgit commit -m "My Cool Changes"
- Set mail-to:
git config sendemail.to '~metalune/simplytranslate-devel@lists.sr.ht'
- Send your commit:
git send-email master
API
Other projects like this
Contact
To get in contact with the developers, visit us on the #simple-web IRC channel on Libera.Chat
License
SimplyTranslate-Web is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
SimplyTranslate-Web is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.