This is a small 🦕 Deno app for parsing HS Deck tracker logs created by the Battleground match data plugin and then uploading the logs to a Fauna DB
I created it to play around with Fauna and Deno and will take no responsibility for any problems you may have using it ;)
Create an account Fauna and create a project.
Set paths and Fauna information in config.template.ts
and rename it to config.ts
.
The data schema for fauna db can be found in the data directory HsBg_Schema.gql
, but I cannot guarantee that it is
fully up-to-date.
Import HsBg_Schema.gql
in your fauna project.
deno run --allow-read --allow-write --allow-net <PATH>\HsBgLogReader\readLogs.ts