fatih-yavuz / links.dev

A free linktree alternative only for devs. Get a nice page at links.dev/username. Simple site to group all your links. Register your username before someone else does.
MIT License
229 stars 148 forks source link

Rewrite url's to name just like in registry #147

Closed xYundy closed 1 year ago

xYundy commented 1 year ago

Since backend isn't public (or I just can't find it) I make a proposal for new feature.

For now username is not case sensitive and it's render correct page which is great but I think it will be nice if url will be redirected to the case like in registry.yaml file. For example:

links.dev/xyundy => links.dev/xYundy links.dev/xyUndy => links.dev/xYundy

I think 301 redirect will be appropriate.

bsoyka commented 1 year ago

(To confirm, yes, the backend is private on GitLab.)

fatih-yavuz commented 1 year ago

@xYundy, as @bsoyka mentioned it is private on GitLab and we had a plan of moving it here but I opened a new issue #148 to discuss another approach.

fatih-yavuz commented 1 year ago

@xYundy the backend is now open-sourced. You can find the link in the README. You can add the logic if you'd like to