2024-05-06 21:17:12 +02:00
< p align = "center" >
2024-08-28 00:23:29 +02:00
< a href = "https://versia.pub" > < img src = "https://cdn.versia.pub/branding/logo-dark.svg" alt = "Versia Logo" height = "110" > < / a >
2024-05-06 21:17:12 +02:00
< / p >
2024-08-28 00:23:29 +02:00
< center > < h1 > < code > versia-fe< / code > < / h1 > < / center >
2024-05-06 21:17:12 +02:00
2024-08-28 00:23:29 +02:00
**Versia-FE** is a beautiful, fast and responsive front-end for the Versia Server project.
2024-05-06 21:17:12 +02:00
## Features
- [x] Timelines: public, home, local
- [x] Login
- [x] Notifications
- [x] Replies
- [x] Quotes
2024-06-10 05:53:51 +02:00
- [x] Markdown posts (quasi-unrestricted)
2024-05-06 21:17:12 +02:00
- [x] Dark mode
- [x] Following
2024-06-10 05:53:51 +02:00
- [x] Multiple accounts
- [x] Custom Emojis
2024-08-28 00:23:29 +02:00
- [x] Versia Server Permissions support
2024-06-10 05:53:51 +02:00
- [x] Note editing
- [x] Alt text support everywhere
- [x] Media uploads
2024-06-10 06:33:14 +02:00
- [x] WCAG 2.2 AAA compliance
2024-12-07 13:52:29 +01:00
- Testing is automated and will not catch all issues, please report any accessibility issues you find.
2024-06-19 08:16:28 +02:00
- [x] Settings
- [x] Profile editing
2024-05-06 21:17:12 +02:00
2024-06-10 05:53:51 +02:00
### Browser Support
2024-05-06 21:17:12 +02:00
2024-06-10 05:53:51 +02:00
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
2024-12-07 13:52:29 +01:00
### JavaScript
2024-06-10 05:53:51 +02:00
2024-12-07 13:52:29 +01:00
The **total** JavaScript bundle size is less than `1000 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.
2024-06-10 05:53:51 +02:00
### Benchmarks
2024-12-07 13:52:29 +01:00
Soon™.
2024-05-06 21:17:12 +02:00
## Installation
2024-08-28 00:23:29 +02:00
Versia-FE is included in the provided `docker-compose` file during [Versia Server installation ](https://github.com/versia-pub/server/blob/main/docs/installation.md ).
2024-05-06 21:17:12 +02:00
2024-08-28 00:23:29 +02:00
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).
2024-05-06 21:17:12 +02:00
### Manual Installation
2024-08-28 00:23:29 +02:00
Here are the steps to install Versia-FE manually:
2024-05-06 21:17:12 +02:00
#### Docker/Podman
```yaml
services:
fe:
2024-08-28 00:23:29 +02:00
image: ghcr.io/versia-pub/frontend:main
container_name: versia-fe
2024-05-06 21:17:12 +02:00
restart: unless-stopped
networks:
2024-08-28 00:23:29 +02:00
- versia-net
2024-05-06 21:17:12 +02:00
```
2024-12-07 13:54:41 +01:00
Then, the frontend will be available at `http://localhost:3000` inside the container.
> [!TIP]
>
> By default, Versia-FE will connect to any Versia Server instance running on the same domain.
>
> You can set the `NUXT_PUBLIC_API_HOST` environment variable to point to a different Versia Server instance.
2024-06-10 05:53:51 +02:00
2024-11-05 14:25:28 +01:00
## Development
2024-12-07 13:54:41 +01:00
Run `bun run emojis:generate` to generate the emoji list before building or running the project.
2024-11-05 14:25:28 +01:00
2024-06-10 05:53:51 +02:00
## License
This project is licensed under the AGPL 3.0 - see the [LICENSE ](LICENSE ) file for details.
## Acknowledgments
### Projects
- [**Bun** ](https://bun.sh ): Thanks to the Bun team for creating an amazing JavaScript runtime.
- [**Nuxt** ](https://nuxt.com ): Thanks to the Nuxt team for creating an amazing Vue framework.
### People
2024-08-28 00:23:29 +02:00
- [**April John** ](https://github.com/cutestnekoaqua ): Creator and maintainer of the Versia Server ActivityPub bridge.