The project offers different workflows. A description of the main flows can be found here:
Authentication
The authentication is needed to serve users documents to only the appropriate user.
A user can register using a invite link, where they afterwards are able to login using the created account.
Registration
By providing a username (unique), and a display name. The user is created using passkeys.
Login
The user is prompted to enter their passkey, which is the only identification needed to login.
Creating documents
Documents are grouped in projects, where one project can have multiple documents.
This is useful, as one project is for a certain research topic, where multiple documents is relevant.
The user can create documents, where a document either is a uploaded pdf, or a custom text inserted/written in an input field.
The user can request the document read aloud, and once complete the audio can be played back, with the text read being highlighted. (This should work with audio being generated in time to be played)
Translation
The user should be able to choose the language of the inputted text. The text would then be translated to English before being read aloud.