Skip to content

jfberry/signpost

Repository files navigation

Signpost

Signpost serves as a lightweight alternative to URL shorteners for Pokémon Go mappers. Its purpose is to make it more challenging for individuals to scrape and redistribute your data through coordinate feeds.

The functionality of Signpost revolves around handling requests for Pokémon data and redirecting clients to navigation URLs (such as Google Maps, Apple Maps, or Waze). To achieve this, it utilizes the "encounter ID" in the link, which allows users to obscure the coordinates of Pokémon data within the navigation URL.

By default, Pokémon notifications in Poracle are displayed in plaintext, revealing coordinates in URLs like the following example:

https://maps.google.com/maps?q=51.50150352191488,-0.14220178361437658

The link instead could look like:

https://signpost.yourmap.com/pokemon/1782929313465823/google

Requirements

Installation

  1. Git clone the repo git clone https://github.com/jfberry/signpost.git
  2. cp config.toml.example config.toml & adjust config.toml accordingly.
  3. go build .
  4. pm2 start ./signpost --name signpost

⚠️ Signpost is a web server so you will need to self host it and put it behind a reverse proxy such as Caddy or Nginx.

Updating

  1. pm2 stop signpost
  2. git pull
  3. go build .
  4. pm2 restart signpost

Poracle DTS Changes

Update your Pokemon DTS templates to use Signpost. The links in your templates should look something like this:

[Google](<https://signpost.yourmap.com/pokemon/{{{encounter_id}}}/google>)
[Apple](<https://signpost.yourmap.com/pokemon/{{{encounter_id}}}/apple>)
[Waze](<https://signpost.yourmap.com/pokemon/{{{encounter_id}}}/waze>)

⚠️ Don't adjust the URLs for Pokestops/Gyms as they are currently not supported.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •