Idea: Shortlinks for postsPosted on: 09/21/24 10:04PM
I think it would be convenient to have a defined shorter URL format for posts that could be used in length-constrained places like IRC. I think a simple server-side redirect would work OK without needing to change the underlying booru software, e.g. gelbooru.com/p/<id> redirecting to gelbooru.com/index.php?page=post&s=view&id=<id>
When implementing bot-based search commands for multiple boorus, this one stuck out to me as the multiple GET parameters in a basic "view post" link take up the space of at least 1-2 tags in an average message. While the tag list is almost always going to be longer than what will fit in an IRC line (unless the post is under tagged, and probably has "tagme" status), until the IRC community can ratify and deploy its "multiline" capability specification, every little bit of extra space for useful info in a message helps.
Apologies if this has been suggested before. With forum search disabled, I was only reasonably able to check for previous threads that happened to be indexed by search engines (various related keywords combined with "site:gelbooru.com inurl:forum").