Closed stefanpejcic closed 5 months ago
0.1.6
We are currently using playwright library with both chrom and firefox, which can take up to 2gb of disk space on the server.
100MB /usr/local/lib/python3.10/dist-packages/playwright 1GB /root/.cache/ms-playwright
We can by default use another cdn for screenshots and optionally aloow users to set local screenshots api.
in install script lets instead set another server to be used as api, and skip playwright install:
echo "Setting the API service for website screenshots.." debug_log playwright install debug_log playwright install-deps
https://git.devnet.rs/stefan/2083/-/blob/main/modules/json/screenshots.py
No response
External API will be used for screenshots, and only the benerated images blob will be stored on each server
https://openpanel.co/docs/changelog/0.1.9/#screenshots-api
OpenPanel version(s) affected
0.1.6
Description
We are currently using playwright library with both chrom and firefox, which can take up to 2gb of disk space on the server.
We can by default use another cdn for screenshots and optionally aloow users to set local screenshots api.
How to reproduce
in install script lets instead set another server to be used as api, and skip playwright install:
Possible Solution
https://git.devnet.rs/stefan/2083/-/blob/main/modules/json/screenshots.py
Additional Context
No response