s3943811 / PlanMyTimetable

A simple web app for easily creating timetables with drag-and-drop interactivity.
https://planmytimetable.vercel.app/
GNU Affero General Public License v3.0
13 stars 0 forks source link

[suggestion] Shorter friend URLs #31

Open gvarvar opened 5 months ago

gvarvar commented 5 months ago

This is a really awesome tool you have made! It would be even better if the URLs you share to add friends was a bit shorter, we cant fit them easily in discord messages. Maybe they could be encoded into a short code or something? Or if the server could temporarily store the full URL and represent it with a code while its being shared.

sanch03 commented 5 months ago

Seems like the design is made to be serverless, so it might be better to link it to a url shortener api or even simpler make a "markdown hyperlink copy" button, that just copies markdown to the clipboard [View my timetable](https://long-link.here)

s3943811 commented 5 months ago

Thanks for the support around the project. It is supposed to mainly run client side which is why the link becomes so long because I store the state mainly in the link which is why you can share it as well.

I will investigate a url shortening api or maybe investigate creating my own. @sanch03 your suggest of markdown is also a possibility although maybe a last resort.

s3943811 commented 5 months ago

For the time being I have followed @sanch03's suggestion and used markdown for the share button.

Leaving this open however, so I investigate link shortener api's