Kallithea is fork of RhodeCode, fully supports Mercurial and Git and is open source: https://kallithea-scm.org.
RhodeCode is open-source too and unfortunately looks like Kallithea is a dead project by now. It didn't have a feature release since 2015, only a few bugfixes.