tech-stack-evaluator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Technology Stack Evaluator

技术栈评估工具

Evaluate and compare technologies, frameworks, and cloud providers with data-driven analysis and actionable recommendations.
通过数据驱动的分析和可落地的建议,评估并对比技术、框架与云服务商。

Table of Contents

目录

Capabilities

功能特性

CapabilityDescription
Technology ComparisonCompare frameworks and libraries with weighted scoring
TCO AnalysisCalculate 5-year total cost including hidden costs
Ecosystem HealthAssess GitHub metrics, npm adoption, community strength
Security AssessmentEvaluate vulnerabilities and compliance readiness
Migration AnalysisEstimate effort, risks, and timeline for migrations
Cloud ComparisonCompare AWS, Azure, GCP for specific workloads

功能描述
技术对比通过加权评分对比框架与库
TCO分析计算包含隐性成本在内的5年总成本
生态系统健康评估GitHub指标、npm采用率及社区活跃度
安全评估评估漏洞情况与合规就绪度
迁移分析预估迁移所需的工作量、风险与时间线
云服务商对比针对特定工作负载对比AWS、Azure、GCP

Quick Start

快速开始

Compare Two Technologies

对比两项技术

Compare React vs Vue for a SaaS dashboard.
Priorities: developer productivity (40%), ecosystem (30%), performance (30%).
Compare React vs Vue for a SaaS dashboard.
Priorities: developer productivity (40%), ecosystem (30%), performance (30%).

Calculate TCO

计算TCO

Calculate 5-year TCO for Next.js on Vercel.
Team: 8 developers. Hosting: $2500/month. Growth: 40%/year.
Calculate 5-year TCO for Next.js on Vercel.
Team: 8 developers. Hosting: $2500/month. Growth: 40%/year.

Assess Migration

评估迁移方案

Evaluate migrating from Angular.js to React.
Codebase: 50,000 lines, 200 components. Team: 6 developers.

Evaluate migrating from Angular.js to React.
Codebase: 50,000 lines, 200 components. Team: 6 developers.

Input Formats

输入格式

The evaluator accepts three input formats:
Text - Natural language queries
Compare PostgreSQL vs MongoDB for our e-commerce platform.
YAML - Structured input for automation
yaml
comparison:
  technologies: ["React", "Vue"]
  use_case: "SaaS dashboard"
  weights:
    ecosystem: 30
    performance: 25
    developer_experience: 45
JSON - Programmatic integration
json
{
  "technologies": ["React", "Vue"],
  "use_case": "SaaS dashboard"
}

该评估工具支持三种输入格式:
文本 - 自然语言查询
Compare PostgreSQL vs MongoDB for our e-commerce platform.
YAML - 用于自动化的结构化输入
yaml
comparison:
  technologies: ["React", "Vue"]
  use_case: "SaaS dashboard"
  weights:
    ecosystem: 30
    performance: 25
    developer_experience: 45
JSON - 用于程序化集成
json
{
  "technologies": ["React", "Vue"],
  "use_case": "SaaS dashboard"
}

Analysis Types

分析类型

Quick Comparison (200-300 tokens)

快速对比(200-300词)

  • Weighted scores and recommendation
  • Top 3 decision factors
  • Confidence level
  • 加权评分与推荐建议
  • 三大核心决策因素
  • 置信度等级

Standard Analysis (500-800 tokens)

标准分析(500-800词)

  • Comparison matrix
  • TCO overview
  • Security summary
  • 对比矩阵
  • TCO概览
  • 安全总结

Full Report (1200-1500 tokens)

完整报告(1200-1500词)

  • All metrics and calculations
  • Migration analysis
  • Detailed recommendations

  • 所有指标与计算过程
  • 迁移分析
  • 详细推荐建议

Scripts

脚本工具

stack_comparator.py

stack_comparator.py

Compare technologies with customizable weighted criteria.
bash
python scripts/stack_comparator.py --help
通过可自定义的加权标准对比技术。
bash
python scripts/stack_comparator.py --help

tco_calculator.py

tco_calculator.py

Calculate total cost of ownership over multi-year projections.
bash
python scripts/tco_calculator.py --input assets/sample_input_tco.json
计算多年周期内的总拥有成本。
bash
python scripts/tco_calculator.py --input assets/sample_input_tco.json

ecosystem_analyzer.py

ecosystem_analyzer.py

Analyze ecosystem health from GitHub, npm, and community metrics.
bash
python scripts/ecosystem_analyzer.py --technology react
从GitHub、npm及社区指标分析生态系统健康度。
bash
python scripts/ecosystem_analyzer.py --technology react

security_assessor.py

security_assessor.py

Evaluate security posture and compliance readiness.
bash
python scripts/security_assessor.py --technology express --compliance soc2,gdpr
评估安全态势与合规就绪度。
bash
python scripts/security_assessor.py --technology express --compliance soc2,gdpr

migration_analyzer.py

migration_analyzer.py

Estimate migration complexity, effort, and risks.
bash
python scripts/migration_analyzer.py --from angular-1.x --to react

预估迁移复杂度、工作量与风险。
bash
python scripts/migration_analyzer.py --from angular-1.x --to react

References

参考资料

DocumentContent
references/metrics.md
Detailed scoring algorithms and calculation formulas
references/examples.md
Input/output examples for all analysis types
references/workflows.md
Step-by-step evaluation workflows

文档内容
references/metrics.md
详细的评分算法与计算公式
references/examples.md
所有分析类型的输入/输出示例
references/workflows.md
分步式评估工作流

Confidence Levels

置信度等级

LevelScoreInterpretation
High80-100%Clear winner, strong data
Medium50-79%Trade-offs present, moderate uncertainty
Low< 50%Close call, limited data

等级分数说明
80-100%结果明确,数据支撑充分
50-79%存在取舍,不确定性中等
< 50%结果接近,数据有限

When to Use

适用场景

  • Comparing frontend/backend frameworks for new projects
  • Evaluating cloud providers for specific workloads
  • Planning technology migrations with risk assessment
  • Calculating build vs. buy decisions with TCO
  • Assessing open-source library viability
  • 为新项目对比前端/后端框架
  • 针对特定工作负载评估云服务商
  • 结合风险评估规划技术迁移
  • 通过TCO分析判断自研 vs 外购决策
  • 评估开源库的可行性

When NOT to Use

不适用场景

  • Trivial decisions between similar tools (use team preference)
  • Mandated technology choices (decision already made)
  • Emergency production issues (use monitoring tools)
  • 相似工具间的琐碎决策(直接参考团队偏好即可)
  • 已强制确定的技术选型(决策已完成)
  • 生产环境紧急问题(使用监控工具处理)