MarginaliaSearch/code/functions/live-capture
Viktor Lofgren e24a98390c (feed) Update API to allow specifying clean vs refresh update
Move the logic deciding which operation to perform into the actor, updating its state graph to incorporate a counter that runs a clean update once in a blue moon.
2024-11-09 18:43:47 +01:00
..
api (feed) Update API to allow specifying clean vs refresh update 2024-11-09 18:43:47 +01:00
java/nu/marginalia (feed) Update API to allow specifying clean vs refresh update 2024-11-09 18:43:47 +01:00
test/nu/marginalia/livecapture Add a new function 'Live Capture' for on-demand screenshot capture 2024-09-27 13:46:34 +02:00
build.gradle (feeds) Correct parallelism using SimpleBlockingThreadPool 2024-11-09 17:56:43 +01:00
readme.md (live-capture) Add readme to live-capture function 2024-09-28 11:35:46 +02:00

This is a subsystem that allows on-demand screenshot capture of a website.

It uses the local browserless API to capture data. To use this module, you must have a browserless docker container running on machine, and then set the live-capture.browserless-uri system property to the address of the browserless container (e.g http://my-container:3000/).

When disabled, the subsystem will acknowledge the request, but will not act on it.

The module will only enable on the primary node of a service to simplify dealing with race conditions and duplicate requests.