Recommendations for a self-hosted URL shortener?
tinyurl.com a number of times before, and of course there are well-known competitors such as
bitly.com, but recently, I've thought about trying to self-host a URL shortener, mainly intended for private use (for a group of users), and not intended as a public URL shortener for everyone to use (though this may be an interesting experiment to try out sometime).
Do any of you have experience with self-hosting a URL shortener?
My need is basically the following: given a link such as
shorten this to something like
Naturally, the domain name itself (here:
mydomain.org) couldn't be shortened in this case (unless I got a new domain name!).
I'm looking at YOURLS (
https://yourls.org/), which is PHP-based and appears to be well-maintained. It needs a MySQL database, but some kind of database would be needed anyway.
Do any of you have other recommendations? (Needless to say, I'd like to keep it as simple as possible.)
"A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)