Crates.io | mice-roll |
lib.rs | mice-roll |
version | 0.1.1 |
source | src |
created_at | 2024-02-05 22:12:39.837951 |
updated_at | 2024-02-06 09:22:26.67416 |
description | Mice roll is simple tool to roll DnD-like dices in your terminal. |
homepage | |
repository | https://codeberg.org/jilinoleg/mice-roll |
max_upload_size | |
id | 1128021 |
size | 52,695 |
Mice roll is simple tool to roll DnD-like dices in your terminal.
Vaguely inspired by https://github.com/Humblemonk/DiceMaiden, though it isn't meant to be compatible.
Main way of installing this tool:
cargo install mice-roll
If you have Nix with flakes enabled, you can also use nix run git+https://codeberg.org/jilinoleg/mice-roll/ -- 1d20
to run this app once
It's also possible to use nix profile
with it or to add to your NixOS/Home Manager configuration for permanent install.
Download executable from Releases
Unpack archive using graphic archive manager of choice (like Ark) or tar xzf mice-roll-xxxx.tar.gz
Mark file as executable using right click menu in your file manager, or chmod +x mice-roll
command
Run as mice-roll 1d20
to test if it's working
Optionally you can run cp -a mice-roll ~/.local/bin/
to add it into your PATH and allow running from any folder
Currently, this tool takes a single argument with dices and numbers separated by plus or minus sign.
mice-roll 1d20 # single 20-sided dice roll
mice-roll 2d20 # roll twice
mice-roll 1d20+1d6 # roll one d20 dice, and one d6 dice, and add results
mice-roll 1d20+1 # single d20, 1 is added to result
mice-roll 1d6-2 # single d6, 2 is substracted from result
We also have several optional arguments as command line flags.
mice-roll --help # prints help and quits
mice-roll 1d20 --quiet # silences output, only prints result
mice-roll 3d20 --accesible # provides more screen reader friendly output, replaces brackets with commas
This software is licensed under MIT License.
Logo is based on icon of Mouse by Vectordoodle (Licensed under CC Attribution License)
Banner (logo-banner.svg) also uses White Rabbit font which is made by Matthew Welch and licensed under MIT-styled license