define icon indicating copy to clipboard operation
define copied to clipboard

Feature - DICT protocol "source" with configurable servers

Open Rican7 opened this issue 7 years ago • 1 comments

There exists a standard protocol for accessing remote dictionary services. While it's quite old in design, it was purposefully designed for clients/applications such as define.

A generic DICT protocol "source"/provider could potentially be added to define with a configurable list of servers, depending on how complex the access and data parsing (into structures) would be.

More info here (for later reference):

  • https://tools.ietf.org/html/rfc2229
  • https://en.wikipedia.org/wiki/DICT
  • http://www.dict.org/links.html
  • https://linux.die.net/man/1/dict

Rican7 avatar Mar 22 '18 22:03 Rican7

Ah ha! It seems that there's actually a supplemental/experimental package for the DICT protocol for Go already!

  • golang.org/x/net/dict
  • https://godoc.org/golang.org/x/net/dict
  • https://github.com/golang/net/tree/6078986fec03a1dcc236c34816c71b0e05018fda/dict

Rican7 avatar Mar 22 '18 22:03 Rican7