Skip to content

s-thom/botc-script-viewer

Repository files navigation

A web app for viewing scripts for Blood on the Clocktower. I made this because I was going somewhere I knew people would have phones but not printers.

The website name and logo floating above Trouble Brewing

How does it work?

Simple.

On the home page, paste a script JSON or URL pointing to a script JSON. This site will send you to a URL containing all of the script's data. You can do whatever you like with this, share it, print it, forget about it, or whatever else you do with a website.

If you do choose to print the page, it'll be all nicely formatted and ready to go. The final page will also have a QR code for people to scan to view the script digitally.

Print preview for Trouble Brewing

If you want the technical details of how the site works, well, you're in the right place. The most interesting part will be how scripts are represented in the URLs, but there's more in the code.

Preview for how a script is encoded

Acknowledgements

This site is not in any way affiliated with The Pandemonium Institute. All roles and characters are the property of Steven Medway and The Pandemonium Institute.

Blood on the Clocktower is a trademark of Steven Medway and The Pandemonium Institute.

Development instructions

Development instructions

Requires a modern version of Node.

npm ci
npm run setup
npm run dev

About

A site to preview scripts for Blood on the Clocktower

Resources

License

Stars

Watchers

Forks

Contributors