My
ballast-navigation library uses a URL format that’s mostly compatible with the Ktor syntax. It can be used as the main router for your application, but you can also just use the routing engine to handle deep links and forward the matches to your other router.
This comment from the other day shows how you might do that