由 tarunkorat 出售

React + TypeScript salary projection tool that models multiple career paths with inflation-adjusted forecasts, interactive Recharts visualizations, and an on-device AI consultant powered by Flan-T5. Compare up to 5 career scenarios side-by-side with job events (promotions, layoffs, freelance periods), view year-by-year timelines, and export projections as PDFs—all locally, no server required. Built with Vite, Framer Motion, and jsPDF for professionals planning long-term earnings strategies.
SalaryScope is a React + TypeScript single-page application for modeling and comparing multiple career paths with AI-powered consulting. Project salary growth over 1–40 years, visualize inflation-adjusted earnings, track career events (job switches, promotions, layoffs), and get instant insights from an on-device AI consultant.
| Layer | Technology |
|---|---|
| UI Framework | React 19 + TypeScript 5.6 |
| Build Tool | Vite 6 |
| Styling | CSS custom properties + Tailwind CSS 4 |
| Charts | Recharts 3.8 |
| Animation | Framer Motion 12 |
| AI (On-Device) | @xenova/transformers (Flan-T5-base) |
| PDF Export | jsPDF 4.2 + html2canvas 1.4 |
| Routing | React Router DOM 7 |
npm install
npm run dev
Open http://localhost:5173 in your browser.
npm run build # outputs to dist/
npm run preview # serve the dist/ build locally
启动隔离沙箱并在服务器端直接运行 — 无需本地配置。
将此产品直接导入你的 AI IDE、网页构建器或云端 IDE。
将 Tetrees 连接到兼容的 AI IDE,列出你拥有的产品并获取已验证 ZIP,同时不会开放卖家上传权限。
暂无评价。
Sign in to join the discussion
Loading discussion…
npm run typecheck # TypeScript validation
npm run lint # ESLint check
npm run lint:fix # Auto-fix linting issues
src/
├── ai/
│ └── careerConsultant.ts # On-device AI via @xenova/transformers
├── components/
│ ├── chat/ # ChatPanel, AIStatus, message UI
│ ├── charts/ # SalaryChart, LifetimeEarningsBar
│ ├── paths/ # CareerPathCard, AddPathButton, JobSwitchEvent
│ ├── settings/ # GlobalSettingsPanel
│ ├── stats/ # SummaryStats, ComparisonTable
│ ├── timeline/ # CareerTimeline, TimelineTrack, TimelineEvent
│ └── ui/ # Badge, Button, Input, Select, Slider, Modal, Tooltip, Toast, ColorPicker
├── data/
│ └── inflationRates.ts # Historical US inflation data
├── hooks/
│ ├── useChat.ts # AI chat state & message history
│ ├── useInflation.ts # Inflation rate lookup & toggle
│ ├── useLeaderboard.ts # Local leaderboard via localStorage
│ └── useSalaryProjection.ts # Core projection computation
├── utils/
│ ├── calculateProjection.ts # Year-by-year salary math
│ ├── exportPDF.ts # jsPDF export helper
│ ├── formatCurrency.ts # Locale-aware currency formatting
│ └── stateEncoding.ts # URL-safe state serialization
├── types.ts # Shared TypeScript interfaces
├── App.tsx # Root component & layout
└── main.tsx # React DOM entry point
useSalaryProjection — computes year-by-year salary projections for all paths based on events and settingsuseInflation — manages inflation toggle and applies historical inflation rates to projectionsuseChat — manages AI chat state, message history, and Flan-T5 model initializationuseLeaderboard — stores and retrieves user projections from localStorageTetrees License
沙箱验证已完成,检测到的可运行路径已通过。
This React web app completed archive review with strong static results. Structure, dependency manifests, documentation, functional source, and common risk patterns were checked by the Tetrees verification pipeline; runtime phases are stated separately. Final verified scores after isolated runtime evidence: overall 8.5 and security 9. Final verified scores after isolated runtime evidence: overall 8.5 and security 9. Final verified scores after isolated runtime evidence: overall 8.8 and security 9.
Deterministic AVCP artifact review
管道 avcp-2026-08-04.1 · SHA-256 0438498fe63cec4b…
This version-scoped review deterministically inspects the submitted archive for structure, dependencies, documentation, functional source, and common malicious or high-risk signals. Build and test phases are reported as passed only after an isolated sandbox audition. It is not a guarantee of perfect security.
审查日期 2026年8月7日
完整安装指南与集成提示词将在购买后解锁。
CRM, ERP, Admin & Internal Tools
US$4