Skip to content

JSPaste/Backend

Repository files navigation

Backend

OSSF-Scorecard Codacy

Setup

Binaries

  • Download the latest release
  • Uncompress to a new folder
  • Modify the .env.example file to your needs and rename it to .env
  • Execute the binary...

Windows:

powershell -c ".\backend.exe"

Linux & macOS:

chmod +x ./backend
./backend

Container

  • Pull latest image: docker pull ghcr.io/jspaste/backend:latest
  • Run container: docker run -e DOCS_ENABLED=true -d -p 127.0.0.1:4000:4000 ghcr.io/jspaste/backend:latest

Validate

Important

ALL artifacts and images originate from this repository, no other artifacts or images built and distributed outside that repository are considered secure nor trusted by the JSPaste developers.

Artifacts are attested and can be verified using the following command:

gh attestation verify backend.tar.gz \
  --owner JSPaste

Since container version 2024.05.06-e105023, images are attested and can be verified using the following command:

gh attestation verify oci://ghcr.io/jspaste/backend:latest \
  --owner JSPaste

You can verify the integrity and origin of an artifact and/or image using the GitHub CLI or manually at JSPaste Attestations.

License

This project is licensed under the EUPL License. See the LICENSE file for more details.