{"id":21564624,"url":"https://github.com/ttrpg-dev/ex_ttrpg_dev","last_synced_at":"2026-04-02T16:23:21.608Z","repository":{"id":53895098,"uuid":"521159401","full_name":"TTRPG-Dev/ex_ttrpg_dev","owner":"TTRPG-Dev","description":"ExRPG is an elixir based utility for tabletop role-playing games","archived":false,"fork":false,"pushed_at":"2024-12-30T04:56:25.000Z","size":241,"stargazers_count":5,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T11:45:54.984Z","etag":null,"topics":["dungeons-and-dragons","elixir","hex","rpg","ttrpg"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TTRPG-Dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-04T07:02:04.000Z","updated_at":"2025-01-30T22:09:16.000Z","dependencies_parsed_at":"2024-12-01T17:29:58.158Z","dependency_job_id":"27b61617-43af-41b2-883e-cca03751cb74","html_url":"https://github.com/TTRPG-Dev/ex_ttrpg_dev","commit_stats":null,"previous_names":["qmalcolm/ex_rpg"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TTRPG-Dev%2Fex_ttrpg_dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TTRPG-Dev%2Fex_ttrpg_dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TTRPG-Dev%2Fex_ttrpg_dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TTRPG-Dev%2Fex_ttrpg_dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TTRPG-Dev","download_url":"https://codeload.github.com/TTRPG-Dev/ex_ttrpg_dev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248224650,"owners_count":21068073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dungeons-and-dragons","elixir","hex","rpg","ttrpg"],"created_at":"2024-11-24T10:16:35.489Z","updated_at":"2026-04-02T16:23:21.595Z","avatar_url":"https://github.com/TTRPG-Dev.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExTTRPGDev\n\n![GitHub watchers](https://img.shields.io/github/watchers/ttrpg-dev/ex_ttrpg_dev?style=social)\n![GitHub forks](https://img.shields.io/github/forks/ttrpg-dev/ex_ttrpg_dev?style=social)\n![GitHub Repo stars](https://img.shields.io/github/stars/ttrpg-dev/ex_ttrpg_dev?style=social)\n\n[![Hex.pm](https://img.shields.io/hexpm/v/ex_ttrpg_dev)](https://hex.pm/packages/ex_ttrpg_dev)\n[![Hex.pm](https://img.shields.io/hexpm/dt/ex_ttrpg_dev)](https://hex.pm/packages/ex_ttrpg_dev)\n[![Documentation](https://img.shields.io/badge/documentation-gray)](https://hexdocs.pm/ex_ttrpg_dev)\n[![Hex.pm](https://img.shields.io/hexpm/l/ex_ttrpg_dev)](https://github.com/TTRPG-Dev/ex_ttrpg_dev/blob/main/LICENSE)\n[![Coverage Status](https://coveralls.io/repos/github/TTRPG-Dev/ex_ttrpg_dev/badge.svg?branch=main)](https://coveralls.io/github/TTRPG-Dev/ex_ttrpg_dev?branch=main)\n\nExTTRPGDev is a general tabletop role-playing game utility written in Elixir.\n\n## Table of Contents\n\n- [ExTTRPGDev](#exttrpgdev)\n  - [Table of Contents](#table-of-contents)\n  - [Library Installation](#library-installation)\n  - [CLI Installation](#cli-installation)\n    - [Linux](#linux)\n    - [macOS (Intel)](#macos-intel)\n    - [macOS (Apple Silicon)](#macos-apple-silicon)\n    - [Windows](#windows)\n  - [Usage](#usage)\n    - [Rolling dice](#rolling-dice)\n    - [Rule systems](#rule-systems)\n    - [Characters](#characters)\n  - [Development Setup](#development-setup)\n  - [Contributing](#contributing)\n\n## Library Installation\n\nExTTRPGDev is [available in Hex](https://hex.pm/packages/ex_ttrpg_dev), the package can be installed\nby adding `ex_ttrpg_dev` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:ex_ttrpg_dev, \"~\u003e 0.2.1\"}\n  ]\nend\n```\n\n## CLI Installation\n\nPre-built binaries are available on the [releases page](https://github.com/TTRPG-Dev/ex_ttrpg_dev/releases).\n\n### Linux\n\n```bash\ncurl -fsSL https://github.com/TTRPG-Dev/ex_ttrpg_dev/releases/latest/download/ttrpg_dev_cli_linux.tar.gz | tar -xz\nsudo mv ttrpg-dev /usr/local/bin/\n```\n\n### macOS (Intel)\n\n```bash\ncurl -fsSL https://github.com/TTRPG-Dev/ex_ttrpg_dev/releases/latest/download/ttrpg_dev_cli_macos.tar.gz | tar -xz\nsudo mv ttrpg-dev /usr/local/bin/\n```\n\n### macOS (Apple Silicon)\n\n```bash\ncurl -fsSL https://github.com/TTRPG-Dev/ex_ttrpg_dev/releases/latest/download/ttrpg_dev_cli_macos_arm.tar.gz | tar -xz\nsudo mv ttrpg-dev /usr/local/bin/\n```\n\n### Windows\n\nDownload `ttrpg_dev_cli_windows.zip` from the [releases page](https://github.com/TTRPG-Dev/ex_ttrpg_dev/releases), extract it, and add `ttrpg-dev.exe` to your `PATH`.\n\n## Usage\n\n`ttrpg-dev` can be used as a one-shot command or as an interactive shell (run with no arguments):\n\n```\nttrpg-dev\n```\n```\nTTRPG Dev — interactive shell\nType `help` for available commands, `exit` to quit.\nttrpg-dev\u003e _\n```\n\n### Rolling dice\n\n```\nttrpg-dev roll 3d6\n# 3d6: [2, 4, 5]\n\nttrpg-dev roll 2d6,1d10\n# 2d6: [3, 6]\n# 1d10: [7]\n```\n\n### Rule systems\n\n```\nttrpg-dev systems list\nttrpg-dev systems show dnd_5e_srd\nttrpg-dev systems show dnd_5e_srd --concept-type skill\n```\n\n### Characters\n\n```\n# Generate a character (prompts to save)\nttrpg-dev characters gen dnd_5e_srd\n\n# Generate and save immediately\nttrpg-dev characters gen dnd_5e_srd --save\n\n# List and inspect saved characters\nttrpg-dev characters list\nttrpg-dev characters show misu_park\n\n# Roll a skill or attribute check for a character\nttrpg-dev characters roll misu_park skill acrobatics\n# Acrobatics check: 18 (1d20: 14, bonus: +4)\n```\n\n## Development Setup\n\n**Prerequisites**: [asdf](https://asdf-vm.com/) with the `erlang`, `elixir`, and `zig` plugins.\n\n```bash\ngit clone https://github.com/TTRPG-Dev/ex_ttrpg_dev.git\ncd ex_ttrpg_dev\nasdf install        # installs Erlang, Elixir, and Zig from .tool-versions\nmix deps.get\n```\n\n**Run the CLI locally** (no Zig required):\n\n```bash\nmix escript\n./ttrpg-dev\n```\n\n**Build Burrito binaries** (requires Zig):\n\n```bash\n./scripts/build_cli.sh\n./burrito_out/ttrpg_dev_cli_linux\n```\n\n## Contributing\n\n1. Fork the repo and create a branch from `main`\n2. Install dependencies: `mix deps.get`\n3. Make your changes and add tests\n4. Run the test suite: `mix test --umbrella`\n5. Run the linter: `mix credo --umbrella`\n6. Submit a pull request against `main`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttrpg-dev%2Fex_ttrpg_dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttrpg-dev%2Fex_ttrpg_dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttrpg-dev%2Fex_ttrpg_dev/lists"}