Initial commit

This commit is contained in:
2021-06-10 13:45:24 +02:00
parent d95772627e
commit 51618d2dcc
33 changed files with 3423 additions and 126 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
// Server: irc.ppy.sh
// Port: 6667
// Username: username_with_underscores_instead_of_spaces
// Server Password: xxxxxxxx
// -------------------------------------------
// You can just copy-paste your "IRC details"
// from https://osu.ppy.sh/p/irc to this file.
//
// Make sure to keep the first line as "<?php"
// without the quotes because it "hides" your
// sensitive information without further
// configuration.
//
// You can also keep it outside of your web
// directory and save it as a plain text file
// That way you will never have to worry
// about accidentally sharing sensitive
// information.
// -------------------------------------------
+11
View File
@@ -0,0 +1,11 @@
<?php
// for api v1
$api_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // osu! API v1 key, get one at https://osu.ppy.sh/p/api
// for api v2
$client_id = "1234"; // osu! API v2 client ID, register one at https://osu.ppy.sh/home/account/edit#new-oauth-application
$client_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // v2 client secret, you will get one with registering a client ID
$callback_uri = "https://example.com/path/to/Unalike/OAuth/"; // the location where users will be redirected after logging in
// note that you will have to provide the same path when registering your client on the osu website!
// the comments are not needed for your live api_key.php file. the order of the lines are not important except for the very first line
+8
View File
@@ -0,0 +1,8 @@
<?php
// Copy this file to the unalike root and change the $local_secret variable to something unique.
$local_secret = "xxxxxSomethingUniqueHerePls12345";
// It is recommended to choose a long and complicated secret (at least a 100 characters long alphanumeric string)
// Using special characters is not advised because this is sent through the HTTP(S) protocol GET method with
// god knows what encoding...