Skip to content

mcdoubleyou/ingress-ice

 
 

Repository files navigation

Automatic screenshooter for ingress intel map.

Features:

  • Captures screenshots of ingress intel map every n seconds
  • Set your location
  • Authentication using login and password or cookies available
  • Supports 2-step authentication
  • Doesn't require X server to be run
  • Set portal levels to display
  • Use IITC (optionally)
  • Timestamp on screenshots (optionally)
  • Fully cross-platform: supports Windows, GNU/Linux and Mac OS X!
  • Hide some features like fields or links from the map (IITC only)
  • It's portable — you can run ice from a flash drive or a DropBox folder
  • Can be run via Docker (Docker Hub)

See our samples.

+Ingress ICE

Dependencies (Linux)

Usage

WARNING! ingress-ice may be considered against Ingress ToS (although it hasn't happened before). Use it at your own risk!

Windows

  1. Unpack the archieve wherever you want
  2. Double-Click ingress-ice.cmd and follow the instructions
  3. It will save captured screenshots with into Ice-2014-07-13--09-13-37.png, Ice-2014-07-13--09-14-07.png...

If you want to reconfigure the script, just double click reconfigure.cmd. If you want to use cookies instead of login and password, see cookies authentication.

Linux/Mac OS X

  1. Unpack the archieve wherever you want
  2. Run chmod +x ingress-ice&&./ingress-ice in console and follow the instructions
  3. It will save captured screenshots with into Ice-2014-07-13--09-13-37.png, Ice-2014-07-13--09-14-07.png...
  4. You can run it from any folder where you want to save screenshots.

If you want to reconfigure the script, run ./ingress-ice -r . See CLI usage. If you want to use cookies instead of login and password, see cookies authentication.

Creating videos

To create a video from your screenshots, you can use MPlayer (Windows download) (install from your repo if on linux). It includes a mencoder command. The following will produce an .avi video: (Detailed instruction for windows here)

mencoder mf://*.png -mf w=1366:h=768:fps=4:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o ingress-ice.avi

Change 1366 and 768 to your width and height, fps=4 to your FPS (more FPS - faster video, but shorter)

  • @nibogd — Author;
  • @c2nprds — Optimizations; Amazon S3 upload method;
  • @mfcanovas — Cookies storing for login authentication;
  • @pheanex — First version of Dockerfile;
  • @tom-eagle92 — Mac OS X support;
  • All contributors of PhantomJS;

ICE uses [PhantomJS](http://phantomjs.org/), it's binary is packed with the script.

Ingress trademark belongs to Google, Inc.

About

Automatic screenshooter for ingress intel map

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.4%
  • Shell 16.4%
  • Batchfile 4.2%