blob: 3d46f32002e50f716105615a9232ce748b668bc4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# LumberJack bot [![CircleCI](https://circleci.com/gh/clarkzjw/LumberJack.svg?style=svg)](https://circleci.com/gh/clarkzjw/LumberJack) [![](https://images.microbadger.com/badges/version/clarkzjw/lumberjack.svg)](https://microbadger.com/images/clarkzjw/lumberjack "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/clarkzjw/lumberjack.svg)](https://microbadger.com/images/clarkzjw/lumberjack "Get your own image badge on microbadger.com")
Current Top Score: 408
![image](https://cloud.githubusercontent.com/assets/2663319/20305522/de7b327e-ab70-11e6-898e-3f286a0b567a.png)
## Usage
```python
python3 bot.py
```
Make sure you have PyAutoGUI installed.
If you use Debian based Linux, you can install PyAutoGUI by
```bash
sudo apt-get install scrot python3-tk python3 python3-dev python3-pip
sudo pip3 install image
sudo pip3 install python3-xlib
sudo pip3 install pyautogui
```
## The Docker way
Although the Docker image of this bot cannot work correctly, you can give it a try. Remember to read the comments on top of Dockerfile
```bash
docker run -it \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
clarkzjw/lumberjack
```
|