Hearthstone replays in your browser, written in Typescript with React.
npm install -g gulp webpack
npm install -g electron-prebuilt gulp webpack
npm install -g yarn
$ yarn --pure-lockfile
$ gulp compile
<div id="joust-container"></div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.0/react.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.0/react-dom.min.js"></script>
<link rel="stylesheet" href="https://github.com/HearthSim/Joust/blob/main/joust.css"></link>
<script type="text/javascript" src="https://github.com/HearthSim/Joust/raw/main/joust.js"></script>
<script type="text/javascript">
Joust.launcher("joust-container")
.height(500)
.width(500)
.fromUrl("//example.org/brawl.hsreplay");
</script>
Joust does not do any polyfilling and expects the globals Promise and fetch to be available.
$ yarn run dev
Copyright © HearthSim. All Rights Reserved.
This is a HearthSim project. All development
happens on our IRC channel #hearthsim
on Freenode.