versia-pub / frontend

Versia Server frontend, designed with Nuxt.
https://social.lysand.org
GNU Affero General Public License v3.0
1 stars 0 forks source link
lysand nuxt typescript vue

Versia Logo

versia-fe

Versia-FE is a beautiful, fast and responsive front-end for the Versia Server project.

Features

Browser Support

The following browsers are supported (issues will be prioritized):

The following browsers will very likely work, but are not officially supported:

Other browsers may work, but are not guaranteed to.

Performance

JavaScript Bloat

The total JavaScript bundle size is less than 900 kB, but this is made even smaller by the fact that the bundle is split into multiple files, and only the necessary files are loaded on each page.

Benchmarks

Benchmarks are due to be conducted soon™.

Installation

Versia-FE is included in the provided docker-compose file during Versia Server installation.

To have Versia-FE and Versia Server running on the same domain, edit the Versia Server configuration to point to the Versia-FE container's address (frontend category inside config).

Manual Installation

Here are the steps to install Versia-FE manually:

Docker/Podman

services:
    fe:
        image: ghcr.io/versia-pub/frontend:main
        container_name: versia-fe
        restart: unless-stopped
        networks:
            - versia-net
        environment:
            NUXT_PUBLIC_API_HOST: https://yourserver.com
            # For Tor users, set the following environment variable in addition to the above
            # NUXT_PUBLIC_ONION_API_HOST: http://youronionserver.onion

Then, the frontend will be available at http://localhost:3000 inside the container. To link it to a Versia Server, set the NUXT_PUBLIC_API_HOST environment variable to the server's URL.

Development

Make sure to run bun run emojis:generate to generate the emoji list before building or running the project.

License

This project is licensed under the AGPL 3.0 - see the LICENSE file for details.

Acknowledgments

Projects

People