head to head · open source

Element vs Tongsuo

Element has 13,634 GitHub stars, 2,814 forks, 3,779 open issues and last shipped yesterday. Tongsuo has 1,554 stars, 263 forks, 160 open issues and last shipped 8 days ago. Element leads on adoption by 777% (13,634 vs 1,554 stars). Element is written in TypeScript under AGPL-3.0; Tongsuo is written in C under Apache-2.0. Element has attracted 21% 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 ★ 14K Tongsuo ★ 1.6K category Security & Privacy

← all 20902 open source comparisons

Side by side

Element Tongsuo
GitHub stars ★ 14K ★ 1.6K
License AGPL-3.0 Apache-2.0
Written in TypeScript C
Last push 2026-11-02 2026-10-26
Forks ⑂ 2.8K ⑂ 263
Self-hosting Yes Yes
Data ownership Your server Your server

pick Element if

  • You weight community size — 14K 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 Element (formerly known as Vector and Riot) is a Matrix web & desktop client built using the Matrix JS SDK. Supported Environments Element has several tiers of support for different environments: Supported Definition: Issues actively triaged , regressions block the release Last 2 major versions of Chrome, Firefox, and Edge on desktop OSes Last 2 versions of Safari Latest release of official Element Desktop app on desktop OSes Desktop OSes means macOS, Windows, and Linux versions for desktop devices that are actively supported by the OS vendor and receive security updates Best effort Definition: Issues…

read the full Element overview →

About Tongsuo

OpenAtom 铜锁/Tongsuo ========================= [![tongsuo logo]][www.tongsuo.net] [![github actions ci badge]][github actions ci] ![GitHub Release][github release] [![GitHub Downloads (all assets, all releases)][github downloads]]( 铜锁/Tongsuo是一个提供现代密码学算法和安全通信协议的开源基础密码库,为存储、网络、密钥管理、隐私计算等诸多业务场景提供底层的密码学基础能力,实现数据在传输、使用、存储等过程中的私密性、完整性和可认证性,为数据生命周期中的隐私和安全提供保护能力。 铜锁获得了国家密码管理局商用密码检测中心颁发的商用密码产品认证证书,助力用户在国密改造、密评、等保等过程中,更加严谨地满足我国商用密码技术合规的要求。可在此处下载资质原始文件。 特性 ========================= 铜锁提供如下主要的功能特性: 技术合规能力 符合 GM/T 0028《密码模块安全技术要求》的"软件密码模块安全一级"资质 符合 GM/T 0005 2021《随机性检测规范》 零知识证明(ZKP) Bulletproofs range Bulletproofs R1CS 密码学算法…

read the full Tongsuo overview →

More in Security & Privacy

Related comparisons

More Data Security & Privacy projects

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

Frequently asked questions

Is Element or Tongsuo more popular?

Element has 13,634 GitHub stars and Tongsuo has 1,554. 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,634 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.