Rant's API is designed to be friendly and straightforward.
Get started generating text in just a few lines of code.
No external dependencies.
Blocks allow patterns to make nested, branching choices. It can pick randomly,
or be configured with any of the numerous selection techniques provided. Branches
can have uniform or weighted probabilities.
Rant has a robust and powerful set of functions for automating several kinds of formatting,
including capitalization, English indefinite articles, series commas (normal/Oxford style), numbers, and more.
Rant can loop over a block multiple times, enabling a large variety of behaviors like
shuffling, counting, printing lists, and more.
Search external dictionaries for words according to sets of filters, then insert them
directly into your output. Synchronize outputs between specific queries, or have them totally random;
it's up to you.
You're not restricted to just returning a single output!
You can return multiple outputs using channels, and even multiple sets of channels
using the serial pattern mode.
Create custom functions and even entire libraries. Decrease the complexity of patterns
significantly by taking advantage of Rant's subroutine system to reuse code.
Use scoped variables for even more control over pattern behavior.
Rant has all the standard functions for basic arithmetic, boolean logic, and conditional statements.
Global variables can also be manipulated via the Rant API.
Rant has a NuGet package for easy installation. Just type this command into your package manager console:
PM> Install-Package Rant
Browse the documentation
and familiarize yourself with all aspects of Rant.
Engross yourself in every detail of every function, language feature, and construct available in the library.
Help us improve
If you find a bug or would like to request a feature, you may do so on the
If you have found Rant useful for your projects, please consider supporting me on Patreon
Your support enables me to spend more time and resources on making projects like Rant even better. Any amount is appreciated!