How bromscandium/portfolio works
This is a single-page interactive portfolio presented as a developer terminal or a plain-language view, in English or Ukrainian. The main journey is choosing a profile, entering the portfolio, navigating its intro, experience, skills, projects, and contact sections, and— in developer mode—running shell-like commands to inspect content or trigger actions. Tabs, overlays, themes, keyboard controls, and persisted preferences support that experience. The graph reflects documented capabilities and source-index references; unsampled implementation details are not inferred.
Main entry points: Terminal.tsx Terminal shell · run.ts Command execution · terminal.ts Terminal state · Projects.tsx Projects section
Components 25
Terminal experience
- App entry
app/page.tsx - Terminal shell
components/layout/Terminal.tsx - Profile picker
components/layout/windows/ProfilePicker.tsx - Tabs and navigation
components/layout/TabBar/TabBar.tsx - Command and project overlays
components/layout/windows
Portfolio content
- Intro section
components/sections/Intro/Intro.tsx - Experience section
components/sections/Experience/Experience.tsx - Skills section
components/sections/Skills/Skills.tsx - Projects section
components/sections/Projects/Projects.tsx - Contact section
components/sections/Contact/Contact.tsx - Project data
lib/data/portfolio.ts - Skills data
lib/data/skills.ts - Other portfolio data
lib/data
Command system
- Command line
components/layout/CommandLine/CommandLine.tsx - Command interaction
hooks/useCommandLine.ts - Command execution
lib/commands/run.ts - Command registry
lib/commands/registry.ts - Virtual filesystem
lib/commands/fs.ts
State and presentation
- Terminal state
store/terminal.ts - Session and keyboard effects
hooks/useTerminalEffects.ts - Localized copy
lib/i18n.ts - Modes and themes
lib/modes.ts - Browser preferences
lib/storage.ts - GitHub contributions
hooks/useContributions.ts
Other components
- Visitor
Connections 30
- Visitor → App entry: opens
app/page.tsx - App entry → Terminal shell: renders
app/page.tsx - Terminal shell → Profile picker: renders
components/layout/Terminal.tsx - Terminal shell → Tabs and navigation: renders
components/layout/Terminal.tsx - Terminal shell → Command and project overlays: renders
components/layout/Terminal.tsx - Terminal shell → Intro section: renders
components/layout/Terminal.tsx - Terminal shell → Experience section: renders
components/layout/Terminal.tsx - Terminal shell → Skills section: renders
components/layout/Terminal.tsx - Terminal shell → Projects section: renders
components/layout/Terminal.tsx - Terminal shell → Contact section: renders
components/layout/Terminal.tsx - Terminal shell → Command line: renders
components/layout/Terminal.tsx - Terminal shell → Terminal state: reads state
components/layout/Terminal.tsx - Terminal shell → Session and keyboard effects: starts effects
components/layout/Terminal.tsx - Projects section → Project data: displays
components/sections/Projects/Projects.tsx - Skills section → Skills data: reads
- Command line → Command interaction: uses
components/layout/CommandLine/CommandLine.tsx - Command interaction → Terminal state: updates
hooks/useCommandLine.ts - Command interaction → Command execution: dispatches
hooks/useCommandLine.ts - Command execution → Command registry: looks up
lib/commands/run.ts - Command execution → Virtual filesystem: resolves paths
lib/commands/run.ts - Command execution → Project data: searches projects
lib/commands/run.ts - Command execution → Other portfolio data: reads portfolio data
lib/commands/run.ts - Terminal shell → Localized copy: gets copy
components/layout/Terminal.tsx - Session and keyboard effects → Terminal state: dispatches actions
hooks/useTerminalEffects.ts - Session and keyboard effects → Browser preferences: restores preferences
- Terminal state → Browser preferences: persists preferences
store/slices/session.ts - Localized copy → Modes and themes: formats by mode
lib/i18n.ts - Terminal shell → Modes and themes: switches views
components/layout/Terminal.tsx - GitHub contributions → Visitor: fetches live data
README.md - Projects section → Project data: filters projects
components/sections/Projects/Projects.tsx