Dict.cc
A command line interface tool for accessing dict.cc written in Haskell.
Install / Use
/learn @matt-snider/Dict.ccREADME
dict.cc
A command line tool for accessing dict.cc written in Haskell.
Usage
To look up German translations for an English word:
$ dict-cc dictionary
Englisch Deutsch
=========== ==========
ling. publ. dictionary Wörterbuch {n} [1324 ✓]
dictionary Lexikon {n} [70 ✓]
dictionary Diktionär {n} {m} [veraltet] [66 ✓]
To choose the source and destination languages:
$ dict-cc --from es --to de diccionario
Spanisch Deutsch
=========== ==========
ling. edit. diccionario {m} Wörterbuch {n} [119 ✓]
edu. loc. diccionario {m} de bolsillo Taschenwörterbuch {n}
To filter based on word type (e.g. noun or verb):
$ dict-cc --verb run
Englisch Deutsch
============ ===========
to run laufen [3148 ✓]
to run rennen [1494 ✓]
to run sth. [manage, lead] etw. leiten [1108 ✓]
# ...
$ dict-cc --noun run
Englisch Deutsch
============ ===========
run Lauf {m} [124 ✓]
run [sequence, cycle] Ablauf{m} [37 ✓]
cloth. run [in stockings, tights] Laufmasche{f} [25 ✓]
transp. travel run Fahrt{f} [23 ✓]
# ...
Configuration
Adding a YAML file .dict-cc at XDG_CONFIG_HOME (typically ~/.config) allows
you to configure the default options for --to, --from and --limit.
For example to search by default for translations from Spanish to German, and limit to 10 results:
defaults:
from: es
to: de
limit: 10
Now:
$ dict-cc diccionario
Spanisch Deutsch
========= ========
ling. edit. diccionario {m} 94 Wörterbuch {n}
Building
Clone the repository and build with stack:
$ git clone https://github.com/matt-snider/dict.cc
$ cd dict.cc
$ stack build
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
