Luke100000 / ImmersiveLibrary

A generic user asset library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Immersive Library

A generic user asset library, accessible via REST API, authenticated via Google Auth.

Features

  • Read access by anyone
  • Authentication via Google Sign-In
  • Tags
  • Likes
  • Moderator status
  • Banning and optionally purging users

How to use

Server

The server is implemented in python using FastAPI. Launch using e.g. uvicorn:

cd python
uvicorn --reload main:app

Client

For most methods a user-chosen access token is required. To acquire, call Google Sign-In and forward the response to

/v1/auth?token=YOUR_TOKEN

A Java example is included in the repo. The token should be securely random and sufficient in size.

API

Access the documentation in your browser at /redoc or /docs.

About

A generic user asset library


Languages

Language:Python 84.0%Language:HTML 7.1%Language:JavaScript 5.3%Language:Java 2.0%Language:CSS 1.6%