initiative-sh / initiative.sh

A web-based command line for game masters
https://initiative.sh/
GNU General Public License v3.0
44 stars 4 forks source link
cli dungeon-master dungeons-and-dragons game-master rpg rust tui

Introducing initiative.sh

initiative.sh's design philosophy is to minimize the time and effort between the question ("Is there a blacksmith nearby?") and the answer ("Yes, it's called Frosthammer & Sons, and Fenrik Frosthammer is at the forge.").

Other features on the roadmap

The following features have not yet been implemented:

Running the project

Dependencies:

Note that the project includes 5e-database as a Git submodule, so actions such as building and starting a dev server may fail until you run:

git submodule update --init

Web

  1. Run ./dev-server.sh from the project root at the command line.
  2. Find the dev server URL in the command line output and open it in your browser. Typically, this will be localhost:8080.

Command line

Note: The command line interface lost feature parity with the web version early in the development process. Notably, it lacks autocomplete support, and the "rich" version doesn't support scrolling or text formatting. For details, see #287.

Rich version

cargo run

Light version

The light version is selected when the input is not from a tty, such as when you pipe a command into cargo run.

echo npc | cargo run

Contributing to the project

Please see CONTRIBUTING.md for details.