Library of Congress script transliterator.

scossu 97f471fe5f Add dummy email address for startup. před 6 měsíci
doc a6e774f4bc Test feedback form. před 6 měsíci
ext dae54334a7 Add Arabic transliteration via 3d party. před 1 rokem
legacy fe42e40f4e Korean (#48) před 7 měsíci
scriptshifter a6e774f4bc Test feedback form. před 6 měsíci
tests b49b58337b Chinese (#57) před 6 měsíci
.gitignore 45beb9b314 Ignore .bas files. před 1 rokem
.gitmodules dae54334a7 Add Arabic transliteration via 3d party. před 1 rokem
Dockerfile 97f471fe5f Add dummy email address for startup. před 6 měsíci
LICENSE 20cb85dad1 Initial commit před 1 rokem
NOTES.md 58cd0be0fd Rebrand to ScriptShifter. před 1 rokem
README.md a6e774f4bc Test feedback form. před 6 měsíci
TODO.md dae54334a7 Add Arabic transliteration via 3d party. před 1 rokem
entrypoint.sh 58cd0be0fd Rebrand to ScriptShifter. před 1 rokem
requirements.txt acf4bf7b3d Flask and Docker boilerplate. před 1 rokem
uwsgi.ini acf4bf7b3d Flask and Docker boilerplate. před 1 rokem
wsgi.py 58cd0be0fd Rebrand to ScriptShifter. před 1 rokem

README.md

ScriptShifter

REST API service to convert non-Latin scripts to Latin, and vice versa.

Run on Docker

Build container in current dir:

docker build -t scriptshifter:latest .

Start container:

docker run -e TXL_FLASK_SECRET=changeme -p 8000:8000 scriptshifter:latest

For running in development mode, add -e FLASK_ENV=development to the options.

Environment variables

The following environment variables are available for modification:

TXL_EMAIL_FROM: Email address sending the feedback form on behalf of users.

TXL_EMAIL_TO: Recipients of the feedback form.

TXL_FLASK_SECRET: Seed for web server security. Set to a random-generated string in a production environment.

TXL_LOGLEVEL: Logging level. Use Python notation. The default is WARN.

TXL_SMTP_HOST: SMTP host to send feedback messages through. Defaults to localhost.

TXL_SMTP_PORT: Port of the SMTP server. Defaults to 1025.

Web UI

/ renders a simple HTML form to test the transliteration service.

Contributing

See the contributing guide.

Further documentation

See the doc folder for additional documentation.