~metalune/simplytranslate_web

REPOSITORY MOVED TO CODEBERG https://codeberg.org/SimpleWeb/SimplyTranslate-Web
95877aa4 — metalune 4 months ago
Replace instances of simplytranslate_web with SimplyTranslate-Web
71dc3838 — metalune 4 months ago
Replace Link to sr.ht with codeberg.org link
ba68e248 — metalune 4 months ago
Add Simplytranslate_engines to requirements.txt

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~metalune/simplytranslate_web
read/write
git@git.sr.ht:~metalune/simplytranslate_web

You can also use your local clone with git send-email.

#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

  1. Setup git-email: https://git-send-email.io
  2. Clone the repo you want: git clone https://codeberg.org/SimpleWeb/SimplyTranslate-Web
  3. Branch it: git checkout -b my-cool-changes
  4. Add your changes: git add . and commit them git commit -m "My Cool Changes"
  5. Set mail-to: git config sendemail.to '~metalune/simplytranslate-devel@lists.sr.ht'
  6. Send your commit: git send-email master

#API

Documentation

#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.