head to head · open source

Element vs Tongsuo

Element has 13,470 GitHub stars, 2,757 forks, 3,779 open issues and last shipped yesterday. Tongsuo has 1,535 stars, 260 forks, 160 open issues and last shipped 12 days ago. Element leads on adoption by 778% (13,470 vs 1,535 stars). Element is written in TypeScript under AGPL-3.0; Tongsuo is written in C under Apache-2.0. Element has attracted 20% as many forks as stars, Tongsuo 17%. Element was the more recently maintained of the two, and both are self-hostable with no licence fee.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

Element ★ 13K Tongsuo ★ 1.5K category Security & Privacy

← all 15422 open source comparisons

Side by side

Element Tongsuo
GitHub stars ★ 13K ★ 1.5K
License AGPL-3.0 Apache-2.0
Written in TypeScript C
Last push 2026-09-18 2026-09-07
Forks ⑂ 2.8K ⑂ 260
Self-hosting Yes Yes
Data ownership Your server Your server

pick Element if

  • You weight community size — 13K stars and counting
  • You want the AGPL-3.0 license terms
  • Your stack matches TypeScript
  • You value the larger contributor base for long-term maintenance

full Element profile →

pick Tongsuo if

  • You want the Tongsuo feature set and don't need the biggest community
  • You prefer the Apache-2.0 license terms
  • Your stack matches C
  • You evaluated both and Tongsuo fits your workflow better

full Tongsuo profile →

About Element

Element is a Matrix collaboration client for the web and desktop, and its tagline describes it as secure, decentralized messaging for teams and individuals. It is built with the Matrix JS SDK and lives in the Matrix ecosystem as an open alternative to Slack and Google Meet.

read the full Element overview →

About Tongsuo

Tongsuo (铜锁) is an open source C library of modern cryptographic primitives and secure communication protocols, developed under the OpenAtom Foundation, and it is built for teams that need Chinese commercial cryptography, TLS, PKI, and privacy preserving primitives from a single dependency.

read the full Tongsuo overview →

More in Security & Privacy

PayloadsAllTheThings ★ 81K Puter ★ 44K Mattermost ★ 39K Keycloak ★ 37K Tailscale ★ 37K HashiCorp Vault ★ 36K

Related comparisons

puter vs mattermost mattermost vs nextcloud puter vs signal puter vs ente mattermost vs signal mattermost vs ente mattermost vs zulip signal vs ente supabase vs better-auth keycloak vs jumpserver keycloak vs better-auth keycloak vs authentik jumpserver vs better-auth jumpserver vs authentik better-auth vs authentik jumpserver vs teleport puter vs vault mattermost vs vault keycloak vs vault vault vs infisical puter vs unkey mattermost vs unkey puter vs phase puter vs keyshade

More Data Security & Privacy projects

Compare either of these against the rest of the Data Security & Privacy field.

Element vs Puter Element vs Mattermost Element vs Signal Element vs Ente Element vs Fluxer Element vs certificates Element vs Tuta Element vs Zen Element vs Cinny Element vs Certipy Element vs Stoat Element vs Quiet

Frequently asked questions

Is Element or Tongsuo more popular?

Element has 13,470 GitHub stars and Tongsuo has 1,535. Element has the larger community by that measure.

Are Element and Tongsuo free?

Both are open source. Element is licensed under AGPL-3.0 and Tongsuo under Apache-2.0. Neither carries a licence fee.

What is the difference between Element and Tongsuo?

Element is written in TypeScript and Tongsuo in C. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, Element or Tongsuo?

Choose Element if you want the larger community (13,470 stars) or its AGPL-3.0 licence terms. Choose Tongsuo if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.