benwebber / tiddlywiki-dnd

Manage D&D campaigns with TiddlyWiki
https://benwebber.github.io/tiddlywiki-dnd/
MIT License
35 stars 8 forks source link

Export Player Edition via direct URL #19

Closed Mystikite closed 1 year ago

Mystikite commented 1 year ago

Not an Issue, more a Feature Request.

It would be ideal to be able to export the player edition nightly via crontab'd curl call. The current method requires a Button or similar action widget to trigger the export.

benwebber commented 1 year ago

Good idea. It's possible to pass a search filter through query parameters, but I'm not sure about triggering an action. This might only be possible using the TiddlyWiki CLI.

benwebber commented 1 year ago

I documented a workaround using the TiddlyWiki CLI. Scroll down to the player edition section:

https://benwebber.github.io/tiddlywiki-dnd/

Mystikite commented 1 year ago

Ben, I tested this today, and it provides exactly what i was looking for! I plan to cron a nightly export to the player edition. Thank you so much for looking into this further, and providing a solution. I additionally have learned that the tiddlywiki command has utility functions, so i get to research what else it can do!