You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added Google Map for Mini-Map Overlay use.
- Added Unique-Code for security.
** Updated Readme, MUST read for a thorough understanding of new features and updates. **
Copy file name to clipboardExpand all lines: README.md
+29-4Lines changed: 29 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
# gps-logger by 715209
2
+
# live-map by b3ck
2
3
3
4
Download and install this on your android phone:
4
5
https://github.com/mendhak/gpslogger/releases
@@ -15,14 +16,26 @@ Once it's started go into the settings and turn everything off for logging besid
15
16
16
17
> [JS REST APP ID & APP CODE EXAMPLE](https://i.imgur.com/74eEKEr.png/)
17
18
18
-
- 4.) [Open and Forward your ports](https://www.noip.com/support/knowledgebase/general-port-forwarding-guide/), otherwise all of this won't work.
19
-
- 5.) Run 'npm start.bat' to start the gps-logger server
19
+
- 4.) Also in the `config.js` is a section for a 'UNIQUE_CODE', if you want to protect access to the GPS-LOGGER either generate it or put in your own code, if not then leave it blank;
20
+
21
+
Get a Code here => https://www.randomcodegenerator.com/en/generate-codes or make up your own.
22
+
23
+
Add `&key=<UNIQUE_CODE>` at the end of your GPS-LOGGER 'custom url' URL, this will secure your data and everything in turn needs this key to access data and send data.
24
+
25
+
My Custom URL in GPS-Logger looks like this: ```http://<YOUR-IP-or-DNS>:<PORT>/log?s=%SPD&b=%BATT&lat=%LAT&lon=%LON&a=%ALT&key=<UNIQUE_CODE>```
26
+
27
+
If you want to access the gps-logger from outside your local network you'll need to add `?key=<UNIQUE-CODE>` to the end of the URL, for example ```http://<YOUR-IP-or-DNS>:<PORT>/map?key=<UNIQUE-CODE>```
28
+
29
+
This could be a neat tool to give to your most trusted MODs just in case something happens to you, they 'could' provide emergency services with your exact location.
30
+
31
+
- 5.) [Open and Forward your ports](https://www.noip.com/support/knowledgebase/general-port-forwarding-guide/), otherwise all of this won't work.
32
+
- 6.) Run 'npm start.bat' to start the gps-logger server
20
33
21
34
It should say something like this:
22
35
23
36
```
24
37
PS C:\github\gps-logger> npm start
25
-
gps-logger@1.0.0 start C:\github\gps-logger
38
+
gps-logger@2.0.0 start C:\github\gps-logger
26
39
node app
27
40
listening on *:3000
28
41
```
@@ -32,11 +45,23 @@ listening on *:3000
32
45
> - or http://localhost:3000/stats/a
33
46
> - or http://localhost:3000/stats/b
34
47
48
+
> Other links to know:
49
+
> -http://localhost:3000/map
50
+
> -> is your regular map
51
+
52
+
> -http://localhost:3000/map_rotate
53
+
> -> is a basic attempt to make the map rotate depending on your current direction, you will need to add &d=%DIR to your Custom URL in the GPS-LOGGER app on your phone, before the UNIQUE-CODE. ```ex; http://<YOUR-IP-or-DNS>:<PORT>/log?s=%SPD&b=%BATT&lat=%LAT&lon=%LON&a=%ALT&d=%DIR&key=<UNIQUE_CODE>```
54
+
55
+
> -http://localhost:3000/mod_map
56
+
> -> this will show a map with all details and stats to help your most trusted MODs in an emergency situtation.
57
+
> -> MODs can access this from: ```http://<YOUR-IP-or-DNS>:<PORT>/mod_map?key=<UNIQUE-CODE>```
58
+
35
59
Now just pull whatever you want into your OBS Scene, and Bob's your uncle. :man:
36
60
37
61
> Please keep in mind I just left everything styled like I have it in my stream, to truly make it your own all it takes is a little tinkering with CSS.
38
62
39
-
If you have any issues feel free to submit them here on GitHub.
63
+
If you have any issues feel free to submit them here on GitHub, or message me on Discord.
64
+
- To see it in action check out my livestream or VODs @ https://twitch.tv/b3ck
0 commit comments