Memos is an open source, self-hosted alternative to flomo. Built with Golang and React.
Poking at the online demo it seems pretty nice. API friendly, too.