This repo is a rewrite of the serverless functions used in the AFFiNE project. It is intended to be used in self-hosted instances of AFFiNE. You will need a Docker Container to run this project and then setup a reverse proxy pointing from your-domain.xx/api/worker/link-preview
to the container.
Use the HOST_NAMES variable to specify your own domain for CORS.