Skip to content

Instantly share code, notes, and snippets.

@digitalsadhu
Created January 26, 2021 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digitalsadhu/87aa9e4a88d9ad4d25fb762b0f05d1c9 to your computer and use it in GitHub Desktop.
Save digitalsadhu/87aa9e4a88d9ad4d25fb762b0f05d1c9 to your computer and use it in GitHub Desktop.
OTFBM Content Management Webapp

MVP Features

In a web app, it should be possible to:

  • Login with discord account
  • manage your token images
    • upload, delete, name, set match strings
  • manage your maps
    • upload, delete, name, define settings such as grid size etc
  • access your personal token

To consume that which you have setup in the app, you would give your token to the URL like so:

https://otfbm.io/?t=abc123

Using custom tokens

Presetup custom token images would automatically match token names in the URL

For a given token image in the webapp, you might name it "Goblin" and add 3 matchers "goblin#", "gob#" and "g#" In the following URL example, all tokens should get the custom token:

https://otfbm.io/a3-goblin/b4-gob/c2-g1/h4-goblin1/?t=abc123

Using custom map setups

Presetup maps could be used by id in the URL:

https://otfbm.io/?t=abc123&m=1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment