See https://github.com/bisq-network/bisq, AFAIK it's most popular open source and decentralized exchange. But if you specially ask about open source and centralized exchange, i've no idea.
Bisq is the best option imo. The most known open source bitcoin exchange, and it is there for a long time.