It's currently possible to host an Exchange resource on an open-source repository like Github, but it's not an ideal experience, because there's no way to hook up "continuous delivery", so that updates to the repo are automatically published to the Exchange resource.
If a REST-ful API were exposed and documented, you could use a tool like Github Actions to easily push changes from Github to the Exchange on demand.