Overleaf

Web-based collaborative LaTeX editor. (Source Code).

selfhosted
Yes
Live Preview
Overleaf