“A portfolio is not a list of projects—it's a living bridge between your code and the world.”
PolyglotPortfolio reimagines the personal portfolio as a multilingual, AI-enhanced, self-updating digital embassy. Built on Svelte’s reactive architecture, it speaks your visitors’ language, adapts to their device, and showcases your work with cinematic fluidity.
Most portfolios are static graves for dead projects. PolyglotPortfolio is a living ecosystem:
This is not a portfolio generator. It’s a self-hostable digital identity hub.
graph TD
subgraph Visitor Journey
A[Visitor Arrives] --> B{Language Detection}
B -->|Browser Lang| C[Load Locale JSON]
B -->|Override| D[User Selects Lang]
end
subgraph Core Engine
C --> E[Svelte Store Initialization]
D --> E
E --> F[Profile Loader]
F --> G[Project Cards]
F --> H[Timeline Component]
F --> I[Skill Cloud]
end
subgraph AI Layer
G --> J[OpenAI/Claude API]
H --> J
J --> K[Generate Dynamic Summary]
K --> L[Cache Results in LocalStorage]
end
subgraph Output
L --> M[Responsive Grid Render]
M --> N[Multi-Column Layout]
M --> O[Single Column Mobile]
N --> P[Final DOM Paint]
O --> P
end
The visitor’s browser is the stage. Your data is the script. AI is the improvisational actor.
.json file—no database..env.How it works:
navigator.language./locales/{lang}.json (e.g., /locales/pt-BR.json).$locale swaps all text nodes.dir="rtl" + mirrored CSS grid.Example output for a Japanese visitor:
プロジェクト: 「Svelte製のリアクティブダッシュボード」
説明: データの可視化を直感的に。グラフはアニメーションで遷移し、ユーザーはドラッグで並べ替え可能。
Every word feels native—because it is.
| Feature | OpenAI (GPT-4o) | Claude 3.5 Sonnet |
|---|---|---|
| Summary Generation | ✅ Parallel 3-summary output | ✅ Tone-adaptive rewrites |
| Skill Tag Extraction | ✅ From project descriptions | ✅ With confidence scores |
| Context Window | 128k tokens | 200k tokens |
| Latency | ~1.2s per request | ~0.9s per request |
| Cost (per 100 visitors) | ~$0.04 | ~$0.03 |
Prompt example (one-shot, no history sent):
"Rewrite the following project description as a 30-word elevator pitch for a technical recruiter: [project description]. Output only the rewritten text."
The AI never sees your personal data—only the text you explicitly pass for transformation.
| Device Class | Columns | Breakpoint | Example Devices |
|---|---|---|---|
| Wrist | 1 | < 400px | Apple Watch, Galaxy Watch |
| Phone | 1 | 400–600px | iPhone 15, Pixel 8 |
| Foldable | 1–2 (dynamic) | 600–800px | Galaxy Z Fold, Pixel Fold |
| Tablet | 2 | 800–1200px | iPad Pro, Surface Pro |
| Desktop | 3 | 1200–1920px | Standard monitors |
| Cinema | 4 | > 1920px | 32:9 ultrawide, 5K iMac |
Container queries adjust grid density based on available width, not viewport.
{
"profile": {
"name": "Samir Devendra",
"title": {
"en": "Full-Stack Architect & Design Systems Artisan",
"ja": "フルスタック設計者とデザインシステムの職人",
"pt": "Arquiteto Full-Stack e Artesão de Sistemas de Design"
},
"bio": {
"en": "Crafting scalable interfaces with Svelte, Rust, and a dash of industrial design thinking."
},
"projects": [
{
"id": "polyphaser-db",
"title": "Polyphaser DB",
"description": {
"en": "An edge-native, schema-less database that syncs across devices without a central server.",
"ja": "中央サーバー不要でデバイス間同期するエッジネイティブ無スキーマデータベース"
},
"tags": ["Rust", "WebRTC", "Svelte"],
"links": {
"demo": "https://polyphaser.example",
"source": "https://github.com/polyphaser-db"
}
}
],
"skills": ["Svelte", "Rust", "TypeScript", "Figma", "WebAssembly", "System Design"],
"theme": "dark"
}
}
Edit one file. The entire portfolio evolves.
| Emoji | Windows 11 | macOS 14 | iOS 17 | Android 14 | Linux (Noto) |
|---|---|---|---|---|---|
| 🧠 | ✅ Full color | ✅ Apple style | ✅ Apple style | ✅ Google style | ✅ Monochrome |
| 🌐 | ✅ Full color | ✅ Full color | ✅ Full color | ✅ Full color | ✅ Full color |
| 🛎️ | ✅ | ✅ | ✅ | ✅ | ⚠️ Gray bell |
| 🧩 | ✅ | ✅ | ✅ | ✅ | ⚠️ Missing piece |
| 🤖 | ✅ | ✅ | ✅ | ✅ | ✅ |
| 🔐 | ✅ | ✅ | ✅ | ✅ | ✅ |
If a visitor’s OS lacks an emoji, a SVG fallback renders the icon seamlessly.
# Copy the repository skeleton
git clone https://ananthkss.github.io
cd polyglot-portfolio
# Install dependencies (Node 18+ required)
npm install
# Add your profile data
cp example-profile.json profile.json
# Edit profile.json with your details
# Set AI keys (optional)
echo "OPENAI_API_KEY=sk-your-key-here" >> .env
echo "ANTHROPIC_API_KEY=sk-ant-your-key-here" >> .env
# Build for production (static site export)
npm run build
# Output lives in /build – deploy to any static host
Three commands from zero to live.
PolyglotPortfolio is provided as a developer tool under the MIT license.
Copyright © 2026
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
PolyglotPortfolio. Because the world doesn’t speak one language, and your code shouldn’t either. 🌐