Re:Ask HN: Open Source Alternative to Stack Overflow?
by JaggedJax on Sunday June 05, 2016 @07:24PM
(#11843691)
I don't know too much about it, but Question2Answer is an open source project that is basically what you're asking for. I don't think it fits the "really nice" part though.
http://www.question2answer.org