Source: https://seerepo.com/compare/dromara/Sa-Token/vs/google/guice
Markdown source: https://seerepo.com/compare/dromara/Sa-Token/vs/google/guice.md
Description: Sa-Token and guice share 3 technologies: Spring, jakarta.servlet:jakarta.servlet-api, and slf4j-simple. Both are written in Java.

# 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.

- [dromara/Sa-Token](https://seerepo.com/r/dromara/Sa-Token): ✨ 开源、免费、一站式 Java 权限认证框架，让鉴权变得简单、优雅！—— 登录认证、权限认证、分布式 Session 会话、微服务网关鉴权、SSO 单点登录、OAuth2.0 统一认证、jwt 集成、API Key 秘钥授权、API 参数签名
- [google/guice](https://seerepo.com/r/google/guice): Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.

## What they share and what sets them apart

- In common: Spring, jakarta.servlet:jakarta.servlet-api, slf4j-simple
- 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
- 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-Token | guice |
|---|---|---|
| Size | 158,305 lines written, 886 code files | 114,738 lines written, 394 code files |
| Who writes it | 3.4% of its commits signed by AI. With Cursor | 0% of its commits signed by AI |
| Activity | Last push October 16, 2026, 2,527 commits, 19,111 stars | Last push October 30, 2026, 2,099 commits, 12,731 stars |
| Tests | 738 test files. 58.7% of its code files have a test that imports them | 229 test files. 53.6% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## 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](https://github.com/dromara/Sa-Token/tree/cb191342372cec5045a8c26f38c61a6ea2147ff8)

### 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](https://github.com/dromara/Sa-Token)

### 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](https://github.com/dromara/Sa-Token/tree/cb191342372cec5045a8c26f38c61a6ea2147ff8)

### 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](https://github.com/google/guice/commits)

### Which has more commits signed by AI, Sa-Token or guice?

Sa-Token: an AI signed 3.4% of its commits, with Cursor.

The proof: [the commits each tool signed in dromara/Sa-Token](https://seerepo.com/r/dromara/Sa-Token/ai)

## Sources

- dromara/Sa-Token: Read on November 6, 2026, at commit cb19134 (https://github.com/dromara/Sa-Token/tree/cb191342372cec5045a8c26f38c61a6ea2147ff8)
- google/guice: Read on November 10, 2026, at commit 6816060 (https://github.com/google/guice/tree/68160608741c653ed6f86dfe5bc1adfa9d766862)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
