Skip to content
/ bliss Public

A fancy ShareX server with a dashboard made with NextJS and NestJS.

License

Notifications You must be signed in to change notification settings

renzynx/bliss

Repository files navigation

Features

  • Invite only registration or disable registration completely.
  • Upload files, images, and videos.
  • Manage users role.
  • Limit user quota.
  • Discord Embed customizer.
  • Download and delete files from the dashboard.
  • Downloadable upload config for ShareX, Flameshot.
  • A view page for each file.
  • S3 support (AWS, DigitalOcean, etc.).
  • Easy installation with docker.
  • Easy to use admin panel.
  • Email verification.
  • Chunked upload for uploading big files.

Installing

This guide assumes you have a domain name and a server and have basic knowledge of how to use linux.

Expand for docker installation steps

Requirements

  • docker and docker compose installed

Copy and paste the following into your terminal:

wget https://cdn.amog-us.club/docker-compose.yml

Fill in the docker-compose.yml environment with the appropriate values.

docker compose up -d

To get the initial root account, run the following command:

docker exec api cat /app/initial_root_account.txt

Now you can login with the root account with owner permissions.

Updating

To update the application, run the following command:

docker compose pull && docker compose up -d
Expand for manual installation steps

Requirements

  • node version 16.16.0 or higher
  • pm2 globally installed
  • yarn globally installed
  • caddy installed
  • ffmpeg installed

Backend Installation

Copy and paste the following into your terminal:

git clone https://github.com/renzynx/bliss.git

cd bliss/api

cp .env.example .env

Fill in the .env file with the appropriate values.

yarn install

yarn prisma migrate deploy

yarn build

pm2 start "yarn start:prod" --name "bliss-api"

Frontend Installation

Copy and paste the following into your terminal:

cd ../web

cp .env.example .env

Fill in the .env file with the appropriate values.

yarn install

yarn build

pm2 start "yarn start" --name "bliss-web"

Updating

To update the application, run the following command:

git pull

Then go through the installation steps again.


Domain name and SSL configuration

If you don't have caddy installed already
Click Here

Copy and paste the following into your terminal:

You need to replace the placeholder with your actual domain name and port.

sudo caddy reverse-proxy --from https://yourdomain.com --to localhost:frontend-port
sudo caddy reverse-proxy --from https://api.yourdomain.com --to localhost:backend-port

Caddy will automatically generate a certificate for you.


Screenshots

image image image image image