Versia Server frontend, designed with Nuxt.
Find a file
2024-11-29 22:39:42 +01:00
.github ci: 💚 Correctly name CI mirror workflow 2024-11-04 11:40:49 +01:00
.vscode refactor: ♻️ Disable Nuxt component auto-importing (obscures code flow) 2024-06-20 16:09:09 -10:00
assets feat: 🔍 Block all AI crawlers in robots.txt, make users who opt out of indexing not-indexable 2024-06-20 20:01:33 -10:00
components refactor: ♻️ Initiate shadcn/ui refactor 2024-11-29 22:39:42 +01:00
composables fix: 🐛 Fix infinite refresh of account cache 2024-11-29 21:43:41 +01:00
layouts feat: Add ability to set custom background images 2024-11-05 17:37:25 +01:00
lib refactor: ♻️ Initiate shadcn/ui refactor 2024-11-29 22:39:42 +01:00
packages/ui feat: Implement new confirmation modal utility 2024-11-29 22:29:43 +01:00
pages refactor: ♻️ Simplify settings page rendering code 2024-11-15 15:34:18 +01:00
public refactor: ♻️ Use new Versia branding everywhere 2024-08-28 00:23:29 +02:00
server/plugins refactor: ♻️ Simplify settings page rendering code 2024-11-15 15:34:18 +01:00
styles refactor: ♻️ Initiate shadcn/ui refactor 2024-11-29 22:39:42 +01:00
utils feat: Add emoji theme picker 2024-11-05 14:25:28 +01:00
.dockerignore refactor: 🎨 Move Lysand-FE into its own repository 2024-04-14 15:16:57 -10:00
.gitignore feat: Add emoji theme picker 2024-11-05 14:25:28 +01:00
app.vue refactor: ♻️ Initiate shadcn/ui refactor 2024-11-29 22:39:42 +01:00
biome.json chore: ⬆️ Upgrade dependencies 2024-10-23 18:10:31 +02:00
bun.lockb refactor: ♻️ Initiate shadcn/ui refactor 2024-11-29 22:39:42 +01:00
components.json refactor: ♻️ Initiate shadcn/ui refactor 2024-11-29 22:39:42 +01:00
Dockerfile feat: Add emoji theme picker 2024-11-05 14:25:28 +01:00
LICENSE docs: 📝 Make README prettier, add LICENSE 2024-06-09 17:53:51 -10:00
nuxt.config.ts refactor: ♻️ Initiate shadcn/ui refactor 2024-11-29 22:39:42 +01:00
package.json refactor: ♻️ Initiate shadcn/ui refactor 2024-11-29 22:39:42 +01:00
README.md feat: Add emoji theme picker 2024-11-05 14:25:28 +01:00
settings.ts refactor: ♻️ Simplify settings page rendering code 2024-11-15 15:34:18 +01:00
tailwind.config.ts refactor: ♻️ Initiate shadcn/ui refactor 2024-11-29 22:39:42 +01:00
tsconfig.json feat: Implement new confirmation modal utility 2024-11-29 22:29:43 +01:00

Versia Logo

versia-fe

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

Features

  • Timelines: public, home, local
  • Login
  • Notifications
  • Replies
  • Quotes
  • Markdown posts (quasi-unrestricted)
  • Dark mode
  • Following
  • Multiple accounts
  • Custom Emojis
  • Versia Server Permissions support
  • Note editing
  • Alt text support everywhere
  • Media uploads
  • WCAG 2.2 AAA compliance
    • Testing is automated and may not catch all issues, please report any accessibility issues you find.
  • Settings
  • Profile editing

Browser Support

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

  • Chromium: 110+
  • Firefox: 110+
  • Safari: 16+
  • IE: None.

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

  • Chromium: 80+
  • Firefox: 80+
  • Safari: 12+
  • IE: None.

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

  • Bun: Thanks to the Bun team for creating an amazing JavaScript runtime.
  • Nuxt: Thanks to the Nuxt team for creating an amazing Vue framework.

People

  • April John: Creator and maintainer of the Versia Server ActivityPub bridge.