More for #204

* Create minimal `repoAsEncoded`
* Use `repoAsEncoded` in view page

Applies to #200