Hello!
I really like the idea of directory based routing, like how apache + php works. There you put files in a directory, and voila, routes defined. In addition to making it easy to define routes, finding routes based on a URL is really easy, you navigate to the file and you're done.
I've created a plugin that provides package based routing for ktor. You provide a base package, and add classes in the base package. The package name and class name is used to determine the route path, and all you need to do is implement the KtorRoute interface.
AFAIK, this package based routing has never been done before in any jvm language, so I'm sure it seems really weird.
Here's the repo where the README has more info on usage
https://github.com/snowbldr/ktor-pkg-router
It's published to maven central, so is ready to use if you'd like to try it out.
I hope you find this useful, and please let me know what you think, I'd be super interested in opinions on whether this is a good idea, a terrible idea, or if there's better ways to implement this.