webapp for oppai
Go JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
maps
static
.gitignore
LICENSE
README.md
base_response.go
beatmap.go
calculate_accuracy.go
completed_statuses.go
db.sql
download_beatmap.go
frontend.go
lazyparser.go
main.go
score.go
worker.go

README.md

oppai-as-a-service

A webapp and API for oppai. Because who the fuck wants to set it up on their own computers when you can just drag and drop an osr file anyway.

At present, this is somehow close to being released, but there is still need to do a lot of stuff. Here's what you need to know if you want to try it out:

  1. You will need a special version of oppai that I built specifically for OaaS and that can be found here. It differs from the original in the fact that the only thing it outputs is the amount of total PP. Not even the newline at the end.
  2. mkdir maps
  3. Configuration is done with env variables DSN and OSU_API_KEY. While OSU_API_KEY is pretty much self-descriptive, you can find out on how to set up the DSN here. If you're testing locally, export DSN=root@/oppai might work.