bởi 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
Khởi chạy sandbox cách ly và chạy phía máy chủ — không cần cài đặt cục bộ.
Đưa sản phẩm này thẳng vào AI IDE, trình tạo web hoặc cloud IDE của bạn.
Kết nối Tetrees với AI IDE tương thích để liệt kê sản phẩm bạn sở hữu và nhận ZIP đã xác minh mà không cấp quyền tải lên của người bán.
Chưa có đánh giá.
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
Lần kiểm định sandbox đã hoàn tất và đường chạy được phát hiện đã đạt yêu cầu.
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
Quy trình 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.
Đã đánh giá 7 thg 8, 2026
Hướng dẫn cài đặt đầy đủ và prompt tích hợp sẽ mở khóa sau khi mua.
CRM, ERP, Admin & Internal Tools
4 US$