Skip to content

Commit

Permalink
Merge pull request #19 from hkviz/readme-restructure
Browse files Browse the repository at this point in the history
restructured readme and added dates to released versions in changelog
  • Loading branch information
OliverGrack authored Jan 31, 2025
2 parents 34cde22 + 704598b commit 5df246d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
34 changes: 19 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,50 @@
<p align="center">
<a href="https://www.hkviz.org">
<img width="128" height="128" src="packages/app/logo/logo_glow.svg">
<img width="128" height="128" src="logo/logo_glow.svg">
</a>
</p>

# HKViz web

A site for visualizing player-behavior for [Hollow Knight](https://www.hollowknight.com), 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.
A site for visualizing gameplays of [Hollow Knight](https://www.hollowknight.com), 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 player behavior is contained in the [hkviz-mod repository](https://github.com/hkviz/hkviz-mod).
The mod for recording data is contained in the [hkviz-mod repository](https://github.com/hkviz/hkviz-mod).

Visit [hkviz.org](https://www.hkviz.org/) to get started recording your own gameplay.
Visit [hkviz.org](https://www.hkviz.org/) to see the site in action:

- 🎥 to record analytics for your own gameplays visit the [install guide](https://www.hkviz.org/guide/install).
- 🌐 to analyze public gameplays of other players explore [public gameplays](https://www.hkviz.org/run).
- 📜 and lastly there is the [visualization guide](https://www.hkviz.org/guide/analytics) that explains the
different visualizations and how to interpret them.

## I have Ideas/Feedback for visualizations

Feel free to [open an issue](https://github.com/hkviz/hkviz-web/issues) on this repository, write @olivergrack on discord or contact me via [[email protected]](mailto:[email protected]).

## How to use

To get started recording your own gameplay analytics visit [hkviz.org](https://www.hkviz.org).

You can also view gameplays from other players, if they send you a link and have set their gameplay to 'public' or 'unlisted' or by visiting the
[public gameplays page](https://www.hkviz.org/run).

## For developers

To set this project up locally:

- First copy the .env.example file in the root directly, and fill it with connection information for
- 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
- Start the project locally using `npm run dev`
- If needed [install pnpm](https://pnpm.io/installation)
- Install dependencies using `pnpm install`.
- Start the project locally using `pnpm dev`

### Project structure

This project is a monorepo, with the following packages:
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 `@hkviz/hk-data` package. Currently, this separation is not yet finished. Therefore, licenses are still missing.
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.
4 changes: 2 additions & 2 deletions src/routes/(docs)/_changelog.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mod Version 1.6.0.0

**(To be released)**
**2025-01-31**

- **Better error recovery when uploading data**:
As the website version 3.0.0 or later now provides better information and error handling when a file upload is reattempted,
Expand All @@ -9,7 +9,7 @@

# Website 3.0.0

**(To be released)**
**2025-01-31**

- **Room analytics based on timeline position**:
Following confusions in the user study, the room analytics now updates based on the timeline position, but can also be set to display the gameplay totals like they did before.
Expand Down

0 comments on commit 5df246d

Please sign in to comment.