Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: tosuapp #199

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
690 changes: 345 additions & 345 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Pull requests are the best way to propose changes to the codebase. We actively w
## Any contributions you make will be under the GNU Lesser General Public License v3.0
In short, when you submit code changes, your submissions are understood to be under the same [GNU Lesser General Public License v3.0](https://choosealicense.com/licenses/lgpl-3.0/) that covers the project. Feel free to contact the maintainers if that's a concern.

## Report bugs using Github's [issues](https://github.com/KotRikD/tosu/issues)
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/KotRikD/tosu/issues/new); it's that easy!
## Report bugs using Github's [issues](https://github.com/tosuapp/tosu/issues)
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/tosuapp/tosu/issues/new); it's that easy!

## Write bug reports with detail, background, and sample code

Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center">
<img alt="Version" src="https://img.shields.io/github/release/KotRikD/tosu.svg?style=for-the-badge&color=%235686A2" />
<img alt="Version" src="https://img.shields.io/github/release/tosuapp/tosu.svg?style=for-the-badge&color=%235686A2" />
<img src="https://img.shields.io/badge/node-%3E%3D20.11.1-45915E.svg?style=for-the-badge&logo=node.js&logoColor=white" />
<a href="https://github.com/KotRikD/tosu/blob/master/LICENSE" target="_blank"><img alt="License: GPL--3.0" src="https://img.shields.io/github/license/KotRikD/tosu?style=for-the-badge&color=%23A27456" /></a>
<a href="https://github.com/tosuapp/tosu/blob/master/LICENSE" target="_blank"><img alt="License: GPL--3.0" src="https://img.shields.io/github/license/tosuapp/tosu?style=for-the-badge&color=%23A27456" /></a>
<a href="https://twitter.com/kotrik0" target="_blank"><img alt="Twitter: kotrik0" src="https://img.shields.io/badge/kotrik0-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" /></a>
</p>

Expand All @@ -22,15 +22,15 @@ Eponymous software for reading osu! memory, accounting for most of gosumemory's

<div align="center">
<a href="https://boosty.to/kotrik/donate"><img src=".github/button-boosty.png" /></a><br>
<a href="https://github.com/KotRikD/tosu/releases/latest"><img src=".github/button-download.png" /></a>
<a href="https://github.com/tosuapp/tosu/releases/latest"><img src=".github/button-download.png" /></a>
<a href="https://discord.gg/WX7BTs8kwh"><img src=".github/button-discord.png" /></a>
<a href="https://github.com/cyperdark/osu-counters/tree/master/counters"><img src=".github/button-counters.png" /></a>
<a href="https://github.com/tosuapp/counters/tree/master/counters"><img src=".github/button-counters.png" /></a>
</div>


Instruction
---
1. Download [tosu](https://github.com/KotRikD/tosu/releases/latest)
1. Download [tosu](https://github.com/tosuapp/tosu/releases/latest)
2. Extract tosu.exe to a `Folder`
3. Run `tosu.exe`
4. Go to [http://127.0.0.1:24050](http://127.0.0.1:24050)
Expand Down Expand Up @@ -68,7 +68,7 @@ Features
In-game overlay
---
- To enable it, you need to edit `tosu.env`, and turn on `ENABLE_GOSU_OVERLAY=true` (make it equal `true`)
- Tutorial: [link](https://github.com/KotRikD/tosu/wiki/How-to-enable-ingame-overlay)
- Tutorial: [link](https://github.com/tosuapp/tosu/wiki/How-to-enable-ingame-overlay)
---


Expand All @@ -79,19 +79,19 @@ Routes
gosu compatible api
- `/` - List of all counters you have
- `/json` - Example of `/ws` response
- `/ws` - [response example](https://github.com/KotRikD/tosu/wiki/v1-websocket-api-response)
- `/ws` - [response example](https://github.com/tosuapp/tosu/wiki/v1-websocket-api-response)
- `/Songs/{path}` - Show content of the file, or show list of files for a folder

v2 _**(tosu own api)**_
- `/json/v2` - Example of `/websocket/v2` response
- `/websocket/v2` - [response example](https://github.com/KotRikD/tosu/wiki/v2-websocket-api-response)
- `/websocket/v2/precise` - [response example](https://github.com/KotRikD/tosu/wiki/v2-precise-websocket-api-response)
- `/websocket/v2` - [response example](https://github.com/tosuapp/tosu/wiki/v2-websocket-api-response)
- `/websocket/v2/precise` - [response example](https://github.com/tosuapp/tosu/wiki/v2-precise-websocket-api-response)
- `/files/beatmap/{path}` - same as `/Songs/{path}`
- `/files/skin/{path}` - similar as `/files/beatmap/{path}`, but for a skin

api
- `/api/calculate/pp` - Calculate pp for beatmap with custom data
- [Response example](https://github.com/KotRikD/tosu/wiki/api-calculate-pp-response-example)
- [Response example](https://github.com/tosuapp/tosu/wiki/api-calculate-pp-response-example)
- BY DEFAULT IT USES CURRENT BEATMAP (:))
- All parameters are optional
- `path` - Path to .osu file. Example: C:/osu/Songs/beatmap/file.osu
Expand Down Expand Up @@ -132,11 +132,11 @@ Special thanks to [@xxCherry](https://github.com/xxCherry), for providing memory

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/KotRikD/tosu/issues). You can also take a look at the [contributing guide](https://github.com/KotRikD/tosu/blob/master/CONTRIBUTING.md).
Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/tosuapp/tosu/issues). You can also take a look at the [contributing guide](https://github.com/tosuapp/tosu/blob/master/CONTRIBUTING.md).

<br />

## 📝 License

Copyright © 2023-2024 [Mikhail Babynichev](https://github.com/KotRikD).<br />
This project is [LGPL-3.0](https://github.com/KotRikD/tosu/blob/master/LICENSE) licensed.
This project is [LGPL-3.0](https://github.com/tosuapp/tosu/blob/master/LICENSE) licensed.
2 changes: 1 addition & 1 deletion development.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
1. Clone repository

```
git clone https://github.com/KotRikD/tosu.git
git clone https://github.com/tosuapp/tosu.git
```

2. Go to project folder
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
"pnpm run lint:fix"
]
},
"homepage": "https://github.com/KotRikD/tosu#readme",
"homepage": "https://github.com/tosuapp/tosu#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/KotRikD/tosu.git"
"url": "git+https://github.com/tosuapp/tosu.git"
},
"bugs": {
"url": "https://github.com/KotRikD/tosu/issues"
"url": "https://github.com/tosuapp/tosu/issues"
},
"engines": {
"node": ">=20.11.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/common/utils/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const downloadFile = (
const options = {
headers: {
Accept: 'application/octet-stream',
'User-Agent': '@KotRikD/tosu'
'User-Agent': '@tosuapp/tosu'
}
};

Expand Down
Binary file modified packages/server/assets/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/server/assets/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</div>
<main>
<div class="links flexer">
<a href="https://github.com/KotRikD/tosu/wiki" target="_blank" class="flexer button open-button">
<a href="https://github.com/tosuapp/tosu/wiki" target="_blank" class="flexer button open-button">
wikl
<i class="icon-link"></i>
</a>
Expand All @@ -79,7 +79,7 @@
<!-- <a href="/?tab=3" class="tab-item">How to add counter</a> -->
<div class="indent-left">
<input class="search-bar" type="text" placeholder="search">
<!-- <a href="https://github.com/cyperdark/osu-counters/?tab=readme-ov-file#how-to-submit-pp-counter" target="_blank" class="button submit-button">Submit</a> -->
<!-- <a href="https://github.com/tosuapp/counters/?tab=readme-ov-file#how-to-submit-pp-counter" target="_blank" class="button submit-button">Submit</a> -->
</div>
</div>
<div class="results">
Expand Down
2 changes: 1 addition & 1 deletion packages/server/utils/counters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ export function buildInstructionLocal(res: http.ServerResponse) {
1. <b>Create a new folder</b>:<br>- First, create a <a>new folder</a> inside your <a class="button open-button small" n="static.exe">static folder</a>.<br><br>
2. <b>Move your pp counter files</b>:<br>- Next, move <a>your pp counter</a> files into the newly created folder.<br><br>
3. <b>Download and place metadata file</b>:<br>- Download the <a
href="https://raw.githubusercontent.com/cyperdark/osu-counters/master/quickstart/metadata.txt"
href="https://raw.githubusercontent.com/tosuapp/counters/master/quickstart/metadata.txt"
target="_blank">metadata.txt</a> file and place it in the counter folder.<br><br>
4. <b>Fill out the metadata file</b>:<br>- Finally, <a>open</a> the metadata.txt file and <a>fill out</a> the necessary information.
</p>
Expand Down
Binary file removed packages/tosu/src/assets/android-chrome-512x512.png
Binary file not shown.
Binary file modified packages/tosu/src/assets/icon.ico
Binary file not shown.
Binary file removed packages/tosu/src/assets/icon.png
Binary file not shown.
3 changes: 1 addition & 2 deletions packages/updater/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import path from 'path';
// NOTE: _version.js packs with pkg support in tosu build
const currentVersion = require(process.cwd() + '/_version.js');

const repositoryName = 'tosu';
const fileDestination = path.join(getProgramPath(), 'update.zip');
const backupExecutablePath = path.join(getProgramPath(), 'tosu_old.exe');

Expand Down Expand Up @@ -50,7 +49,7 @@ export const checkUpdates = async () => {
}

const request = await fetch(
`https://api.github.com/repos/KotRikD/${repositoryName}/releases/latest`
`https://api.github.com/repos/tosuapp/tosu/releases/latest`
);
const json = (await request.json()) as any;
const {
Expand Down
Loading