Is the WordPress.com desktop app open source?

Yes. The WordPress desktop app is licensed under GNU General Public License v2 (or later).