#words #generate #tool #command-line #file #command-line-tool #non-existent

app fictionary

A command-line tool that generates non-existent words

3 releases

0.1.2 Jul 3, 2024
0.1.1 Jun 23, 2024
0.1.0 Jun 23, 2024

#810 in Command line utilities

Download history 229/week @ 2024-06-20 99/week @ 2024-06-27 46/week @ 2024-07-04 4/week @ 2024-07-11

119 downloads per month

MIT license

1.5MB
485 lines

Fictionary (in Rust)

Rust Build Crate Version

This is a port of my Fictionary tool to Rust. It currently works, but it's still in the early stages.

The wordlist file is currently loaded (on MacOS) from $HOME/Library/Application Support/uk.co.judy.fictionary/american.fictionary

To-Do

In rough priority order:

  • Test fictionary file locations on Linux and Windows!

  • Write a decent README.

  • Publish to crates.io?

  • Make the tests deterministic by setting a random seed.

    • Add a CLI param to specify a seed to the generator so that the same wordlist can be generated more than once.
  • Document the code.

  • Different output depending on stdout being a TTY

  • Continuous Delivery

  • More comprehensive tests

  • Distribute as a library for re-use, as well as a binary?

  • Implement an infinite iterator of generated words.

  • Package up for installation using Homebrew?

Dependencies

~6–17MB
~178K SLoC