{"id":42744504,"url":"https://github.com/zlargon/voc","last_synced_at":"2026-01-29T19:09:37.876Z","repository":{"id":57393611,"uuid":"46920232","full_name":"zlargon/voc","owner":"zlargon","description":"Download and play English vocabulary's audio via command line.","archived":false,"fork":false,"pushed_at":"2020-10-01T10:17:06.000Z","size":1398,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-01T06:02:01.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/voc-cli","language":"JavaScript","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/zlargon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-26T10:33:36.000Z","updated_at":"2021-08-14T14:19:11.000Z","dependencies_parsed_at":"2022-09-26T16:51:12.497Z","dependency_job_id":null,"html_url":"https://github.com/zlargon/voc","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/zlargon/voc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlargon%2Fvoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlargon%2Fvoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlargon%2Fvoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlargon%2Fvoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zlargon","download_url":"https://codeload.github.com/zlargon/voc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlargon%2Fvoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28882763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"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":[],"created_at":"2026-01-29T19:09:37.320Z","updated_at":"2026-01-29T19:09:37.868Z","avatar_url":"https://github.com/zlargon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# voc\n\n[![][npm-img]][npm-url]\n\n[![][dependency-img]][dependency-url]\n[![][dependency-dev-img]][dependency-dev-url]\n\n[![][travis-img]][travis-url]\n[![][appveyor-img]][appveyor-url]\n[![][coverage-img]][coverage-url]\n\n\u003e Download and play English vocabulary's audio via command line.\n\n\u003e The audio will be downloaded to directory `~/vocabulary` by default, and played by audio player command line.\n\nDictionary:\n\n - [Webster](http://www.merriam-webster.com/)\n - [Collins](http://www.collinsdictionary.com/)\n - [Yahoo](http://tw.dictionary.search.yahoo.com)\n - [The Free Dictionary](http://www.thefreedictionary.com/)\n\nText-To-Speech:\n\n - [Google](https://translate.google.com/)\n - [iSpeech](http://www.ispeech.org/)\n - [Voice RSS](http://www.voicerss.org/)\n\n## Change Log\n\nPlease see [CHANGELOG](https://github.com/zlargon/voc/blob/master/CHANGELOG.md).\n\n## Installation\n\n```\n$ npm install -g voc-cli\n```\n\nor\n\n```\n$ git clone https://github.com/zlargon/voc.git\n$ cd voc/\n$ npm link\n```\n\n## Usage\n\n```\nUsage: voc \u003cwords...\u003e\n\nOptions:\n\n  -h, --help         output usage information\n  -V, --version      output the version number\n  -w, --webster      force download audio from webster\n  -y, --yahoo        force download audio from yahoo\n  -f, --freedic      force download audio from freedictionary\n  -c, --collins      force download audio from collins\n  -g, --google       force download audio from google\n  -i, --ispeech      force download audio from ispeech\n  -v, --voicerss     force download audio from voicerss\n  -a, --audio \u003ccli\u003e  the command line to play .mp3 audio.\n  -d, --dir \u003cpath\u003e   set the download directory. set defaults to '~/vocabulary'\n  -l, --list         list all the configuration\n  -r, --reset        reset configuration to default\n```\n\n## Example\n\n```bash\n$ voc hello              # download hello.mp3\n$ voc hello world        # download both hello.mp3, world.mp3\n$ voc hello_world -g     # download hello_world.mp3 from google service\n$ voc \"Hello World\" -i   # download hello_world.mp3 from ispeech service\n```\n\n## Audio Player Command Line\n\n* __MAC OSX :__ `afplay`\n\n  https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/afplay.1.html\n\n  - `afplay` is build-in command line on macOS; you don't have to do anything for it.\n\n* __UNIX :__ `mpg123`\n\n  http://www.mpg123.de/\n\n```bash\n$ sudo apt-get install mpg123\n```\n\n* __Windows :__ `dlc`\n\n  http://dlcplayer.jimdo.com/\n\n  - `dlc` is build-in now, so you don't have to install command line by self.\n  - You still can download dlcplayer from [here](https://github.com/zlargon/voc/raw/master/dlcplayer.zip) if you want.\n\n## Configuration\n\n```bash\n$ voc -d ~/my_vocabulary   # set download directory to '~/my_vocabulary'\n$ voc -a mplayer           # set audio command line to 'mplayer'\n$ voc -a \"dlc -p\"          # set audio command line to 'dlc' with argument '-p'\n```\n\n## License\n\nMIT\n\n[npm-url]: https://nodei.co/npm/voc-cli\n[npm-img]: https://nodei.co/npm/voc-cli.png\n\n[dependency-url]: https://david-dm.org/zlargon/voc\n[dependency-img]: https://img.shields.io/david/zlargon/voc.svg\n\n[dependency-dev-url]: https://david-dm.org/zlargon/voc#info=devDependencies\n[dependency-dev-img]: https://img.shields.io/david/dev/zlargon/voc.svg\n\n[travis-url]: https://travis-ci.org/zlargon/voc\n[travis-img]: https://img.shields.io/travis/zlargon/voc.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSItMTQyLjUgLTE0Mi41IDI4NSAyODUiPjxjaXJjbGUgcj0iMTQxLjciIGZpbGw9IiNERDQ4MTQiLz48ZyBpZD0iYSIgZmlsbD0iI0ZGRiI%2BPGNpcmNsZSBjeD0iLTk2LjQiIHI9IjE4LjkiLz48cGF0aCBkPSJNLTQ1LjYgNjguNGMtMTYuNi0xMS0yOS0yOC0zNC00Ny44IDYtNSA5LjgtMTIuMyA5LjgtMjAuNnMtMy44LTE1LjctOS44LTIwLjZjNS0xOS44IDE3LjQtMzYuNyAzNC00Ny44bDEzLjggMjMuMkMtNDYtMzUuMi01NS4zLTE4LjctNTUuMyAwYzAgMTguNyA5LjMgMzUuMiAyMy41IDQ1LjJ6Ii8%2BPC9nPjx1c2UgeGxpbms6aHJlZj0iI2EiIHRyYW5zZm9ybT0icm90YXRlKDEyMCkiLz48dXNlIHhsaW5rOmhyZWY9IiNhIiB0cmFuc2Zvcm09InJvdGF0ZSgyNDApIi8%2BPC9zdmc%2B\n\n[appveyor-url]: https://ci.appveyor.com/project/zlargon/voc\n[appveyor-img]: https://img.shields.io/appveyor/ci/zlargon/voc.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjEyOCIgaGVpZ2h0PSIxMjgiIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij48ZyBmaWxsPSIjMUJBMUUyIiB0cmFuc2Zvcm09InNjYWxlKDgpIj48cGF0aCBkPSJNMCAyLjI2NWw2LjUzOS0uODg4LjAwMyA2LjI4OC02LjUzNi4wMzd6Ii8%2BPHBhdGggZD0iTTYuNTM2IDguMzlsLjAwNSA2LjI5My02LjUzNi0uODk2di01LjQ0eiIvPjxwYXRoIGQ9Ik03LjMyOCAxLjI2MWw4LjY3LTEuMjYxdjcuNTg1bC04LjY3LjA2OXoiLz48cGF0aCBkPSJNMTYgOC40NDlsLS4wMDIgNy41NTEtOC42Ny0xLjIyLS4wMTItNi4zNDV6Ii8%2BPC9nPjwvc3ZnPg==\n\n[coverage-url]: https://coveralls.io/r/zlargon/voc\n[coverage-img]: https://img.shields.io/coveralls/zlargon/voc.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlargon%2Fvoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzlargon%2Fvoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlargon%2Fvoc/lists"}