{"id":15621770,"url":"https://github.com/pirtleshell/lwt-dict.cc","last_synced_at":"2025-10-08T04:57:15.014Z","repository":{"id":91424873,"uuid":"79052522","full_name":"pirtleshell/lwt-dict.cc","owner":"pirtleshell","description":"A Learning With Texts German dictionary plugin for easily using definitions from dict.cc","archived":false,"fork":false,"pushed_at":"2017-01-16T02:30:06.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-19T03:52:42.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pirtleshell.png","metadata":{"files":{"readme":"README.md","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":"2017-01-15T18:55:24.000Z","updated_at":"2020-06-03T15:03:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc582030-c202-4fb6-9949-5f726a48c09c","html_url":"https://github.com/pirtleshell/lwt-dict.cc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pirtleshell/lwt-dict.cc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flwt-dict.cc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flwt-dict.cc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flwt-dict.cc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flwt-dict.cc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pirtleshell","download_url":"https://codeload.github.com/pirtleshell/lwt-dict.cc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flwt-dict.cc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278891747,"owners_count":26063856,"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":"2025-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-10-03T09:51:48.313Z","updated_at":"2025-10-08T04:57:14.949Z","avatar_url":"https://github.com/pirtleshell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lwt-dict.cc\n\n\u003e A [Learning With Texts](https://github.com/lwt-project/lwt) German dictionary plugin for easily using definitions from [dict.cc](https://www.dict.cc/)\n\n## Usage\n\n[Download this repository as a zip](https://github.com/PirtleShell/lwt-dict.cc/archive/master.zip) or clone it:\n\n```sh\n$ git clone https://github.com/PirtleShell/lwt-dict.cc.git\n```\n\nThen place the extracted folder in a folder called `plugins/` in your Learning with Texts installation:\n\n```sh\n$ mkdir $MY_LWT_INSTALLATION/plugins\n$ mv lwt-dict.cc/ $MY_LWT_INSTALLATION/plugins/\n```\n\nWhere `$MY_LWT_INSTALLATION` should be something like `/var/www/html/lwt`.\n\nUnfortunately, the current version (v1.6.1) does not allow local dictionaries. Because of this, **you will have to comment out [lines 151-158 of `js/jq_pgm.js`](https://github.com/lwt-project/lwt/blob/master/js/jq_pgm.js#L151)**. Simply put a `/*` at the beginning of line 151 and a `*/` and the end of line 158. If it still gives you trouble, try cleaning your cache.\n\nNow, when you setup your language, set your dictionary as `plugins/lwt-dict.cc/?s=###`.\n\nTa-daa! Now, much like the standard dictionary that uses Glosbe, you have an easy way to use definitions from dict.cc!\n\n![dict.cc plugin screenshot](https://github.com/PirtleShell/lwt-dict.cc/blob/master/spannend-screenshot.png)\n\nClick the :white_check_mark: and it transfers the selected definition! It also puts the dict.cc subject as a tag for the word. Turn tagging off, by setting `USE_SUBJECT_AS_TAG` to false in `script.js`.\n\n## A note about not breaking any rules\n\nI build this with the full intention of following [dict.cc's Terms of Service](https://www.dict.cc/?s=about%3Afaq#faq16). It states:\n\n\u003e Server-side processing of any kind is not allowed\n\nSo this only processes client-side with javascript.\n\nIt also states:\n\n\u003e the built-in advertisement has to be visible and clickable without restriction of any kind\n\nAlthough no one likes ads, dict.cc is an awesome service that [Paul Hemetsberger](http://www.hemetsberger.com/) provides for free. Rather than grumbling about advertisements, think about it as a donation. He teaches you German, you give him 0.0000001 pennies for looking at something your brain probably tunes out anyway. Sorry not sorry!\n\n## License\n\nThis is by [Robert Pirtle](https://pirtle.xyz). Its license conforms with LWT's and is [The Unlicense](http://choosealicense.com/licenses/unlicense/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirtleshell%2Flwt-dict.cc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpirtleshell%2Flwt-dict.cc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirtleshell%2Flwt-dict.cc/lists"}