Git Product home page Git Product logo
Osekai photo

osekai Goto Github PK

repos: 24.0 gists: 0.0

Name: Osekai

Type: Organization

Bio: the home of alternative rankings, in-depth profile info, medal solutions, hundreds of versions, and more for osu! - check it out now at https://osekai.net

Twitter: osekaiapp

Location: Germany

Blog: osekai.net

Osekai

Hey there, welcome to the official Osekai repository! We're an open-source website specializing in apps and tools for the rhythm game "osu!"

If you're interested in helping out with development, read on! Else, if you just want to use the website, check it out here!

Setup

Clone the folder locally. Create a database using MySQL or MariaDB and import the template.sql. Put info into config.php.

Make oauth app on osu! and put in data to config.php, along with api v1 credentials.

Running

Local Php Server

Run php -S localhost:8080 in the folder, then access at http://localhost:8080

Apache Setup

An Apache/httpd setup is required to run Osekai completely. Without it, certain apps such as Teams, Tools, and more will not function, and pages such as the 404 page will not show up. If you are planning to work on osekai alot, using apache is recommended.

The easiest way to do this is to install XAMPP, and then change the directory in the httpd/apache config to point to your Osekai clone.

If you feel like installing it manually, though, start by setting up apache like you usually would, you can follow a plethora of online tutorials for this. After you're done, just make sure it's using php8.1 and is pointing to the Osekai folder.

You can use this script I've made to quickly switch between folders, keep in mind this'll only work on Arch Linux, so you'll need to edit the script for other distros. - sudo switch /home/tanza/Documents/orgs/osekai/osekai

Database Setup

Create a new user, call it whatever, whatever password, just remember it.

Make a new database called osekai, you can name it whatever, but osekai is recommended. It's recommended to make it using utf8mb4_bin

Run all the files in db/ on this table, you can do this by just copying the content into a query tab and running it.

At that point you just need to fill in each field in config.php, and it should work.

Snapshots & Admin Panel

For Snapshots and Admin Panel to work, you must install the PHP gd Extension:

  • sudo apt install php-gd / sudo pacman -S php-gd and add to php.ini

On any issues - please contact me! (Hubz/Tanza)

Windows

On Windows, SSL will not function with cURL, and Login will not work. To fix, please download cacert.pem and place it in a folder. Then in your php.ini under [curl] add curl.cainfo = "C:\php\cacert.pem" and under [openssl] add openssl.cafile = "C:\php\cacert.pem". Should look like so:

image

You should now be able to login.

Osekai's Projects

node-irc icon node-irc

Node.js socket wrapper for the IRC protocol (client-side)

osekai icon osekai

the home of alternative rankings, in-depth profile info, medal solutions, hundreds of versions, and more - we're working on a new website version, we'll open source it when it's ready!

osekai-db icon osekai-db

database class for working on a database using prepared queries with mysqli - by @mulraf

osekai-wip icon osekai-wip

development repository for osekai.net - merged whenever a new release is ready.

tools icon tools

osekai tools apps repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.