Roll RPG dice. Used inside of Power VTT.
Roll a single type of die. Use TTML syntax to extend roll functionality.
Examples:
# Roll a single d20
curl -H "Content-Type: application/json" https://roll.poweredvtt.com/v1/1d20
# Reroll anything below a 2
curl -H "Content-Type: application/json" https://roll.poweredvtt.com/v1/4d8rr2
# Set min/min of a die
curl -H "Content-Type: application/json" https://roll.poweredvtt.com/v1/1d100min2max99
# Add a comment
curl -H "Content-Type: application/json" 'https://roll.poweredvtt.com/v1/1d20 "Rolling for gold!"'
Looking to run the roll API locally? You will need Rust (nightly).
cargo +nightly build
You can access the server at http://localhost:1337/
.
MIT © 2017 Unicorn Heart Club LLC