1
1
Fork
You've already forked definx
0
A command-line metadictionary.
  • C 100%
2021年07月05日 18:34:04 +03:00
COPYING Initial commit 2021年05月27日 15:04:30 +03:00
dictionaries.c Added multiple dictionaries 2021年07月04日 13:06:43 +03:00
dictionaries.h Added multiple dictionaries 2021年07月04日 13:06:43 +03:00
downloader.c Fix compiler command 2021年07月05日 18:34:04 +03:00
downloader.h Fix compiler command 2021年07月05日 18:34:04 +03:00
main.c Improved options 2021年07月04日 23:17:24 +03:00
options.c Improved options 2021年07月04日 23:17:24 +03:00
options.h Improved options 2021年07月04日 23:17:24 +03:00
README.md Fix compiler command 2021年07月05日 18:34:04 +03:00
version.h Improved options 2021年07月04日 23:17:24 +03:00

definx - a fast command-line metadictionary.

About

definx is a quick metadictionary running in the command-line. It is made to be
used for gathering definitions about a word from multiple dictionaries as the
source, making it easier to gather more unbiased, closer to objective
information.

Roadmap

  1. Initialisation, modular base code, licence. (Done)
  2. Online dictionary parser.
    1. Modular parser base code.
    2. Parsers for online dictionaries.
    3. Custom online dictionary support?
  3. Multiple languages support.
    1. A bit of parser rework.
    2. Support for all languages available on the online dictionaries.

Installation

Requirements:

  1. C compiler of choice (assumed GCC).
  2. curl.

GNU/Linux

  1. Clone the repository git clone https://codeberg.org/Pixificial/definx.git
  2. cd into the local directory.
  3. Run gcc main.c options.c dictionaries.c downloader.c -lcurl -o definx

Usage

Note: Do not forget to move the binary to a directory stated in $PATH.
definx [OPTIONS] [WORD]

After Roadmap 3.2. is done:

definx [OPTIONS] [WORD]
definx [OPTIONS] [WORD] [LANGUAGE]

After the definitions are downloaded, you may find them in /tmp/definx/.

Contributing, bug reports, ideas, patches, questions

All are encouraged! You are invited to contribute, report bugs, ask
questions (if any), provide patches and ideas.

License

Copyright (C) 2021 Abdullah Çırağ
definx is distributed under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. A copy of this license can be found in the
file COPYING included with the source code of this program.