summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-04-27 14:03:50 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-04-27 14:03:50 +0800
commitd6d833497390a6f6ba7204c730454be50246e9d4 (patch)
tree21dacb8e1ab258105f72f71f8f6357fd354a6120
parentb35fc4347781ba69ae9b1295af14e848aeb3ce11 (diff)
update
-rwxr-xr-xautoclicker.py16
-rwxr-xr-xbin/autoclickerbin0 -> 7571432 bytes
-rwxr-xr-xstartgptweb2
-rwxr-xr-xstopgptweb2
4 files changed, 20 insertions, 0 deletions
diff --git a/autoclicker.py b/autoclicker.py
new file mode 100755
index 0000000..98d6910
--- /dev/null
+++ b/autoclicker.py
@@ -0,0 +1,16 @@
+from time import sleep
+from random import uniform
+from pynput.mouse import Controller, Button
+from sys import argv
+
+mouse = Controller()
+
+if len(argv) > 1:
+ delay = int(argv[1]) // 1000
+ while True:
+ mouse.click(Button.left, 1)
+ sleep(delay)
+else:
+ while True:
+ mouse.click(Button.left, 1)
+ sleep(round(uniform(0.035, 0.055), 3))
diff --git a/bin/autoclicker b/bin/autoclicker
new file mode 100755
index 0000000..0015548
--- /dev/null
+++ b/bin/autoclicker
Binary files differ
diff --git a/startgptweb b/startgptweb
new file mode 100755
index 0000000..b134cbb
--- /dev/null
+++ b/startgptweb
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+docker start chatgpt-web
diff --git a/stopgptweb b/stopgptweb
new file mode 100755
index 0000000..7ec4bd1
--- /dev/null
+++ b/stopgptweb
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+docker stop chatgpt-web