Dice roller bundled as a simple web app. Currently supports text-based "advanced" roller (similar to dice roller chatbot syntax) and FATE roller.

Features:

  • Works locally in your browser, no data is being sent by default;
  • Can be installed as Progressive Web App where supported;
  • Can be downloaded for offline use (see Downloads);
  • Has support for Discord webhooks to send results (not tested, but Slack and compatible may also work);
  • Saves webhook link and name locally in your browser.

Usage

Advanced dice roller

Input dices you need in text field. Currently it supports following expressions:

  • 1d20 (can be any number, like 42d100 or even 1d25)
  • d20 (same as previous, just rolls 1 of that dice)
  • 4f (rolls FATE dices)
  • +2 (bonus)

Expessions need to be separated by operators or spaces. Spaces and + signs just add expressions, while - sign makes results negative. Braces and other operators are not supported right now.

Currently, advanced roller only outputs final result on the webpage, more detailed output is sent via webhooks.

Fate dice roller

Press "Roll" button and get results. Optionally specify bonus as a single number.

Webhooks

You can optionally add webhook url and player name, and it will send results, for example, to chat app to notify others of your results.

If you need to know how to get Discord webhook for your chat, it's in chat/channel settings in Integrations tab. I recommend reading https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks if you don't understand something.

Webhook link and name will be saved as cookie in your browser if you press "Save Locally" button. In case you don't want that anymore, you may remove link and press save again, which will trigger cookie removal.

Source Code: https://codeberg.org/mailbun/scarlet-dice

Published 2 days ago
StatusReleased
CategoryTool
PlatformsHTML5
AuthorMail Bunny
TagsDice, Tabletop, Tabletop role-playing game
Code licenseUnlicense
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Mouse
AccessibilityHigh-contrast, Blind friendly
LinksHomepage, Source code
ContentNo generative AI was used

Download

Download
Web version
External
Download
Offline archive (HTML, r2.0) 48 kB

Install instructions

Unpack Zip archive. Then, open HTML file (index.html) in your browser (double click, drag and drop, or copy location and input in browser address bar)

Proper web version is hosted on https://mailbun.codeberg.page/scarlet-dice/. Itch embedded version may be slightly broken (different background).

Development log