{"id":51234664,"url":"https://github.com/krishnakanthb13/anp-19-dice","last_synced_at":"2026-06-28T19:03:02.024Z","repository":{"id":367760814,"uuid":"1270925304","full_name":"krishnakanthb13/anp-19-dice","owner":"krishnakanthb13","description":"A comprehensive dice roller and randomizer plugin for Amplenote — roll basic/advanced/RPG dice formulas, use specialized dice (Sicherman, intransitive, poker), Fudge/Fate, Fantasy AGE stunts, Magic 8-Ball, Sai Baba, and table-based randomizers. Includes audit logging and note navigation.","archived":false,"fork":false,"pushed_at":"2026-06-27T14:13:18.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-27T15:10:07.414Z","etag":null,"topics":["amplenote","amplenote-plugin","dice","dice-roller","esbuild","javascript","randomizer","rpg","tabletop"],"latest_commit_sha":null,"homepage":"https://github.com/krishnakanthb13/anp-19-dice","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krishnakanthb13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-16T07:08:06.000Z","updated_at":"2026-06-27T14:13:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/krishnakanthb13/anp-19-dice","commit_stats":null,"previous_names":["krishnakanthb13/anp-19-dice"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/krishnakanthb13/anp-19-dice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnakanthb13%2Fanp-19-dice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnakanthb13%2Fanp-19-dice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnakanthb13%2Fanp-19-dice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnakanthb13%2Fanp-19-dice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krishnakanthb13","download_url":"https://codeload.github.com/krishnakanthb13/anp-19-dice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnakanthb13%2Fanp-19-dice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34900368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["amplenote","amplenote-plugin","dice","dice-roller","esbuild","javascript","randomizer","rpg","tabletop"],"created_at":"2026-06-28T19:02:56.584Z","updated_at":"2026-06-28T19:03:02.018Z","avatar_url":"https://github.com/krishnakanthb13.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎲 Dice Roller and Randomizer\n\n\u003e **A comprehensive plugin for Amplenote to run general dice rolls, advanced mathematical formulas, RPG-specific systems, divination-style randomizers, and table-based selections.**\n\n---\n\n## ✨ Features\n\n- **Basic \u0026 Advanced Rolls**: Standard dice with modifiers (keep, drop, explode, unique) and complex mathematical expressions (`3d4 + 2d6 * 5`).\n- **RPG Systems built-in**: First-class support for *Fudge/Fate* dice, *Fantasy AGE* stunt rolls, and *Shadowrun/WoD* Dice Pools.\n- **Table Randomizer**: Pick random row/column combinations directly from your Amplenote markdown tables.\n- **Divination \u0026 Oracles**: Includes classic *Magic 8-Ball*, *Ask Sai Baba*, *Tarot Cards*, and specialized dice (Poker, Sicherman, Intransitive).\n- **Generators \u0026 Tools**: Use the *Name Generator*, *Weighted Random*, and *Decision Matrix* to spark creativity or make unbiased choices.\n- **Persistent History**: Automatically logs every roll into a centralized `Dice Results Audit` note so you never lose track of your campaign results.\n\n---\n\n## 🛠️ Installation\n\n1. Create a new note in Amplenote and title it **`Dice Roller and Randomizer Plugin`**.\n2. Add the following Settings table to the note:\n\n| Field | Value |\n| :--- | :--- |\n| `name` | Dice Roller and Randomizer |\n| `icon` | casino |\n| `description` | Comprehensive dice rolling, game systems, and random generators for Amplenote. |\n| `settings` | |\n| `Previous_Roll` | |\n| `Previous_Roll_Spc` | |\n| `Previous_Roll_FF` | |\n| `Previous_Roll_AGE` | |\n| `Previous_Roll_Ran` | |\n| `Previous_Weighted` | |\n| `Previous_DicePool` | |\n| `Dice_Audit_UUID [Do not Edit!]` | |\n\n*(Note: Leave the setting values blank during first installation. The plugin will manage them automatically.)*\n\n3. Below the table, insert a **JavaScript code block** and paste the compiled plugin code from `build/dice.compiled.js` into it.\n4. Go to **Account Settings \u003e Plugins** in Amplenote and select your newly created plugin note to activate it.\n\n---\n\n## 🚀 Usage Guide\n\nOnce activated, the plugin registers several app-level commands and one note-level command:\n\n### 🎲 General Dice\n- **`Basic`**: Rolls standard dice with configurable modifiers (faces, min/max limits, keep/drop, exploding, unique).\n- **`Advanced`**: Evaluates mathematical dice expressions (e.g., `3d4 + 3` or `1d12 + 1d10 + 5`).\n- **`Quick Roll Presets`**: Easily pick standard RPG rolls (e.g. D20, 2d6, D\u0026D Ability Score) and add modifiers.\n- **`Percentile (D100)`**: Roll 00-99 or 1-100, and even supports \"flip to succeed\" mechanics.\n\n### ⚔️ Game Systems\n- **`Fudge/Fate`**: Rolls standard Fate dice (`+`, ` `, `-`) and calculates the total.\n- **`Fantasy AGE Stunt - Single Roll`**: Rolls a stunt check, detecting doubles and stunt points.\n- **`Fantasy AGE Stunt - Roll All At Once`**: Run stunt checks for an entire party in one go.\n- **`Dice Pool (Shadowrun/WoD)`**: Roll a pool of d6s against a Target Number, counting hits and handling exploding 6s.\n\n### 🔮 Oracles \u0026 Divination\n- **`Specialized`**: Simulates Sicherman, Intransitive, or Poker dice with optional probability outputs.\n- **`8 Ball`**: Answers your yes/no questions with classic Magic 8-Ball responses.\n- **`Ask Sai Baba`**: Pulls one of 720 spiritual guidance responses.\n- **`Tarot Cards`**: Draw single cards, 3-card spreads, or full Celtic Cross layouts, complete with meanings.\n\n### 🛠️ Generators \u0026 Tools\n- **`Weighted Random`**: Select from a custom list of items where some items are more likely to be picked than others.\n- **`Decision Matrix`**: Rank options against weighted criteria to find the optimal choice.\n- **`Name Generator`**: Generate random names in Fantasy, Sci-Fi, or Norse styles, optionally with titles.\n- **`Table - Randomizer`** *(Note Action)*: Run this from inside a note to pick random row/column combinations directly from tables.\n\n### 📜 History \u0026 Management\n- **`View Roll History`**: Jump instantly to your `Dice Results Audit` note.\n- **`Clear Audit History`**: Erase your roll history (requires confirmation).\n\n---\n\n## 💻 Technical \u0026 Development\n\nThe source code is modularly structured inside the `lib/` directory and bundled for Amplenote execution using `esbuild`. \n\n- **Entry Point:** `dice.js`\n- **Build Process:** Run the repository's build pipeline to compile source files into `build/dice.compiled.js`.\n- For deeper technical context, see [CODE_DOCUMENTATION.md](CODE_DOCUMENTATION.md) and [DESIGN_PHILOSOPHY.md](DESIGN_PHILOSOPHY.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishnakanthb13%2Fanp-19-dice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrishnakanthb13%2Fanp-19-dice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishnakanthb13%2Fanp-19-dice/lists"}