{"id":13768833,"url":"https://github.com/dennis-tra/alfred-dict.cc-workflow","last_synced_at":"2025-10-24T21:22:51.420Z","repository":{"id":39380243,"uuid":"66460263","full_name":"dennis-tra/alfred-dict.cc-workflow","owner":"dennis-tra","description":"🌍 Alfred 4/5 workflow to get translations from dict.cc","archived":false,"fork":false,"pushed_at":"2024-06-06T18:18:07.000Z","size":18747,"stargazers_count":137,"open_issues_count":6,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-19T09:07:29.722Z","etag":null,"topics":["alfred","dict","german","hacktoberfest","translation","workflow"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dennis-tra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":"dennis-tra"}},"created_at":"2016-08-24T11:59:16.000Z","updated_at":"2024-08-20T14:03:33.000Z","dependencies_parsed_at":"2022-09-13T00:32:20.260Z","dependency_job_id":"dbad91f2-f2bb-488d-ad23-3d349212d86a","html_url":"https://github.com/dennis-tra/alfred-dict.cc-workflow","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennis-tra%2Falfred-dict.cc-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennis-tra%2Falfred-dict.cc-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennis-tra%2Falfred-dict.cc-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennis-tra%2Falfred-dict.cc-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dennis-tra","download_url":"https://codeload.github.com/dennis-tra/alfred-dict.cc-workflow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231395801,"owners_count":18370471,"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","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":["alfred","dict","german","hacktoberfest","translation","workflow"],"created_at":"2024-08-03T16:01:26.459Z","updated_at":"2025-10-24T21:22:51.336Z","avatar_url":"https://github.com/dennis-tra.png","language":"Go","funding_links":["https://github.com/sponsors/dennis-tra","https://www.buymeacoffee.com/dennistra"],"categories":["Translation"],"sub_categories":[],"readme":"# Alfred dict.cc workflow\n\n[![Github All Releases](https://img.shields.io/github/downloads/dennis-tra/alfred-dict.cc-workflow/total.svg)](https://github.com/dennis-tra/alfred-dict.cc-workflow/releases)\n[![Maintainability](https://api.codeclimate.com/v1/badges/f55023ec0d7e998427c9/maintainability)](https://codeclimate.com/github/dennis-tra/alfred-dict.cc-workflow/maintainability)\n\n[Alfred](https://www.alfredapp.com/) workflow to get **bidirectional** translations from [dict.cc](http//dict.cc).\n\nIf you like the workflow give this repo a star ⭐\n\n![Example animation](./assets/alfred-dict.cc-example.gif)\n\nAnd if it saves you time you may consider to\n\n\u003ca href=\"https://www.buymeacoffee.com/dennistra\" target=\"__blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\n## Table of Contents\n\n- [Table of Contents](#table-of-contents)\n- [Download](#download)\n- [Installation](#installation)\n  - [Permissions](#permissions)\n  - [Why do I need to do that?](#why-do-i-need-to-do-that)\n- [Supported Languages](#supported-languages)\n- [Command](#command)\n- [Default Language Pair](#default-language-pair)\n- [Development](#development)\n- [Maintainers](#maintainers)\n- [Contributing](#contributing)\n- [Support](#support)\n- [Other Projects](#other-projects)\n- [License](#license)\n\n## Download\n\nClick [here](https://github.com/dennis-tra/alfred-dict.cc-workflow/releases/tag/v2.1.1) and download `Dict.cc.alfredworkflow`.\n\n## Installation\n\nJust double click the `Dict.cc.alfredworkflow` file and Alfred should pick it up automatically.\n\n### Permissions\n\nSince [Catalina](https://developer.apple.com/news/?id=10032019a), you need to tell MacOS that it's okay to run the included binaries. For that, you have the following two options:\n\n\u003cdetails\u003e\n\u003csummary\u003eGive execute permissions to the included binaries\u003c/summary\u003e\n\nOpen the workflow directory\n\n\u003cimg src=\"./assets/open_workflow.png\" alt=\"Open workflow directory\"/\u003e\n\nRight click on the `dictcc_*` binary for your platform (Intel Macs `dictcc_amd64`, M1 Macs `dictcc_arm64`) and select `Open` in the pop up.\n\n\u003cimg src=\"./assets/open_binary.png\" alt=\"Open dictcc binary\"/\u003e\n\nThis will open a Terminal window and you should see an error message. However, you have now indicated to MacOS that it's okay to run the binary.\n\nClose all windows and you're good to go.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eGive execute permissions to Alfred in general\u003c/summary\u003e\n\nBeware that the following configuration applies to all workflows you have currently installed and all future ones.\n\n\u003cimg src=\"./assets/security_and_privacy.png\" alt=\"Security \u0026 Privacy Setup\"/\u003e\n\n\u003c/details\u003e\n\n### Why do I need to do that?\n\nSince [MacOS Catalina](https://developer.apple.com/news/?id=10032019a) Apple does not allow running arbitrary binaries unless they are notarized. Developers can notarize their binaries if they enroll for the Apple Developer Program which is around $100 per year. Since I am not enrolled, I can't notarize the binaries, and we need to live with the above inconvenience :/\n\n## Supported Languages\n\nEnglish, German, French, Swedish, Spanish, Bulgarian, Romanian, Italian, Portuguese, Russian\n\n## Command\n\n`dict lang1 lang2 word_to_translate`\n\nYou can omit `lang1` and `lang2` to just translate between german and english (both directions!). [See below](#default-language-pair) to customise the default language pair.\n\nPossible values for `lang1` and `lang2`:\n\n| Abbreviation | Language   |\n| ------------ | ---------- |\n| en, eng      | english    |\n| de, ger      | german     |\n| fr, fra      | french     |\n| sv, swe      | swedish    |\n| es, esp      | spanish    |\n| bg, bul      | bulgarian  |\n| ro, rom      | romanian   |\n| it, ita      | italian    |\n| pt, por      | portuguese |\n| ru, rus      | russian    |\n\n## Default Language Pair\n\nYou may not want the translations to be between english and german by default. To change this behaviour open the Alfred preferences, go to `Workflows`, select `Dict.cc` and click on the `Configure workflow and variables` button in the top right corner.\n\n![Default language setup step 1](./assets/default_language_step_1.png)\n\nYou should find the following two workflow environment variables:\n\n1. `from_language`\n2. `to_language`\n\n![Default language setup step 2](./assets/default_language_step_2.png)\n\nAssign both variables one of the above abbreviations (either the two letter or three letter form). In the screenshot above the configuration says\n\n- `from_language` - `fra`\n- `to_language` - `en`\n\nto translate between french and english by default.\n\n**Note:** Although the variables are named `from_` and `to_` the translations will be bidirectional, so the order shouldn't really matter.\n\n## Development\n\nBuild the workflow:\n\n```shell\nGOOS=darwin GOARCH=arm64 go build -o dictcc_arm64 main.go\nGOOS=darwin GOARCH=amd64 go build -o dictcc_amd64 main.go\n```\n\nMove both binaries to the workflow folder. For development I'd recommend symlinking them.\n\n## Maintainers\n\n[@dennis-tra](https://github.com/dennis-tra).\n\n## Contributing\n\nFeel free to dive in! [Open an issue](https://github.com/dennis-tra/pcp/issues/new) or submit PRs.\n\n## Support\n\nIt would really make my day if you supported this project through [Buy Me A Coffee](https://www.buymeacoffee.com/dennistra).\n\n## Other Projects\n\nYou may be interested in one of my other projects:\n\n* [`nebula`](https://github.com/dennis-tra/nebula-crawler) - A libp2p DHT crawler that also monitors the liveness and availability of peers. 🏆 Winner of the [DI2F Workshop Hackathon](https://research.protocol.ai/blog/2021/decentralising-the-internet-with-ipfs-and-filecoin-di2f-a-report-from-the-trenches) 🏆\n* [`pcp`](https://github.com/dennis-tra/pcp) - Command line peer-to-peer data transfer tool based on [libp2p](https://github.com/libp2p/go-libp2p).\n* [`image-stego`](https://github.com/dennis-tra/image-stego) - A novel way to image manipulation detection. Steganography-based image integrity - Merkle tree nodes embedded into image chunks so that each chunk's integrity can be verified on its own.\n\n\n## License\n\n[Apache License Version 2.0](LICENSE) © Dennis Trautwein\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennis-tra%2Falfred-dict.cc-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdennis-tra%2Falfred-dict.cc-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennis-tra%2Falfred-dict.cc-workflow/lists"}