by 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
Spin up an isolated sandbox and run it server-side — no local setup.
Push this product straight into your AI IDE, web builder or cloud IDE.
Connect Tetrees to a compatible AI IDE, list products you own, and request the verified ZIP without exposing seller upload controls.
No reviews yet.
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
The sandbox audition completed and the detected runnable path passed.
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
Pipeline 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.
Reviewed Aug 7, 2026
The full install guide and integration prompts unlock after purchase.
CRM, ERP, Admin & Internal Tools
$4