Giter Club home page Giter Club logo

trackit's Introduction

TRACKIT+

is a app for tracking resources and combat in a Dungeons and Dragons game.


The app aims to help with the chores that come with the oldschool style of the game, without removing its fun. Me and my friends started the campaign Tomb of annihilation, and the idea came up to make something to help track with the amount of resources and encumberment. The app is therefore specifically tailored for the jungle exploration but could be used to help with any kind of adventure and is especially useful for hex-crawlers alike.

Live app example

Getting started

It is build using R Shiny. The database is incorporated in Firebase.

To start using it you either have to link the app to your database or create your project at firebase. You also have to create a project in google console and allowing authentication on the set url. If you run the app locally use localhost:5555 (Change the port number accordingly).

There are two files you need to create:

  • secret.R
    • store the secrets from Firebase and google (for reference look at dummy file)
  • dm.R
    • here you store the ID of the game master. He also needs to create a character with DM as name.

You also have to change the redirect path triggering on logging out or if the token expires. The path is found in global.R:

Shiny.addCustomMessageHandler('mymessage', function(message){window.location = 'http://localhost:5555';});

The easiest way to run the app is to have Rstudio from where you can lunch and edit the R code.
You could run the app by running runApp.R as a R script, given you have the lyberis installed (you can find them at the top in global.R).

If you do not have R it is possible is to build a docker image

docker build -t trackit .

and launching the container.

docker run -p 5555:5555 trackit_1.0

trackit's People

Contributors

hudogriz avatar

Stargazers

David Rubin avatar

Watchers

David Rubin avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.