#command-line-tool #words #generate #pattern #file #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

#1073 in Command line utilities

Download history 15/week @ 2024-09-10 4/week @ 2024-09-17 3/week @ 2024-09-24

119 downloads per month

MIT license

1.5MB
497 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–18MB
~173K SLoC