summaryrefslogtreecommitdiff
path: root/README.md
blob: 512d7e1f83d334b67cdef67c9668324e51ac7adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# sts2stats

this project requires go 1.23

* git clone `https://git.ewy.one/sts2stats/`
* cd sts2stats 
* build the package with [`pik`](https://github.com/ewy1/pik)` build` or `bash .pik/build.sh`

sts2stats needs to be pointed to your profile folder:
* `./sts2stats --profile /home/$USER/.local/share/SlayTheSpire2/steam/$STEAMID/profile1/`
  * substitute your own variables! i don't know your steam id

a browser window with the duckdb ui should open.

ingesting should take a while and not currently deduplicated so reindexing is enabled implicitly: every time you start the program the database will be wiped.

you can query the data in the duckdb ui during the indexing.

## build tags
* sqlite: build with sqlite storage backend instead of duckdb
* sqlite-wasm: build with sqlite-wasm backend instead of duckdb
* pprof: build with profiling support
* api: build with http api