bfabiszewski / ulogger-server

μlogger • web viewer for tracks uploaded with μlogger mobile client
GNU General Public License v3.0
518 stars 84 forks source link

feature request: temporary location sharing with a public URL? #190

Open kylrth opened 2 years ago

kylrth commented 2 years ago

I'm interested in uLogger but the one feature I'm missing from a location tracking app is a way to temporarily share location with a public URL, like Facebook Messenger and other apps can. Is this something you'd consider adding?

bfabiszewski commented 2 years ago

Yes, I want to have such feature, even for my own use. Just need to find some time to do it

europrimus commented 1 year ago

I think about a possible implementation. An URL like this https://ulogger.tld/shortlink/bc6d0bcc-6aef-480c-a9e9-c12e470a3d28 With a table short_link in database for link to tracks.id

Maybe a not after to auto disable short link ?

What about the length of the short link id ? 12 or 24 or 36 char Does a human going to write it ? if yes, shorter is better. What the type of char ? number (0-9) and alphabetical (a-z)

europrimus commented 1 year ago

hello, I have started working on it. you can see what I have done on my fork

done:

to do:

if you have some comment, feel free to write.

kylrth commented 1 year ago

Hey, this is great! I really appreciate the work you've put in. I agree with the todos as well; ideally most menu options and user info should be hidden.

As I'm a newcomer to the project, I just want to make sure I understand: these links will work live as well as historically, correct? I can share a link to show old data with a time window that's already finished, and I can also send a link that will show my live location starting from a certain timestamp and ending at a predetermined time?

europrimus commented 1 year ago

Quick links work on all tracks individually. But the track need to be already started. But there is no link to last position or last track. It's not an "I'm here" link.

Use cases examples:

You go out, but you don't know witch path you going to take. You start recording your track, share the quick link and every one have the quick link can see witch path you take with your last know position.

Mister A want to go to this lake, you go there some months or years ago. You share the quick link to your past track with a not after date to tomorrow. And Mister A can walk on your path. But, after tomorrow, he can't see again your track.

I forgot something important on the to do list:

kylrth commented 1 year ago

Ok, I think this is what I expected. Very cool.

klauweg commented 1 year ago

That sounds interesting. But as far as i can see it isn't usable already?

kylrth commented 1 year ago

Yes, their fork is not quite usable yet.