Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/murat/dicterm
dicterm is a terminal interface for merriem webster
https://github.com/murat/dicterm
cli-app dictionary golang merriam-webster-api terminal-app translation
Last synced: 3 months ago
JSON representation
dicterm is a terminal interface for merriem webster
- Host: GitHub
- URL: https://github.com/murat/dicterm
- Owner: murat
- License: mit
- Created: 2022-04-28T20:09:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T21:19:37.000Z (over 2 years ago)
- Last Synced: 2024-06-19T11:17:13.316Z (7 months ago)
- Topics: cli-app, dictionary, golang, merriam-webster-api, terminal-app, translation
- Language: Go
- Homepage:
- Size: 407 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dicterm
![Lint](https://github.com/murat/dicterm/actions/workflows/lint.yml/badge.svg)
![Tests](https://github.com/murat/dicterm/actions/workflows/test.yml/badge.svg)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/295007f859ca44b5b1a9418bb5685d40)](https://www.codacy.com/gh/murat/dicterm/dashboard?utm_source=github.com&utm_medium=referral&utm_content=murat/dicterm&utm_campaign=Badge_Grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/295007f859ca44b5b1a9418bb5685d40)](https://www.codacy.com/gh/murat/dicterm/dashboard?utm_source=github.com&utm_medium=referral&utm_content=murat/dicterm&utm_campaign=Badge_Coverage)dicterm is a cli interface for merriem webster dictionary. Uses [murat/mwgoapi](https://github.com/murat/mwgoapi)
## Requirements
Get your api key from
## Build
```shell
➜ make build
```## Usage
If it's the first run, you must pass the `-key XXX` argument.
It will be stored in the `~/.dicterm` file.
You can specify a custom path via `-config /path/of/file`.
But if you set a custom path, you will need to pass it by the `-config /path/of/file` argument all time.If you did not set a custom config path, you will be able to run the
simpler command like `dicterm word` after the first command.```shell
➜ ./bin/dicterm -h
Usage of ./bin/dicterm:
-config string
path of config file, default ~/.dicterm
-key string
dict api key (will be stored in ~/.dicterm)
-word string
word to look up
```## Screenshot
![screenshot](./example/screenshot.jpeg)