Source: https://seerepo.com/compare/ArvinLovegood/go-stock/vs/Wei-Shaw/sub2api
Markdown source: https://seerepo.com/compare/ArvinLovegood/go-stock/vs/Wei-Shaw/sub2api.md
Description: go-stock and sub2api share 8 technologies: SQLite, MCP, Vite, Vue, vue-router, go.uber.org/zap, gopkg.in/natefinch/lumberjack.v2, and dompurify. Both are written in Go.

# go-stock vs sub2api

go-stock and sub2api share 8 technologies: SQLite, MCP, Vite, Vue, vue-router, go.uber.org/zap, gopkg.in/natefinch/lumberjack.v2, and dompurify. Both are written in Go.

- [ArvinLovegood/go-stock](https://seerepo.com/r/ArvinLovegood/go-stock): 🦄🦄🦄AI赋能股票分析：AI加持的股票分析/选股工具。股票行情获取，AI热点资讯分析，AI资金/财务分析，涨跌报警推送。支持A股，港股，美股。支持市场整体/个股情绪分析，AI辅助选股等。数据全部保留在本地。支持DeepSeek，OpenAI， Ollama，LMStudio，AnythingLLM，硅基流动，火山方舟，阿里云百炼等平台或模型。
- [Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api): Sub2API 一站式开源中转服务，让 Claude、Openai 、Gemini、Grok订阅统一接入，支持拼车共享，更高效分摊成本，原生工具无缝使用。

## What they share and what sets them apart

- In common: SQLite, MCP, Vite, Vue, vue-router, go.uber.org/zap, gopkg.in/natefinch/lumberjack.v2, dompurify
- Only in go-stock: net/http, modernc.org/sqlite, github.com/coocood/freecache, github.com/philippgille/chromem-go, Google, Wails, github.com/gen2brain/beeep, gorm.io/gorm, mcp-go, github.com/cloudwego/eino, github.com/cloudwego/eino-ext/components/model/ark, github.com/cloudwego/eino-ext/components/model/claude, github.com/cloudwego/eino-ext/components/model/deepseek, github.com/cloudwego/eino-ext/components/model/gemini, github.com/cloudwego/eino-ext/components/model/ollama, github.com/cloudwego/eino-ext/components/model/openai, github.com/cloudwego/eino-ext/components/model/qwen, github.com/eino-contrib/ollama, github.com/go-ego/gse, github.com/PuerkitoBio/goquery, github.com/xuri/excelize/v2, md-editor-v3, naive-ui, @vicons/ionicons5, html2canvas, @codemirror/theme-one-dark, echarts, lightweight-charts, vue3-danmaku, CodeMirror, vue-codemirror, vue-json-pretty, vicons, tdesign-icons-vue-next, html-docx-js-typescript
- Only in sub2api: Gin, go-redis, pq, s3, Redis, Postgres, Dgraph, github.com/patrickmn/go-cache, Alibaba Cloud, Alipay, Stripe, github.com/zeromicro/go-zero, entgo.io/ent, github.com/golang-jwt/jwt/v5, github.com/go-webauthn/webauthn, github.com/aws/aws-sdk-go-v2/credentials, github.com/pquerna/otp, Model Context Protocol, github.com/tiktoken-go/tokenizer, golang.org/x/image, github.com/go-playground/validator/v10, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/hashicorp/go-hclog, github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common, Tailwind CSS, Chart.js, vue-chartjs, driver.js, TanStack, vue-draggable-plus, marked, qrcode, xlsx

## Side by side

| | go-stock | sub2api |
|---|---|---|
| Size | 211,734 lines written, 366 code files | 1,208,231 lines written, 1,720 code files |
| Who writes it | 1.6% of its commits signed by AI. With GitHub Copilot and Claude Code | 18.2% of its commits signed by AI. With Codex, Claude Code, Cursor, GitHub Copilot, and Factory |
| Activity | Last push November 16, 2026, 1,117 commits, 8,191 stars | Last push November 13, 2026, 5,553 commits, 45,985 stars |
| Tests | 131 test files. 51.9% of its code files have a test that imports them | 2,122 test files. 79.4% 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, go-stock or sub2api?

sub2api, with 1,208,231 lines written; go-stock has 211,734.

The proof: [Wei-Shaw/sub2api's code at commit 530c5e3](https://github.com/Wei-Shaw/sub2api/tree/530c5e3a4f9c73ca2b0881191d0ef8e0d82c5484)

### Which has more GitHub stars, go-stock or sub2api?

sub2api, with 45,985 stars; go-stock has 8,191.

The proof: [Wei-Shaw/sub2api on GitHub](https://github.com/Wei-Shaw/sub2api)

### Which has more tests, go-stock or sub2api?

sub2api, with 2,122 test files; go-stock has 131.

The proof: [Wei-Shaw/sub2api's code at commit 530c5e3](https://github.com/Wei-Shaw/sub2api/tree/530c5e3a4f9c73ca2b0881191d0ef8e0d82c5484)

### Which was updated more recently, go-stock or sub2api?

go-stock: its last push was on November 16, 2026, and sub2api's on November 13, 2026.

The proof: [ArvinLovegood/go-stock's commits on GitHub](https://github.com/ArvinLovegood/go-stock/commits)

### Which has more commits signed by AI, go-stock or sub2api?

sub2api: an AI signed 18.2% of its commits, with Codex, Claude Code, Cursor, GitHub Copilot, and Factory; in go-stock, 1.6%.

The proof: [the commits each tool signed in Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api/ai)

## Sources

- ArvinLovegood/go-stock: Read on November 17, 2026, at commit 17ac457 (https://github.com/ArvinLovegood/go-stock/tree/17ac45723b9e46888faaf2cb15dc8f113b2ce873)
- Wei-Shaw/sub2api: Read on November 13, 2026, at commit 530c5e3 (https://github.com/Wei-Shaw/sub2api/tree/530c5e3a4f9c73ca2b0881191d0ef8e0d82c5484)

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