It would be amazing to see a Yourls pluin for Automad. The ability to share branded short links and monitor their performance is priceless, and Yourls did it.
I spoke with the founder and he said encouraging things: https://discourse.yourls.org/t/yourls-in-a-flat-file-cms/
Mena Yeah! I totally agree! Would be great if anyone would find some time to create such a little package! 😊
How challenging is to write a package like this?
Mena I don’t know Yourls so much and therefore I can’t really judge what has to be done there — but the Automad package itself is pretty easy to create. It is not more than a tiny PHP wrapper class to be able to use it in a template. Check out this guide and this guide for more info about writing plugins. There is also a cheat sheet for using PHP in Automad that might be helpful.