{"id":21576433,"url":"https://github.com/jl2/cl-libre-translate","last_synced_at":"2026-01-04T16:04:32.029Z","repository":{"id":259157905,"uuid":"867503669","full_name":"jl2/cl-libre-translate","owner":"jl2","description":"Common Lisp package for human language translation using Libre Translate.","archived":false,"fork":false,"pushed_at":"2025-09-07T17:54:44.000Z","size":55,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-07T19:27:10.196Z","etag":null,"topics":["languages","libre","lisp","translate","translation"],"latest_commit_sha":null,"homepage":"","language":"Common Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jl2.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-04T07:32:06.000Z","updated_at":"2025-09-07T17:54:47.000Z","dependencies_parsed_at":"2024-10-23T05:24:33.742Z","dependency_job_id":null,"html_url":"https://github.com/jl2/cl-libre-translate","commit_stats":null,"previous_names":["jl2/cl-libre-translate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jl2/cl-libre-translate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jl2%2Fcl-libre-translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jl2%2Fcl-libre-translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jl2%2Fcl-libre-translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jl2%2Fcl-libre-translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jl2","download_url":"https://codeload.github.com/jl2/cl-libre-translate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jl2%2Fcl-libre-translate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28205741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2026-01-04T02:00:06.065Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["languages","libre","lisp","translate","translation"],"created_at":"2024-11-24T12:16:26.419Z","updated_at":"2026-01-04T16:04:32.015Z","avatar_url":"https://github.com/jl2.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n* cl-libre-translate\n\n** About\nAn easy to use Common Lisp binding for the Libre Translate service.\n\n** Using\n\nThe easiest way to use this package is with the Docker configuration from [[https://github.com/LibreTranslate/LibreTranslate][Libre Translate]].\n\nClone the Libre Translate repo and start the service using:\n\n#+begin_src shell\n  ./run.sh --port 5001\n#+end_src\n\nOnce the service has downloaded all of the language files, use the library to translate text:\n#+begin_src lisp :results value\n    (ql:quickload :cl-libre-translate)\n    (use-package :st-json)\n    (let ((result (lt:translate \"This is a test!\" :source \"en\" :target \"zt\")))\n      (getjso \"translatedText\" result))\n#+end_src\n\n#+RESULTS:\n: 有考驗了!\n\nTo see the supported languages:\n#+begin_src lisp :results output\n  (ql:quickload :cl-libre-translate)\n  (use-package :st-json)\n  (lt:show-languages)\n#+end_src\n\n#+RESULTS:\n#+begin_example\nTo load \"cl-libre-translate\":\n  Load 1 ASDF system:\n    cl-libre-translate\n; Loading \"cl-libre-translate\"\n\nUrdu (ur)\nUkranian (uk)\nTurkish (tr)\nThai (th)\nTagalog (tl)\nSwedish (sv)\nSpanish (es)\nSlovenian (sl)\nSlovak (sk)\nRussian (ru)\nRomanian (ro)\nPortuguese (pt)\nPolish (pl)\nPersian (fa)\nNorwegian (nb)\nMalay (ms)\nLithuanian (lt)\nLatvian (lv)\nKorean (ko)\nJapanese (ja)\nItalian (it)\nIrish (ga)\nIndonesian (id)\nHungarian (hu)\nHindi (hi)\nHebrew (he)\nGreek (el)\nGerman (de)\nGalician (gl)\nFrench (fr)\nFinnish (fi)\nEstonian (et)\nEsperanto (eo)\nDutch (nl)\nDanish (da)\nCzech (cs)\nChinese (traditional) (zt)\nChinese (zh)\nCatalan (ca)\nBulgarian (bg)\nBengali (bn)\nBasque (eu)\nAzerbaijani (az)\nArabic (ar)\nAlbanian (sq)\nEnglish (en)\n#+end_example\n\n\nParameters (and a config file) can be used to configure the Libre Translate server and API keys.\n#+begin_src lisp :results value\n  (ql:quickload :cl-libre-translate)\n  (use-package :st-json)\n  (let* ((lt:*libre-translate-url* \"https://libretranslate.com\")\n         (lt:*api-key* \"Some API key\")\n         (result (lt:translate \"This is a test!\" :source \"en\" :target \"es\")))\n    (getjso \"translatedText\" result))\n#+end_src\n\n#+RESULTS:\n: ¡Esto es una prueba!\n\n** Config file\nConfig settings can also be read from a JSON file pointed to by the ~lt:*config-file*~ parameter.  The\ndefault location is in the package directory.  The default configuration is shown below.\n\n*** Example Config\n#+begin_src javascript\n  {\n      \"api-key\": \"\",\n      \"url\": \"http://localhost:5001\",\n      \"default-target\": \"es\",\n      \"default-source\": \"auto\"\n  }\n#+end_src\n\n** API Keys Untested\nSo far I've only used this package against a local Docker service, without API keys.  I have little use\nfor the API keys right now, so I don't plan to test them.  If they are not working, please let me know,\nand I'll try to fix them.  A PR fixing the problem would also be welcome.\n\n** License\nISC\n\nCopyright (c) 2024 Jeremiah LaRocco \u003cjeremiah_larocco@fastmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjl2%2Fcl-libre-translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjl2%2Fcl-libre-translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjl2%2Fcl-libre-translate/lists"}