Sa-Token vs guice
Sa-Token and guice share 3 technologies: Spring, jakarta.servlet:jakarta.servlet-api, and slf4j-simple. Both are written in Java.
What they share and what sets them apart
dromara
Sa-Token
✨ 开源、免费、一站式 Java 权限认证框架,让鉴权变得简单、优雅!—— 登录认证、权限认证、分布式 Session 会话、微服务网关鉴权、SSO 单点登录、OAuth2.0 统一认证、jwt 集成、API Key 秘钥授权、API 参数签名
Java19.1kRead on November 6, 2026, at commit cb19134What is Sa-Token built with?Only in Sa-Token
- jedis
- nacos-client
- redisson
- redisson-spring-boot-starter
- spring-boot-starter-data-redis
- Redis
- org.springframework.data:spring-data-redis
- Apache
- com.github.ben-manes.caffeine:caffeine
- org.springframework.boot:spring-boot-starter-aop
- spring-boot-starter-thymeleaf
- spring-cloud-alibaba-dependencies
- spring-cloud-dependencies
- spring-cloud-starter-alibaba-nacos-discovery
- org.apache.dubbo:dubbo
- javax.servlet:javax.servlet-api
- io.jsonwebtoken:jjwt
- spring-boot-starter-freemarker
- org.freemarker:freemarker
- Thymeleaf
- org.springframework.boot:spring-boot-starter-actuator
- slf4j-api
In common
google
guice
Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.
Java12.7kRead on November 10, 2026, at commit 6816060What is guice built with?Only in guice
- guice
- guice-assistedinject
- org.apache.felix.framework
- aopalliance:aopalliance
- jakarta.inject:jakarta.inject-api
- com.google.dagger:dagger
- jakarta.persistence:jakarta.persistence-api
Side by side
Sa-Tokenguice
SizeLines written by people and agents, without generated ones; code files, without tests.
Sa-Token158,305 lines written886 code files
guice114,738 lines written394 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
Sa-Token3.4% of its commits signed by AIWith Cursor
guice0% of its commits signed by AI
ActivityFrom GitHub and its history, on the day SeeRepo read it.
Sa-TokenLast push October 16, 20262,527 commits19,111 stars
guiceLast push October 30, 20262,099 commits12,731 stars
TestsThe files that test the code, and the share of code files a test imports.
Sa-Token738 test files58.7% of its code files have a test that imports them
guice229 test files53.6% of its code files have a test that imports them
Frequently asked questions
Which is bigger, Sa-Token or guice?
Sa-Token, with 158,305 lines written; guice has 114,738.
The proof: dromara/Sa-Token's code at commit cb19134
Which has more GitHub stars, Sa-Token or guice?
Sa-Token, with 19,111 stars; guice has 12,731.
The proof: dromara/Sa-Token on GitHub
Which has more tests, Sa-Token or guice?
Sa-Token, with 738 test files; guice has 229.
The proof: dromara/Sa-Token's code at commit cb19134
Which was updated more recently, Sa-Token or guice?
guice: its last push was on October 30, 2026, and Sa-Token's on October 16, 2026.
The proof: google/guice's commits on GitHub
Which has more commits signed by AI, Sa-Token or guice?
Sa-Token: an AI signed 3.4% of its commits, with Cursor.
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.Private repo? Sign in with GitHub

