Even though, it is a good approach, there will be a lot of duplicated code anywere; furthermore you'll be getting rid of splunk's web functionalities as .pdf generators and alerting. So I would take a look at simple_xml_examples Splunk App sourcecodeviewer implementation.
You could implement a simple template in a custom dashboards.js for a custom appnav bar, when still using default.xml appnav definition.
... View more