matrix-puppeteer-line/puppet
Andrew Ferrazzutti e1b822bd52 Jiggle mouse with xdotool to keep LINE alive
Even if Chrome is the only window in an X session, and even if the
window is focused, the LINE extension stops getting new messages unless
the mouse has moved recently. To work around that, use xdotool to move
the mouse every so often.
2021-07-02 14:04:53 -04:00
..
src Jiggle mouse with xdotool to keep LINE alive 2021-07-02 14:04:53 -04: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 .gitignore 2021-06-18 00:08:41 -04:00
Dockerfile Rename again 2021-03-15 01:40:56 -04:00
example-config.json Jiggle mouse with xdotool to keep LINE alive 2021-07-02 14:04:53 -04:00
package.json Document minimum requirements 2021-05-03 02:44:11 -04:00
prep_helper.js Remove Puppeteer timeout for prep script 2021-05-17 02:05:07 -04:00
README.md Jiggle mouse with xdotool to keep LINE alive 2021-07-02 14:04:53 -04:00
yarn.lock More changes 2021-02-26 02:22:41 -05:00

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.

Profile directory

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

URL

url specifies the URL of the index page of the LINE extension for your Chromium installation.

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.

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 virtual X server. Its default value is false so that running in a non-virtual X server won't interfere with a real mouse cursor.

jiggle_delay specifies the period (in milliseconds) between "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.