TIL that there is a URI scheme for dictionaries, and curl supports it:
curl dict://dict.org/define:mastodon
TIL that there is a URI scheme for dictionaries, and curl supports it: curl dict://dict.org/define:mastodon 30 comments
@edsu Oh hey! We use dictd /locally/ for our dictionary (but with the dict client program). Didn't know there was a URI scheme and shit. :3 @malin I like it! And I didn't know about mdcat -- now I'm doing the same. I dropped the -P for the grep since that's not available on MacOS with installing GNU grep. It still seems to work ok? @edsu @malin too sad Wikimedia projects don't support DICT protocol: https://phabricator.wikimedia.org/T31229 @malin @edsu @edsu https://en.wikipedia.org/wiki/DICT I'm adding this to my list of cool information sources. There is the German site dict.leo.org . I don't know how to find out, whether it could work on this site, too. @edsu we used to use that at the dictionary publisher I worked for. We had to be terribly careful not to let our internal databases out into the wild |
@edsu i sort of forgot that the url scheme exists, but i use the dict client and dict.org on like a daily basis. it is such an amazing resource.