Get github repositories previews.
Open in your browser the next link
https://github-preview.onrender.com/ < git user > / < repo name >
Go to
https://github-preview.onrender.com/matichewer/PDF-Password-Remover
And you get something like this:
{
"title":"GitHub - matichewer/PDF-Password-Remover: Elimina masivamente las contraseñas de archivos PDF.",
"description":"Elimina masivamente las contraseñas de archivos PDF. - matichewer/PDF-Password-Remover",
"imageUrl":"https://opengraph.githubassets.com/56325fc290934e48aaa1b65d1ee7d4f904ef3aa46b3e0e5eec3607d09a6d3129/matichewer/PDF-Password-Remover"
}
The link in the parameter 'imageUrl' is the next image:
git clone https://github.com/matichewer/github-preview
cd github-preview/
HOST_NAME=0.0.0.0
PORT=3000
docker compose up -d
Install dependencies
npm install
Run in production
npm start
Run in dev
npm run dev
And you can test it: