{"id":17223501,"url":"https://github.com/aichingm/dcc","last_synced_at":"2026-04-29T11:01:31.428Z","repository":{"id":84430378,"uuid":"65072937","full_name":"aichingm/dcc","owner":"aichingm","description":"d[ict.cc ]c[li ]c[lient]","archived":false,"fork":false,"pushed_at":"2021-02-14T15:38:41.000Z","size":78,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T16:25:19.176Z","etag":null,"topics":["cli","dictionary","linux","php","translation","unix"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aichingm.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":"2016-08-06T08:32:24.000Z","updated_at":"2025-02-19T22:56:29.000Z","dependencies_parsed_at":"2023-03-12T22:57:57.658Z","dependency_job_id":null,"html_url":"https://github.com/aichingm/dcc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aichingm/dcc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Fdcc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Fdcc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Fdcc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Fdcc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aichingm","download_url":"https://codeload.github.com/aichingm/dcc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Fdcc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32422532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","dictionary","linux","php","translation","unix"],"created_at":"2024-10-15T04:08:29.603Z","updated_at":"2026-04-29T11:01:31.412Z","avatar_url":"https://github.com/aichingm.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# d[ict.cc ]c[li ]c[lient]\n\ndcc is a commandline tool to translate all the words :star2:.\n\n:exclamation:_***nix instructions only**_ :exclamation:\n\n## Build dcc \n\nTo build dcc clone the git repo and change into it\n\n```shell\ngit clone https://github.com/aichingm/dcc \u0026\u0026 cd dcc\n```\n\n**Done!** dcc is written in php no need to build something.\n\n### That was not the whole truth\n\nIf you want to package dcc you should change the `VERSION` in the dcc.php file to the commit hash of the commit from which you are packaging. This actually helps debugging user related problems!\n\nDo it like they to on the discovery channel :notes::\n\n```bash\n_commit_s=$(git rev-parse --short HEAD) \u0026\u0026 sed -i \"5s/.*/    define(\\\"VERSION\\\", \\\"$_commit_s\\\");/\" \n```\n\n## Run dcc \n\n```bash\nphp dcc.php\n```\n\n### Run it with comfort \n\nMove the file dcc.php to dcc, make it executable and move it to any directory listed in your  `$PATH` variable  (maybe not any, `/usr/local/bin` should work fine ). \n\n```bash\nmv dcc.php dcc \u0026\u0026 chmod +x dcc \u0026\u0026 sudo mv dcc /usr/local/bin\n```\n\n\n\n ## But what does it look like?\n\n![Blush](nice_looks.png)\n\n\n## Make it your own\n\nBesides all the commandline switches you can configure dcc via an `.ini` file. This file has to be located in `~/.config/dcc/` and its name has to be `dcc.ini` \n\n### Creating a default configuration file\n\nCopy the output of `dcc -c` to secret location (`~/.config/dcc/dcc.ini`)\n\n```bash\ndcc -c \u003e ~/.config/dcc/dcc.ini\n```\n\nNow fire up the best editor ever and edit your configuration file:\n\n```bash\nvim ~/.config/dcc/dcc.ini \u0026\u0026 echo vim rules!!1\n```\n\n\n\n### Things you can change\n\n* DEFAULT_FLAGS: a list of flags which should be used on every call to dcc.\n* LANG_FROM: the language which the words are from.\n* LANG_TO: the language you don't know or speak.\n* PAGER: Don't change this if you don't know what a pager is.\n* REVERSE: set REVERSE to true for whatever reason you can find :confounded:\n* PADDING: the amount of PAD_CHARs which will be used to separate the words.\n* LEFT_PADDING: how much spaces do you want on the left side of the terminal?\n* PED_CHAR: the character used to separate the words.\n* RESULTS: how much translations do you want to see at most.\n\n## Examples :lollipop: \n\nExamples are included in to dcc you can find them way deep in the source code or run:\n\n```bash\ndcc -e\n```\n\n _e stands for examples_\n\n## Help I need somebody, HELP...\n\nFor help call 911! Or just run:\n\n```bash\ndcc -h\n```\n\n_Note: don't call 911 they don't know dcc!_\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faichingm%2Fdcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faichingm%2Fdcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faichingm%2Fdcc/lists"}