Commit Graph

86 Commits

Author SHA1 Message Date
0799101da3 feat: add admin panel, Replicate AI translation, and document translation
- Admin panel (/admin) with JWT auth: configure Replicate API token,
  JigsawStack API key, model version, enable/disable AI translation,
  change admin password. Settings persisted in data/settings.json.

- Replicate AI translation: POST /api/translate/replicate uses
  JigsawStack text-translate model via Replicate API. Main page
  switches to client-side AI translation when enabled.

- Document translation tab: supports PDF, DOCX, XLSX, XLS, CSV.
  Excel/Word formatting fully preserved (SheetJS + JSZip XML manipulation).
  PDF uses pdf-parse extraction + pdf-lib reconstruction.
  Column selector UI for tabular data (per-sheet, All/None toggles).

- Updated README with full implementation documentation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 07:43:54 +01:00
David
0190ea5da9 Added instance lingva.lunar.icu [skip ci] (#147) 2023-01-13 17:53:04 +01:00
igna
bf9471ba56 Instances cleanup [skip ci] (#142) 2022-11-02 16:15:27 +01:00
David
d2d405c3e5 Added editorconfig [skip ci] (#141) 2022-10-25 01:10:16 +02:00
David
81fd11ee62 Fix tests typings (#140) 2022-10-21 15:57:53 +02:00
David
6e254e66a0 Update scraper languages & add and remove instances (#138) 2022-10-09 21:36:33 +02:00
David
af24caf962 Added Docker healthcheck and projectsegfau instance (#131) 2022-07-26 14:30:58 +02:00
Nico
5c3abdf4b6 Add Garudalinux' & dr460nf1r3's instances (#129)
* Add Garudalinux' & dr460nf1r3's instance

* [skip ci]

* Add instances to instances.json  [skip ci]
2022-07-26 13:34:46 +02:00
David
1ad5027412 Added instance lingva.opnxng.com [skip ci] (#125) 2022-06-29 00:16:17 +02:00
David
443e98146b Added instance translate.plausibility.cloud (#122) 2022-06-26 21:03:23 +02:00
igna
9073a267b7 Add translate.igna.ooo instance [skip ci] (#115)
* [skip ci] add `translate.igna.ooo`

* [skip ci] add `translate.igna.ooo`
2022-06-16 02:35:12 +02:00
David
2f461b1894 Revert Docker ARM images (#117) 2022-06-16 02:18:10 +02:00
David
c6e81f2be4 Fix Docker ARM images support in CI (#116) 2022-06-16 01:14:46 +02:00
David
0a22d26a98 Add Docker ARM images support in CI (#114) 2022-06-16 00:49:29 +02:00
David
274e7f1a4b Refactor to external scraper and update dependencies (#113) 2022-06-15 23:37:15 +02:00
David
ff1ad202ae Fix translation query overflow (#106) 2022-05-04 21:11:44 +02:00
David
a8ed159bf4 Fix audio being unclickable on textarea focus (#105)
* Fix audio being unclickable on textarea focus

* Small Readme fix
2022-05-04 20:28:59 +02:00
David
6fbf9fac4e Added instance lingva.lunar.icu (#104)
* Added instance lingva.lunar.icu

* Changed hosting provider
2022-05-04 19:44:30 +02:00
m2jest1c
210aa27e49 Added translate.plausibility.cloud [skip ci] (#98)
* added my instance

* updated instances.json
2022-03-06 11:21:34 +01:00
David
16ab855ccc Updated to new dependencies (#95) 2022-02-24 21:33:17 +01:00
David
5856776785 Default languages with env & langcodes typed (#94) 2022-02-24 19:53:31 +01:00
Esmail EL BoB
5e4db73a9f Add lingva.esmailelbob.xyz instance (#86)
* added my instance :)

* Update instances.json

* Fix markdown table formatting

Co-authored-by: David <info@thedaviddelta.com>
2022-02-08 21:28:34 +01:00
David
0d5d9a129e Create JSON file with instance list (#85)
* Create json file with instance list

* Remove trailing slashes
2022-02-07 19:51:59 +01:00
David
6b8ed50251 Add Vercel sponsor banner as environment (#83) 2022-01-24 10:13:26 +01:00
David
929721b3d4 Add datatunnel instance & change Next.js branding (#82) 2022-01-24 00:53:52 +01:00
David
adb90754ea Vercel OSS Sponsorship (#81) 2022-01-23 23:30:36 +01:00
David
260c603bed Add related projects to Readme (#78) 2022-01-19 17:13:43 +01:00
David
5ad055350e Docker Node version to LTS (#65) 2021-11-01 15:54:37 +01:00
David
3f0918edf3 Default dark theme with environment variable (#61)
* Created env variable for setting dark as default theme

* Docker variable simplified
2021-10-24 16:08:35 +02:00
allcontributors[bot]
064ce141cb docs: add TheFrenchGhosty as a contributor for doc (#60)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-10-24 13:51:08 +02:00
TheFrenchGhosty
8e45af1396 Enhance the deployment documentation and add a docker-compose [skip ci] (#55)
* Enhance the deployment documentation and add a docker-compose

* Fix a typo

* Fix various spelling mistake

* Apply the requested change
2021-10-24 13:49:40 +02:00
TheFrenchGhosty
420a7485a1 Add lingva.pussthecat.org [skip ci] (#53)
* [skip ci] Add lingva.pussthecat.org
* [skip ci] Update the hosting provider
2021-10-17 18:51:29 +02:00
David
80a925ab4d Save languages to LocalStorage (#52)
* Saving & restoring implemented
2021-10-10 21:45:14 +02:00
David
126ded01fd Added PORT param to start script (#50) 2021-10-03 20:51:36 +02:00
in the moon
f00703d52b Update tixte.gifts instance (#48)
* remove tixte.gifts

* Update README.md
2021-09-09 16:48:27 +02:00
David
15f440e698 Docker image autodeploy using Travis (#47)
* Docker travis initial test

* Added build command

* Final version
2021-09-05 17:21:51 +02:00
David
4df0d40dcf Official Docker image (#46)
* Initial Dockerfile

* Docker added to Readme

* Added Docker to Travis
2021-09-05 16:44:05 +02:00
igna
1adbe08056 add tixte.gifts instance [skip ci] (#45) 2021-09-05 14:09:58 +02:00
David
0f6ad1a978 Make localStorage usable while disabling cookies (#44) 2021-09-04 18:58:26 +02:00
David
870ec2db64 Add language endpoint to developer APIs (#41)
* Added languages endpoint and its tests
2021-08-30 21:35:22 +02:00
allcontributors[bot]
1b6c324560 docs: add mhmdanas as a contributor for code (#39)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-08-28 16:14:12 +02:00
Mohammed Anas
6f6ddfdda0 Use https for Google Translate URL (#35)
* Use https for Google Translate text-to-speech URL

* Update translate.ts
2021-08-28 16:08:34 +02:00
David
47aa0c3b0e Update dependencies again (#37)
* Initial Next update to canary

* Dependencies updated

* Dependencies updated for real
2021-08-28 15:55:41 +02:00
David
e4ad09578f Revert "Update dependencies & URL slash bugfix (#36)" (#38)
This reverts commit c244c007e1.
2021-08-28 15:55:21 +02:00
David
c244c007e1 Update dependencies & URL slash bugfix (#36)
* Initial Next update to canary

* Dependencies updated
2021-08-28 15:36:21 +02:00
David
5870e4b096 Add manual translate as default (#33)
* Added translate and switch auto buttons

* Tests updated

* Added hotkey & improved buttons visually
2021-07-12 17:06:27 +02:00
David
f537dff588 Hide Grammarly extension button (#29)
Fix TTS icon being hidden by Grammarly extension
2021-06-17 22:51:10 +02:00
David
bdaced0457 Dependencies updated & small enhancements (#27)
* Dependencies updated and imports shortened

* Head tags refactored

* Final tweaks
2021-06-12 22:44:56 +02:00
alefvanoon
030de63b2a Fix alefvanoon typo [skip ci] (#26)
Fix https://translate.alefvanoon.xyz
2021-06-11 18:27:47 +02:00
David
26f44782f7 CI Cypress fix (#21)
* Cypress config added for PRs

* Badge added

* Cypress config fix
2021-05-08 02:01:51 +02:00