Git Product home page Git Product logo

beatsaver-viewer's Introduction

beatsaver-viewer

Web-based viewer for BeatSaver maps, built with A-Frame and JavaScript.

CLICK TO VIEW

https://supermedium.com/beatsaver-viewer/?id=811-535&difficulty=Expert

The viewer works within a normal web browser and can be embedded on any webpage. It can also be previewed within VR headsets on browsers that support VR (e.g., Supermedium).

Featured on BeastSaber and the unofficial Beat Saber Songs site!

Usage

You can visit or link the viewer directly.

Or if you have a site, you can I-Frame the viewer and pass a query parameter containing the song ID and difficulty:

<iframe src="https://supermedium.com/beatsaver-viewer/?id=811-535&difficulty=Expert">

To directly preview a BeatSaver ZIP file, use the ?zip parameter in the URL:

https://supermedium.com/beatsaver-viewer/?zip={zipURL}

Note the ZIP must be served with CORS header. An easy way to do this is to prepend https://cors-anywhere.herokuapp.com/ to your ZIP URL:

https://supermedium.com/beatsaver-viewer/?zip=https://cors-anywhere.herokuapp.com/{YOUR_FULL_ZIP_URL}

To directly link to a seeked time, use the ?time parameter in the URL (seconds):

https://supermedium.com/beatsaver-viewer/?time=15

Roadmap

  • Safari support (BeatSaver currently serves OGGs which are not supported)
  • Custom saber viewer

Community

The BeatSaver viewer is an unofficial community project and not officially affiliated with Beat Saber.

It is adopted officially by the community on the Discord though, used as the official tool for sharing maps online and featured on BeastSaber:

Development

Built with A-Frame, a web framework that we created for building VR experiences. And JavaScript.

npm install
npm run start

Then head to localhost:9999 in your browser.

beatsaver-viewer's People

Contributors

ngokevin avatar feiss avatar rorekk avatar luludotdev avatar thatrobotdev avatar mstrodl avatar

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.