A fancy ShareX server with a dashboard made with NextJS and NestJS.
Go to file
renzynx 852ef6ca5e
Merge pull request #37 from renzynx/dependabot/npm_and_yarn/api/http-cache-semantics-4.1.1
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /api
2023-02-18 12:24:42 +07:00
.github Update README.md 2023-01-15 17:48:44 +07:00
.vscode s3 support and ui refactor 2022-12-25 14:45:18 +07:00
api Bump http-cache-semantics from 4.1.0 to 4.1.1 in /api 2023-02-04 20:47:03 +00:00
web Bump json5 from 1.0.1 to 1.0.2 in /web 2023-01-10 03:01:34 +00:00
.gitignore added a bunch of stuff 2022-12-30 12:05:39 +07:00
LICENSE Add LICENSE 2022-12-16 02:13:37 +00:00
TODO.md update todo 2022-12-25 22:05:23 +07:00
docker-compose.dev.yml added a bunch of stuff 2022-12-30 12:05:39 +07:00
docker-compose.example.yml added a bunch of stuff 2022-12-30 12:05:39 +07:00
entrypoint.sh We know the game and we're gonna play it 2022-12-19 19:12:25 +07:00

.github/README.md

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