https://github.com/metaory/xsyn
📑 dead simple word suggestion CLI
https://github.com/metaory/xsyn
antonyms automation cli dictionary synonym thesaurus
Last synced: 7 months ago
JSON representation
📑 dead simple word suggestion CLI
- Host: GitHub
- URL: https://github.com/metaory/xsyn
- Owner: metaory
- License: mit
- Created: 2024-06-09T02:51:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-21T14:47:18.000Z (10 months ago)
- Last Synced: 2025-02-04T22:17:45.918Z (9 months ago)
- Topics: antonyms, automation, cli, dictionary, synonym, thesaurus
- Language: Shell
- Homepage:
- Size: 166 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
XSYN
> [!NOTE]
> No API Key needed
---
```ex
NAME
xsyn - get similar words
SYNOPSIS
xsyn <...WORD>
xsyn <...WORD>
xsyn <...WORD>
─────────────────────────────────────────────────
ml meanlike
sn synonym
nn noune
aj adjective
DESCRIPTION
xsyn is a thin wrapper on Datamuse API, it get similar words to arg
TYPES
ml MeanLike (OneLook)
# ocean → sea expanse oceanic seabed seafloor oceanographic pelagic oceanography marine midstream coast pond water seawater waters seaway bucket marina seagoing seafaring
sn Synonym (WordNet synset)
# ocean → sea
nn Noune (Google Books Ngrams)
# gradual → increase
aj Adjective (Google Books Ngrams)
# beach → sandy
ENVIRONMENT VARIABLES ~
XSYN_MAX | Maximum number of results to return,
not to exceed 1000. (default: 80)
.
EXAMPLES
# MeanLike
xsyn ml ocean
# same as
xsyn meanlike ocean
# sea oceanography waters
# expanse marine seaway
# oceanic midstream bucket
# seabed coast marina
# seafloor pond seagoing
# oceanographic water seafaring
# pelagic seawater
# Synonym
xsyn sn ocean
# sea
# Noun
xsyn nn gradual
# increase
# Adjective
xsyn aj beach
# sandy
```
---
Requirements
------------
- [jq](https://archlinux.org/packages/?q=jq)
- [curl](https://github.com/curl/curl)
---
Installation
------------
- clone repo
- give execution permissions
- place it in your path
```ex
# Clone the repo
git clone git@github.com:metaory/xsyn.git
# Navigate to repo
cd xsyn
# Give execution permissions
chmod +x xsyn
# Link it somewhere in your PATH
ln -svf $PWD/xsyn /usr/bin/xsyn
# Use it anywhere
xsyn sn void
# null avoid eliminate empty vitiate annul quash nugatory invalid nullify evacuate vacancy invalidate emptiness nullity nothingness
xsyn ml void
# vacancy emptiness nothingness empty null nullity invalid invalidate nugatory nullify vitiate avoid annul quash eliminate evacuate vacuum devoid nil useless
```
---
License
-------
[MIT](LICENSE)