Flask app for creating and sharing osu! beatmap playlists.
-
clone this repository
git clone git@github.com:yfxu/osulist.git cd osulist
-
setup virtual environment and install dependencies
python3 -m venv env source /env/bin/activate pip install -r requirements.txt
-
create a MongoDB atlas cluster online at https://www.mongodb.com/cloud/atlas
- create a public user with read & write access to the cluster
- configure the network access to grant database access to your machine
-
create a new OAuth application in your osu! account settings https://osu.ppy.sh/home/account/edit
-
setup environment variables
- create a
.env
file intouch .env
- add the following variables to your
.env
fileAPP_SECRET_KEY=<some hard-to-guess string> MONGO_URI=<your MongoDB connection string> OSU_TOKEN=<your osu! api v1 token> OSU_CLIENT_SECRET=<osu! OAuth application client secret> OSU_CLIENT_ID=<osu! OAuth application 4-digit client ID> BASE_URL=<url where your application will be hosted>
- create a
-
start development server
python osulist.py
Please play my osu! beatmaps