https://github.com/purplebooth/mnemonic
https://github.com/purplebooth/mnemonic
kata mnemonic
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/purplebooth/mnemonic
- Owner: PurpleBooth
- License: gpl-3.0
- Created: 2017-09-15T22:43:32.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T02:24:12.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T10:44:14.755Z (over 1 year ago)
- Topics: kata, mnemonic
- Language: Go
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# mnemonic
[][3]
[][4]
Late night hack session for a toy to generate mnemonic's.
## Installing
```bash
go get -u github.com/golang/dep/cmd/dep
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
dep ensure
(cd mnemonic && go test)
(cd cmd/mnemonic/ && go install)
```
## Running
Uses [wordnet dictionary files][1]. Once installed run
```bash
$ mnemonic /tmp/dict "ROYGBIV"
resistless ocellated turkey yaw gracefully. befouled interconnection victimize.
```
## Docker
Alternatively you can run the docker container
```bash
$ docker build -t mnemonic:latest . && docker run -it --rm mnemonic:latest "ROYGBIV"
rocky open yield gainfully. bonzer incapability vote in.
```
## Links
* [WordNet Dictionary][1]
* [Go Docs][2]
[1]: http://wordnet.princeton.edu/wordnet/download/current-version/
[2]: https://godoc.org/github.com/PurpleBooth/mnemonic/mnemonic
[3]: https://goreportcard.com/report/github.com/PurpleBooth/mnemonic
[4]: https://codebeat.co/projects/github-com-purplebooth-mnemonic-master