matrix-puppeteer-line/puppet
DESKTOP-O1U24RQ\Kevin_Yu 703a08c84d Enhancing for getting contact results, which avoiding an error from the chat history deleted in Line app, then sent someone messages from matrix client. 2022-06-16 23:14:12 +08:00
..
src Enhancing for getting contact results, which avoiding an error from the chat history deleted in Line app, then sent someone messages from matrix client. 2022-06-16 23:14:12 +08:00
.dockerignore Run as non-root user and add optional no-sandbox flag 2020-08-24 18:54:37 +03:00
.eslintrc.json Add API for puppeteer script 2020-08-18 16:47:16 +03:00
.gitignore Update docs 2021-07-02 14:04:53 -04:00
Dockerfile Add required gtk+3.0 dependency for Docker 2022-05-03 22:56:06 -04:00
README.md Fix sandboxing 2022-05-03 22:56:55 -04:00
docker-run.sh Update Dockerfiles and dependencies 2021-07-12 02:27:33 -04:00
example-config-docker.json Fix sandboxing 2022-05-03 22:56:55 -04:00
example-config.json Fix sandboxing 2022-05-03 22:56:55 -04:00
package.json Merge branch 'systemd' into testing 2021-07-14 02:44:07 -04:00
yarn.lock Merge branch 'systemd' into testing 2021-07-14 02:44:07 -04:00

README.md

Listen config

If type is unix, path is the path where to create the socket.

If type is tcp, port and host are the host/port where to listen.

Executable path

The executable_path specifies the path to the Chromium binary for Puppeteer to use. Leaving this setting blank will use the x86_64 Chromium installation bundled with Puppeteer. For other architectures, it is necessary to install a compatible version of Chromium (ideally via your distribution's package manager), and to set executable_path to the path of its binary (typically /usr/bin/chromium).

Sandbox

Whether or not to pass the --no-sandbox flag to Chromium. May be required when running Chromium in a container.

Profile directory

The profile_dir specifies which directory to put Chromium user data directories.

Extension directory

The extension_dir specifies which directory contains the files for the LINE extension, which you must download yourself.

Cycle delay

cycle_delay specifies the period (in milliseconds) at which Puppeteer should view chats to check on their read receipts. Only chats with messages that haven't been fully read need to be checked. Set to a negative value to disable this checking.

xdotool

Set use_xdotool to true to allow the Node process to manipulate the mouse cursor of the X server it runs in. Requires the xdotool utility to be installed. Highly recommended, especially when running in a background X server. Its default value is false so that running in a non-background X server won't interfere with a real mouse cursor.

jiggle_delay specifies the period (in milliseconds) for "jiggling" the mouse cursor (necessary to keep the LINE extension active). Only relevant when use_xdotool is true.

DevTools

Set devtools to true to launch Chromium with DevTools enabled by default.