Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate timestamp factor (YOURLS) into URL shortener #1089

Open
kaktus-1 opened this issue May 8, 2023 · 2 comments
Open

Integrate timestamp factor (YOURLS) into URL shortener #1089

kaktus-1 opened this issue May 8, 2023 · 2 comments

Comments

@kaktus-1
Copy link

kaktus-1 commented May 8, 2023

Dear Privatebin Team,

I am writing to make a suggestion for the Privatebin URL Shortener, which already supports integration with Yourls.

I noticed that Yourls has a timestamp factor in its API that allows the autmatically deletion of the shortened url after a specific time. I therefore suggest that this timestamp factor is also integrated into the privatebin URL shortener.

Integrating the timestamp factor would improve the functionality of the Privatebin URL Shortener and increase usability. Users would be able to track the time of link creation and sort and manage their links accordingly.

I would be very pleased if you could review and consider my suggestion.

Thank you in advance for your attention and support.

Yours sincerely,
Marvin

@rugk
Copy link
Member

rugk commented May 9, 2023

Do you have any links/guides to the (official) YOURLS doc for that timestamp factor?
What do you think should PrivateBin set it to? What time?

The time of creation? (IMHO can't yourls do that internally, it can just use the current time?) Or for expiring pastes the time the paste expires (which imho would make sense, since at that time you also cannot access the paste anymore, so the link can be deleted, too)?

@rugk rugk changed the title Proposal to improve the functionality of the Privatebin URL shortener by the timestamp factor (YOURLS) Integrate timestamp factor (YOURLS) into URL shortener May 9, 2023
@kaktus-1
Copy link
Author

kaktus-1 commented May 9, 2023

As far as I read it correctly all information about their timestamp is on this page: https://yourls.org/docs/guide/advanced/passwordless-api#usage-of-a-time-limited-signature-token

And yes. The deletion time should be send. So if the document expires, the shortened url also does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants