Riven

Overview

What Riven's web frontend is and how it connects to Riven

The frontend is under active development. Some pages - such as the dashboard, calendar, settings and logs - are not available yet.

The Riven frontend is a Next.js web app for browsing and managing a running Riven instance. It ships as its own Docker image, separate from Riven itself, and talks to Riven over HTTP.

How it connects to Riven

The frontend doesn't store any data of its own. Accounts, sessions and media all live in Riven:

  • Accounts and sessions are handled by Riven's auth API (/api/auth).
  • Library data comes from Riven's GraphQL API (/graphql).

The frontend forwards requests for both of these paths on to Riven, so the browser can reach them through the frontend's own URL. Because of this, the frontend and Riven each need to know where the other is:

SideSettingPoints at
FrontendBACKEND_URLRiven's API, e.g. http://riven:3000
FrontendORIGINThe URL you open the frontend at
RivenRIVEN_FRONTEND_SETTING__originThe same URL as ORIGIN

On this page