The engine absolutely is open source, and there are no clauses pertaining to where the code must be hosted.
Their particular IDE may be closed-source, but the engine is not tied to it.
IIRC playcanvas was started by ex-mozilla people.
I played around with the engine a while ago and was quite impressed by the all-in-one-ness of it.