A terminal-based dictionary for MacOS.
There's no good dictionary database for free online, so I just parsed MacOS' native dictionary :P
Make a pull request if you feel like there's something that needs to be added.
usage: definex [word]
cargo build --release
cargo run --release [word]
(or)
./target/release/definex [word] (post build)
- CFStrings are still FFI unsafe, need to be changed to CFStringRefs
- There's a RAII bug on CoreServices' side sometimes
- Select specific headings from definitions
kornelski/core-services: to help understand core services FFI bindings