ttrpg-convert-cli

Utility to convert JSON data (for content you own) from 5etools or pf2etools into Obsidian-friendly Markdown.

APACHE-2.0 License

Stars
181
Committers
17

Bot releases are visible (Hide)

ttrpg-convert-cli - Release 1.0.13

Published by github-actions[bot] about 2 years ago

  • c473ffc πŸ’« Sort item properties (stable order)
  • 41ec42d 🧹 code clean up
  • b837f47 πŸ”Š Make CLI output more concise
  • 45a7491 πŸ› FIx resolution of to_hit / damage_avg
  • a0233c7 ✨ Allow specific resource keys to be included. Resolves #24.
  • dc10eb2 πŸ“„ Update css-snippet links in README. Fixes #28.
  • 7f6a600 πŸ“„ Summarize changes for 1.0.12
  • db13d30 πŸ“„ Add an example of specifying books / adventures
ttrpg-convert-cli - Release 1.0.12

Published by github-actions[bot] about 2 years ago

πŸ”₯ File name changes

Each file name will now contain an abbreviation of the primary source to avoid conflicts (for anything that does not come from phb, mm, dmg).

If you use the Templater plugin, you can use a templater script to rename files in your vault before merging with freshly generated content. View the contents of the template before running it, and adjust parameters at the top as necessary.

πŸ”₯ Deity symbols and Bestiary Tokens

Symbols and tokens have changed in structure. Custom templates will need a bit of adjustment.

For bestiary tokens:

{#if resource.token}
![{resource.token.caption}]({resource.token.path}#token){/if}

For deities:

{#if resource.image}
![{resource.image.caption}]({resource.image.path}#symbol){/if}

Summary of changes

  • 34cefb6 πŸ“ Update README
  • 26925cc 🚚 Templater template to rename notes
  • 25d4269 πŸ› List only mundane item properties
  • 854c1fc πŸ› Fix rarity and tier in item detail. Fixes #21
  • c008ed9 πŸ› Ignore core books in additional/other sources
  • 60b838a πŸ›πŸ”₯ Fix duplicate pages & test all links
  • bb9836e πŸ› Correctly parse quickref attributes
  • 9e56c09 πŸ› Fix assignment of compendium path. Fixes #11
  • d28c7cb πŸ› Prevent file collisions (warn)
  • c28bc43 πŸ› UA and decorated name cleanup
  • 6708b13 πŸ› Reduce construction of sources
  • 5f25253 🎨 Dummy version during build
  • e9708c0 ♻️ Stash sources on Qute resources
  • f55056b βœ… Clean up output before test
  • 7a534f5 πŸ› πŸ”₯ Include class name in subclass file names
  • ed448e4 πŸ› Handle class variants for spells
  • 2870298 πŸ› Fix UA Source abbreviations
  • 9542703 🎨 normalize path when writing files
  • f47ad08 πŸ› Use image resource/caption in templates. Fixes #19
  • 031acda πŸ“ Add DoSI: Dragons of Stormwreck Isle. Fixes #16
  • 7c0fa37 Bump quarkus.platform.version from 2.13.0.Final to 2.13.1.Final
  • 0452260 Bump quarkus.platform.version from 2.12.3.Final to 2.13.0.Final
  • 7f9cf2f Bump quarkus.platform.version from 2.12.1.Final to 2.12.3.Final
  • 32bc6c3 ✨ πŸ› Deity alternate names. Fixes #9 (again)
  • 7670f23 πŸ”§ Prepare for next release

Full Changelog: https://github.com/ebullient/json5e-convert-cli/compare/1.0.11...1.0.12

ttrpg-convert-cli - Release 1.0.11

Published by github-actions[bot] about 2 years ago

  • 5d0cd8a πŸ”₯πŸ› Deities: Reprints and renames. Fixes #9
  • 65760c6 πŸ› Correct file counts. Fixes #7
  • 62fac65 πŸ› normalize slashes in paths; Fixes #6
  • c9bfade ✨ Use -s ALL for all sources; resolves #8
  • 79ecd04 πŸ› Option to set deity template. Resolves #10
ttrpg-convert-cli - Release 1.0.10

Published by github-actions[bot] about 2 years ago

  • 29a7eb2 βœ… Tests for unresolved references in most output
  • 9b88624 πŸ› Unresolved {@spell } in monster AC text
  • 2e7810d 🎨 Strip markdown from YAML (cheers @valentine195)
ttrpg-convert-cli - Release 1.0.9

Published by github-actions[bot] about 2 years ago

  • 3400c1c πŸ› ACTUALLY publish deities 🀦
  • 1430409 🎨 Better 0.16 callout style
ttrpg-convert-cli - Release 1.0.8

Published by github-actions[bot] about 2 years ago

  • 188164e πŸ› Class links
  • 188ec05 πŸ› parens (hp) and whitespace for readability
ttrpg-convert-cli - Release 1.0.7

Published by github-actions[bot] about 2 years ago

  • 980afd4 πŸ› Find UA tokens
  • 068f29d ✏️ whitespace / import sorting
  • 17f8c58 πŸ› ✨ Copy bestiary tokens; fix cssclass
  • 7ec3d16 ✨ ♻️ Better path management; Copy deity images
  • 1e3ad90 ♻️ Clean up some static references
  • 107a35b ✨ First bits for deities
  • d15252f ♻️ Move readFile, readDirectory (prep copyImage)
  • 212b3c5 ♻️ Move target dir / title into qute classes (make room for images)
  • 2a031fa ✨ Use compendium/rules paths in output
  • 90ff000 πŸ› A few more sizes
  • cf3f88b ✨ Functional version command
ttrpg-convert-cli - Release 1.0.6

Published by github-actions[bot] about 2 years ago

  • 039824b πŸ› Fix checking included alternate source
  • cf43236 πŸ› clean up output for read/missing files
ttrpg-convert-cli - Release 1.0.5

Published by github-actions[bot] about 2 years ago

17e2041 ✨ Include Lair Actions
347b1f4 πŸ› ✨ Copy traits; clean up inherited sources
c14b86a πŸ› Fix bug reading generic ability; crToXp, crToPb variants
f21f190 πŸ› Correct ideals table
005dc74 Merge pull request #3 from ebullient/dependabot/maven/quarkus.platform.version-2.12.1.Final
498ac6e Bump quarkus.platform.version from 2.12.0.Final to 2.12.1.Final
8a203c8 ✨ Include monster source in statblock plugin YAML
9b97b55 πŸ’š fix snapshot release deletion
3a24709 ✨ Generate lookup tables for traits/ideals/bonds/flaws

ttrpg-convert-cli - Release 1.0.4

Published by github-actions[bot] about 2 years ago

  • f7babbb πŸ› Fix monster spellcasting block; move more npcs
ttrpg-convert-cli - Release 1.0.3

Published by github-actions[bot] about 2 years ago

  • b022dca πŸ› Fix links to subraces
  • 830846a ♻️ Move name lists with other tables
  • c77869c πŸ› Fix rendering of proficiency prereq
  • f15a8b4 πŸ› Fix tag for wondrous items
  • f1f07cc πŸ“ Update sources
  • 332765a πŸ› Include subraces; properly filter subtypes

Full Changelog: https://github.com/ebullient/json5e-convert-cli/compare/1.0.2...1.0.3

ttrpg-convert-cli - Release 1.0.2

Published by github-actions[bot] about 2 years ago

  • 2979bd0 ✨ Support generic ability text blocks
  • 4fd4bd2 πŸ› Fix test of other/alternate sources
  • b88b142 πŸ› Fix handling of special hp text
  • f1541e0 ✨ Add background fluff
  • 3155d08 πŸ› Fix block id for tables
  • 5de2918 πŸ”₯ Fix file output locations
  • 02726a6 πŸ”§ CI updates
  • 1a2b43a πŸ› Fix handling of excluded references; tableGroup, inlineBlock; ignore gallery
  • 55cf0a2 πŸ“ source mapping

Full Changelog: https://github.com/ebullient/json5e-convert-cli/compare/1.0.1...1.0.2

ttrpg-convert-cli - 1.0.1

Published by ebullient about 2 years ago

  • b9a0a52 ✨ Parse adventures and books passed on command line
  • ee37722 Bump quarkus.platform.version from 2.11.3.Final to 2.12.0.Final
  • 7c58277 πŸ› Prepare index properly; tests + output cleanup
  • eaa14b6 πŸ› Remove references to excluded features/tables/etc. Add tests for subset.
  • 5abd500 πŸ“ Clarify text
  • dbd7a7b πŸ’š Prevent SNAPSHOT release freeze
  • 2d11d13 🎨 ♻️ Clean up indexing
  • aa934ae 🎨 Whitespace in debug output
  • 1566f78 πŸ› Fix crosslinks
  • ee8516d πŸ› Fix links to npcs
  • bd3add3 πŸ“ Update README
  • 31cfd5f πŸ› ✨ Item Properties; Fix monster links
  • e9fb36c ✨ Rules, tables for reference
  • 4b03735 πŸ› Test for SRD only when showing sources
  • b4d880b ✨ ♻️ Add a simple note
  • e785908 πŸ“ CSS style tips and examples
  • 3335c55 πŸ’š Fix jitpack URL
  • 6b27fe8 πŸ› Sidekick spellcasting ability
  • deda964 ✨ Statblock plugin YAML
  • caca020 πŸ› Support "One of" skills and abilities
  • 924649e ✨ Subclass feature/spell progression tables
  • 44410bf 🏷️ Handle removeSpells on merge; rules links
  • f2fe359 πŸ“ Update paths for tests
  • 8cdbfc2 πŸ› Fix links to rule headings
  • ecafb2a πŸ”₯ ✨ Cleanup; subclass files; table values
  • 1ee35e1 πŸ“ whitespace in templates (strict line endings)
  • 1badb96 πŸ“ avoid trimming whitespace on templates
  • 55fe913 ✨ Generate references for Monsters
  • bc0b44e πŸ“ Tweak source tags
  • 246192e πŸ’„ Simplify usage of slugify
  • 6b0aa8c πŸ› Fix item armor class
  • b2dd559 πŸ’„ consistent tags
  • d5fe349 ✨ Generate item references
  • 664b873 πŸ“ whitespace
  • 3eb39d8 πŸ“ Additional source mappings
  • d1c8014 ✨ Emit class references
  • 3fb5892 🎨 Prepare for Classes; move common copy/merge
  • c91fab5 πŸ’„ whitespace; remove unused
  • 0ebf189 Merge pull request #1 from ebullient/dependabot/maven/quarkus.platform.version-2.11.3.Final
  • 8f38cbd ✨ Generate Spell and Race references
  • 2e3c813 Bump quarkus.platform.version from 2.11.2.Final to 2.11.3.Final
  • fb7675a ✨ Spells
  • 78cdbdc ✨ common text processing
  • d6faf9b πŸ“ missing abbreviated names
  • ca8cf50 ✨ 5etools -> markdown: backgrounds, feats, names

Effectively the first release (insufficient tagging before this)