Skip to content

The website to visualize the analytics recorded by the hollow knight mod 'HKViz'

Notifications You must be signed in to change notification settings

hkviz/hkviz-web

Repository files navigation

HKViz web

A site for visualizing gameplays of Hollow Knight, like seeing the path one has taken in playthrough, to which boss one had the most difficulties, where one has spent the most time, and more.

The mod for recording data is contained in the hkviz-mod repository.

Visit hkviz.org to see the site in action:

  • 🎥 to record analytics for your own gameplays visit the install guide.
  • 🌐 to analyze public gameplays of other players explore public gameplays.
  • 📜 and lastly there is the visualization guide that explains the different visualizations and how to interpret them.

I have Ideas/Feedback for visualizations

Feel free to open an issue on this repository, write @olivergrack on discord or contact me via [email protected].

For developers

To set this project up locally:

  • First copy the .env.example file in the root directly, and name it .env, and fill it with connection information for
    • a mysql database (where user accounts, and run metadata is stored)
    • a r2/s3 bucket (where analytics files are stored)
    • auth providers (discord, google, ...). Can be left empty if you are testing with the email login
  • If needed install pnpm
  • Install dependencies using pnpm install.
  • Start the project locally using pnpm dev

Project structure

These are some key folders of the project:

  • src/lib/hk-data: Contains extracted data from Hollow Knight. (Not licensed under MIT)
  • src/lib/parser: Parsing the recording files created by the mod
  • src/lib/viz: Components for visualizing the data
  • src/server/db: Database connection and schema
  • src/server/[run|account|...]: Server functions and additional logic for handling requests and database interactions
  • src/routes: standard solid start folder for routes

License

This project will largely be MIT licensed, with the exception of the hk-data folder, containing assets from Hollow Knight. Currently, this separation is not yet finished. Therefore, licenses are still missing.

About

The website to visualize the analytics recorded by the hollow knight mod 'HKViz'

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages