Skip to content

lazydrupi/lacus

 
 

Repository files navigation

Lacus

A capturing system using playwright, as a web service.

Install guide

System dependencies

You need poetry installed, see the install guide.

Prerequisites

You need to have redis cloned and installed in the same directory you clone this template in: this repoitory and and redis must be in the same directory, and not redis cloned in the this directory. See this guide.

Installation

Clone this repository:

git clone https://github.com/ail-project/lacus.git

From the directory you just cloned, run:

poetry install

Install the system dependencies required by playwright (will call sudo):

poetry shell 
playwright install-deps

Initialize the .env file:

echo LACUS_HOME="`pwd`" >> .env

Initialize the config and install playwright browsers:

poetry run update --init

This will already launch a first instance.

Configuration

Edit the config file config/generic.json, and configure it accordingly to your needs.

Usage

Start the tool (as usual, from the directory):

poetry run start

You can stop it with

poetry run stop

With the default configuration, you can access the web interface on http://0.0.0.0:7100, where you will find the API and can start playing with it.

About

Lacus is a capturing system using playwright, as a web service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%