Code Monkey home page Code Monkey logo

pokemongo-desktopmap's Introduction

Pokémon GO - Live Map

Electron app that bundles the great PokemonGo-Map project with HTML UI and Python dependencies. Shows live visualization of Pokémon in an area.

Checkout the new Discord:

Getting Started

Running the application is easy! You can download the latest version from the Release page.

Once you have downloaded the appropriate ZIP file for your platform, extract it and run "Pokemon GO Live Map" and follow the instructions.

Development Environment

If you are pulling from git, you must first instruct git to fetch the included submodules. Run this after cloning:

git submodule update --init --recursive

Development is currently done on OS X and tested on Windows 10. To get started, you'll need to install NodeJS, Python 2.7, pip, and virtualenv. With Homebrew, I use:

brew install python node
pip install virtualenv
npm install

To run the project, run:

npm start

To make a final build of the project, use grunt:

grunt win32
grunt default

Contributing

All contributions are welcome. If you would like to improve the map backend, please see the PokemonGo-Map project.

Licensing

This project is licensed under the MIT License.

Binary Python Modules

  • xxhash
  • pyproj
  • Cryptodome

pokemongo-desktopmap's People

Contributors

andrewda avatar avellucci avatar binarybeard avatar genuinesounds avatar hfwang avatar kking124 avatar knownaim avatar mchristopher avatar portal-chan avatar rodrigograca31 avatar tealtail avatar traxmaxx avatar williamd1k0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pokemongo-desktopmap's Issues

change my position

how can i change my position and what do the numbers and the set on the top mean?

Save user name and password

There should be a way to save your user name or password so when you reopen the application from a closed state you done need to re-auth yourself.

5 Pokemon of ~50

Its an amazing project, but it just showed 5 different pokemons of ~50 after 5 minutes.
Any idea?

mobile: lat/long / refresh

any chance to be able to see the lat long on mobile to update, that was I can have a tighter search range via steps. And the refresh button on mobile would be good as well.

Feature request: blacklist system for showing pokemon

Simple enough. I may even tackle this myself. Just documenting it here in case somebody gets to it first.

Basically, I don't want to see a zillion zubats fill up the window. You can already sorta modify the source to have it ignore certain pokemon (Maybe you can just delete the images you don't want to load? Haven't tested), but that's cumbersome and I don't want to change things in source every time I want to see different pokemon.

If nobody wants to do UI work, a simple text file could work and just parse that. Ideally to help end users, Something in UI could be implemented.

Manual location

When logging in, I first set the map location and then log in, but following that an error screen occurs and I wanted to see if I was doing something wrong. Thank you!

Set latitude and longitude not working

The set latitude and longitude only work from the opening screen, once the map has appeared they won't change the marker's position on the map. This is on the OS X version.

Build instruction

Can you add instructions for how the program can be built and run from the sources?
Also would it be possible to run this on a webserver like wamp and open the page in chrome?

Specifying lat/lng throws AttributeError

Great work on this! Very cool. For some reason, sometimes when plugging in custom lat/lng coords, sometimes the map will not load and throws the following AttributeError:

Traceback (most recent call last):
  File "packages.zip\flask\app.py", line 2000, in __call__
    return self.wsgi_app(environ, start_response)
  File "packages.zip\flask\app.py", line 1991, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "packages.zip\flask\app.py", line 1567, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "packages.zip\flask\app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "packages.zip\flask\app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "packages.zip\flask\app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "packages.zip\flask\app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "packages.zip\flask\app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\example.py", line 807, in fullmap
    'example_fullmap.html', key=GOOGLEMAPS_KEY, fullmap=get_map(), auto_refresh=auto_refresh)
  File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\example.py", line 918, in get_map
    zoom='15', )
  File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\flask_googlemaps\__init__.py", line 43, in __init__
    self.build_markers(markers)
  File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\flask_googlemaps\__init__.py", line 79, in build_markers
    self.add_marker(**marker)
  File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\flask_googlemaps\__init__.py", line 102, in add_marker
    raise AttributeError('lat and lng required')
AttributeError: lat and lng required

No pokemon

On the map you cannot see any pokemon, what it can be connected?

map spawn radius

any way to increase the shown spawn radius of pokemon to show pokemon further way?

Suddenly not working

It was working fine until about 10 minutes before this post. Suddenly I'm getting 500 errors:

127.0.0.1 - - [21/Jul/2016 13:34:50] "GET / HTTP/1.1" 500 -

main.html:168 [2016-07-21 13:34:50,401] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "packages.zip/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "packages.zip/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "packages.zip/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "packages.zip/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "packages.zip/flask/app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "./example.py", line 824, in fullmap
'example_fullmap.html', key=GOOGLEMAPS_KEY, fullmap=get_map(), >auto_refresh=auto_refresh)
File "./example.py", line 935, in get_map
zoom='15', )
File "/home/pike/Downloads/PokemonGoMap-Lin-x64/resources/app/map/flask_googlemaps>/init.py", line 44, in init
self.build_markers(markers)
File "/home/pike/Downloads/PokemonGoMap-Lin-x64/resources/app/map/flask_googlemaps>/init.py", line 80, in build_markers
self.add_marker(**marker)
File "/home/pike/Downloads/PokemonGoMap-Lin-x64/resources/app/map/flask_googlemaps/init.py", line 103, in add_marker
raise AttributeError('lat and lng required')
AttributeError: lat and lng required

main.html:168 127.0.0.1 - - [21/Jul/2016 13:34:50] "GET / HTTP/1.1" 500 -

Multiple errors w/ linux

AttributeError: 'tuple' object has no attribute 'parent_pid'
AttributeError: lat and lng required
on 4.4.0-31-generic GNU/Linux
and using python 2.7

Map only loads spawn for a few minutes, doesn't update?

Thanks so much for this amazing app. I got the map loading and working but it seemed like after about 15-20 minutes it stopped loading any fresh pokemon spawns. Perhaps it is just user error and I am supposed to be doing something to cause a "refresh" ? Or is it supposed to constantly update the new pokemon by itself every X seconds? Thanks!

map won't update the long/lat to new position

The map is currently not where I am located, it is across town. I got my current long/lat and put them in at the top. Then I clicked the set button. In the console, it says it saved that as the next location. Then, it goes through the steps and just does where it was before, not even going to the one I just tried to add. I can't figure out how to change the position, since it won't update

Permit Own GoogleMaps API

To prevent a blank screen or using an API key limit, permit users to enter their own Google Maps API key.

Is the Location set not suppose to work?

I have never seen it work and not from any the comments on reddit as well. If I turn location service on windows I get sent to where thinks I am. I like to set it to an exact location :(

Program won't track GPS Location

I'm on Mac OSX (El Capitan) and it seems like for the past several hours, when I open the program, it doesn't track my GPS location. It will drop me off the coast of California and I'm in Virginia. When I logged in about five minutes ago, it dropped me at my house but just to see, I closed the program and logged in again and it had me off the coast of California again.

Refresh

Please, add key for Manual refresh, or make this automaticaly.

Reports as Virus with Avast

Heads up, this reports as a virus/malware component with Avast! and the programme will delete the .exe file upon detecting it. Requested a boot time scan, yadda, yadda.

It was quite unhappy with it, so fun times.

How does the refresh function work?

What exactly does the refresh function? I'm not really sure if newly spawned pokemon are displayed on already scanned areas. Or do I have to restart the app everytime i want to scan the same area?

Mac osx no pokemon appear

I open the map on my mac and it gets my location and I can see everything but, no pokemon are appearing on the map. I do not know why this is doing it could I please get some help.

Paste from elsewhere - OS X

First off, amazing work on this! I've tried a couple of the other self hosted options, but this one works the best by a long shot for me.

I however have strong passwords both on google and PTC, and there's currently no way paste into the fields, same for the coordinates.

If this is considered a bug, consider it submitted. If not, feel free to ignore! :)

Servers working the app isnt?

I want to say thank you for you all taking the time to do this. I had a blast learning last night, it was working flawless. The servers been down most the day.

  1. I saw vs 3 was out downloaded it..... and it was giving a bunch of script errors......and wasnt working. (think you got that figured out because of vs 4
  2. no more script errors....... but the app is not working (as in showing pokemon
  3. more a curiosity question...... i noticed in the maps you do have icons for the rarer pokemon, and when i was using it last night never saw really anything past a 2nd evolve ....does it not show them or is it just not around my location.

Thank you again

Zombie Processes & Memory Leaks

If you close the app - the Python thread continues to run in the background. Definitely an issue with the packaging. Process manager will show this. (OS X specifically).

Also, a leak means it will eventually eat up gigabytes of data. That could be the underlying PoGo API library's fault.

Win No pokemon appear

no pokemon.
if i select extract files.. "cannot create phyton.exe"
if extract here.. works
and wrong location since 0.03

Settings Coordinates Doesn't Move Map?

Hey I really appreciate you putting in the time to work on such a great project for the community. I was testing out the WIN version and was trying to manually type in coordinates and click "Set" and nothing would happen on the map. It would prompt a "GET" /next_loc with the coordinates I typed but I don't see any response. Is this simply for loading the pokemon and we just have to manually move the actual visual map? Is it just not working because of the server issues with niantic currently? Thanks!

No Pokemon

there are no pokemon on map, still after 10 minutes not

Error when re-launching the application causes a python process to eat memory

Hello,
I have found what I believe is a bug. When I launch the application, I am allowed to log in and use the application as described. However, if I close and relaunch an application, a bunch of errors are thrown. The entire error log is at the bottom of this post. As you can see in the video I attached, it works fine on the first run. On the second run, at 0:40 in the video is when the error is thrown. The big issue here is that a new python process is created, which allocates 1.9 GB of RAM to itself, and does NOT terminate when you close the application. At 1:02, you can see the application closed and the python process remaining. I recreate the bug again in the video, and you can see that the second time around it still leaves a python process open after the application is closed and it is also taking 1.9 GB of RAM.

Traceback (most recent call last):
File "packages.zip\flask\app.py", line 2000, in call
return self.wsgi_app(environ, start_response)
File "packages.zip\flask\app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "packages.zip\flask\app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "packages.zip\flask\app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "packages.zip\flask\app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "packages.zip\flask\app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "packages.zip\flask\app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "packages.zip\flask\app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\example.py", line 807, in fullmap
'example_fullmap.html', key=GOOGLEMAPS_KEY, fullmap=get_map(), auto_refresh=auto_refresh)
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\example.py", line 918, in get_map
zoom='15', )
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\flask_googlemaps__init__.py", line 43, in init
self.build_markers(markers)
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\flask_googlemaps__init__.py", line 79, in build_markers
self.add_marker(**marker)
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\flask_googlemaps__init__.py", line 102, in add_marker
raise AttributeError('lat and lng required')
AttributeError: lat and lng required

map NO Loads

Sorry my bad english, map NO Loads,
map is white , Windows 7 Ultimate x64

Remember history of custom locations?

You're already the most awesome person in 2016, but could the next version retain a history of custom locations and maybe a way to save favorites? Or at least have the starting screen remember the last set of custom coordinates entered?

You're the best, thanks dude! :)

PokeStops aren't displaying on the map

Map displays Pokemons and Gyms, but not PokeStops. I know it should, cause I used no-exe python version before and there is an argument for that. -dp if I remember this correctly.

PTC Login

Should include a Pokemon Trainer Club login as well instead of just a Google only Login.

Pokemon not appearing on windows?

my map is working but there are no pokemon appearing at the moment could I please get some help I would love to have this map working.

Map does not load due to python version error

When I try to login the map does not load and I get the following error message:

Starting Python process...
Got open port: 8000
Maps path: /home/benjamin/Downloads/PokemonGoMap/resources/app/map
python ./example.py --auth_service ptc --token ## --location #.#,#.# --auto_refresh 10 --step-limit 7 --display-gym --port 8000 --parent_pid 17445
Python:   File "./example.py", line 111
    print '[-] {}'.format(message)
                 ^
SyntaxError: invalid syntax

The problem is that you call the script with python which is linked to python3.x on my system (and probably on many others aswell), but the error message suggests that you need to call python2.x. So you should explicitly specify which python version you need.

Mobile

can you get this working on IOS ? so i can look on my map while driving around using my location

Online / Offline / Unstable Icons

If you cannot contact the login server or the release server, light up an "OFFLINE" icon. The servers are so unstable, we can't tell if the app is not working or the data is not. (we know the app is working. ;))

[Suggestion] Long click on map to move marker

I've notices it's a little on the annoying side to open up google maps and move around to get GPS coordinates for different popular pokemon locations around town, then copy them and restart the app every time (since the Set location doesn't seem to be working, at least for me). But even if Set Location was working, it would be much more handy to be able to just long click on the map to move the waypoint as needed.

Thanks for the work you've done so far!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.