intel-screenbot

An Ingress Intel Map Bot for Hangoutsbot
git clone git://archive.git.mtrnord.blog/MTRNord/intel-screenbot.git
Log | Files | Refs | README | LICENSE

commit 63afc6a83d195ab3c1d0f417567343b8d797b400
parent 05334ff9e081735380dc9033d551d31184794c55
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 15 Nov 2016 08:19:53 +0100

Update docs

Diffstat:
MREADME.md | 30++++++++++++++++++++++++++----
MTODO.md | 1-
2 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -6,7 +6,7 @@ Requires: **PhantomJS** (installation instructions below) Requires: **[hangoutsbot](https://github.com/hangoutsbot/hangoutsbot)** -Get and post a screenshot of the Intel Map. +Get and post a screenshot of the Intel Map. ## Install To install the plugin you need to: @@ -17,7 +17,9 @@ To install the plugin you need to: 4. Run `pip3 install -r requirements.txt` 5. Follow Configuration. -## Configuration +## Configuration with Cookies + +*Note Cookies do have to be changed on daily base* For using the Intel Screenbot you need to add the following to the config.json: ``` @@ -35,6 +37,26 @@ According to the official INSTALL Documention of the hangoutbot you will find th Also you need to add `intel_screenbot` to the plugins. +## Configuration with Email Password + +*Note DON'T set cookies up when using emil/password* +For using the Intel Screenbot you need to add the following to the config.json: + +``` + "intel_screenbot": { + "email": "YOUR EMAIL", + "password": "YOUR Password", + "plugin_dirs": [ + "http://iitc.jonatkins.com/release/plugins" + ] + } +``` + +According to the official INSTALL Documention of the hangoutbot you will find the config.json in `/<username>/.local/share/hangupsbot/` +(NOTE! add an comma behind the last element of the config.json and add it befor the outer element closes) + +Also you need to add `intel_screenbot` to the plugins. + ## How to add gitlab to plugin_dirs 1. Open in browser: `https://gitlab.com/api/v3/projects/search/:REPO_NAME` @@ -85,7 +107,7 @@ You should look at the Documentation of [ingress-ice](https://github.com/nibogd/ * Provide an arbitrary `<url>` to take a screenshot * If no `<url>` is supplied, use the default screenshot URL (or reply with an error if no URL is set) -## PhantomJS Installation +## PhantomJS Installation *May be outdated* @@ -95,7 +117,7 @@ You should look at the Documentation of [ingress-ice](https://github.com/nibogd/ ## Building PhantomJS from Source (Advanced) -Note: It is not within the scope of this project to discuss and resolve build problems with +Note: It is not within the scope of this project to discuss and resolve build problems with external libraries. **Install dependencies** diff --git a/TODO.md b/TODO.md @@ -1,5 +1,4 @@ # TODO -- Add `/bot iitc` - Add `/bot AP` - Add `/bot recharge`