-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from hkviz/readme-restructure
restructured readme and added dates to released versions in changelog
- Loading branch information
Showing
2 changed files
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters