- C 100%
| COPYING | Initial commit | |
| dictionaries.c | Added multiple dictionaries | |
| dictionaries.h | Added multiple dictionaries | |
| downloader.c | Fix compiler command | |
| downloader.h | Fix compiler command | |
| main.c | Improved options | |
| options.c | Improved options | |
| options.h | Improved options | |
| README.md | Fix compiler command | |
| version.h | Improved options | |
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
- Initialisation, modular base code, licence. (Done)
- Online dictionary parser.
- Modular parser base code.
- Parsers for online dictionaries.
- Custom online dictionary support?
- Multiple languages support.
- A bit of parser rework.
- Support for all languages available on the online dictionaries.
Installation
Requirements:
- C compiler of choice (assumed GCC).
- curl.
GNU/Linux
- Clone the repository
git clone https://codeberg.org/Pixificial/definx.git cdinto the local directory.- 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.