lij768423-svg/ljj-world
About
Interactive personal portfolio for products, experiments, and self-hosted infrastructure.
Systems & InfrastructureMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalljj.world
A desktop-first interactive portfolio for products, experiments, and a self-hosted home lab.
Visit the live site · Report an issue · MIT license
ljj.world is not a landing-page template. It is a portfolio built as a set of kinetic scenes: a product index grows into a DNA helix, a server opens into the services it runs, and a desk archive becomes a pair of draggable photo arcs. The site is designed, implemented, deployed, and maintained as one personal system.
中文:这是一个以产品、个人经历与自建服务器为内容的交互式作品集。它更像一组可以进入的场景,而不是一张静态简历。

What Is Inside
Project indexTwelve projects orbit a continuously moving DNA sequence. Selecting a card unfolds a focused dossier instead of sending the visitor through a generic card grid. |
Server storyA line-art machine opens into network, hardware, AI, data, and container modules. Each module exposes the services behind the visual. |
Desk archiveHOME and DORM collections use opposing curved galleries. Photos can be dragged, tilted on hover, opened full-screen, and browsed within their original group. |
About as a systemThe profile page keeps biography, working method, capabilities, and personal interests in the same visual language as the product scenes. |
Experience Principles
- A route should have a point of view. Home, Projects, Server, Desk, and About are distinct scenes rather than repeated page shells.
- Motion carries structure. The project helix, server expansion, gallery entry, theme wipe, and language transition all reveal hierarchy or state instead of acting as decoration.
- Interaction stays local. Project cards unfold in place; server modules focus by click and reset on blank space; desk photos retain their group and position in a full-screen viewer.
- The design remains inspectable. A restrained grid, red connector system, stable dock, and reduced-motion fallback prevent the visual system from becoming a collection of effects.
Technical Shape
| Concern | Implementation |
|---|---|
| Application | React 19, TypeScript, Vite 8, Wouter |
| Motion | Motion for React, GSAP, custom CSS choreography |
| 3D and canvas | Three.js DNA helix, OGL circular galleries, Canvas pointer effects |
| Interface | CSS grid system, light/dark themes, English/Chinese language transition |
| Quality | Playwright visual and interaction regression coverage, prefers-reduced-motion fallback |
The portfolio is intentionally static: it has no runtime database, API, analytics dependency, or required environment variable. Content lives in the repository and the production output is a regular static build.
Run Locally
Requires Node.js 20 or newer.
git clone https://github.com/lij768423-svg/ljj-world.git
cd ljj-world
npm ci
npm run dev
Vite starts on http://localhost:5173. The desktop composition is the primary target; mobile keeps all routes usable but intentionally simplifies the heaviest kinetic behavior.
Verify Changes
Install Playwright Chromium once, then run the same checks used by CI:
npx playwright install chromium
npm run typecheck
npm run build
npm run test:e2e
If Chromium is already installed elsewhere, set PLAYWRIGHT_CHROMIUM_PATH before running the browser tests.
Make It Yours
This repository is easiest to adapt by replacing content first, then assets, then visual details.
| Change | Where |
|---|---|
| Projects, outbound links, server services, metadata | src/App.tsx |
| Blog posts: paragraphs plus code, list and figure blocks | src/blog.ts |
Server numbers on /systems (snapshot, refreshed by npm run snapshot:server) |
src/data/serverSnapshot.json |
| English/Chinese text mapping and global transition | src/i18n |
| Project DNA index | src/components/ProjectHelix.tsx |
| Project paper, shared by desktop and phone | src/components/ProjectPaper.tsx |
| Server machine and service expansion | src/components/ServerExplodedStory.tsx |
| Desk arcs and full-screen image viewer | src/components/CircularGallery.tsx |
| Visual system and page layout | src/styles.css |
| Reusable interaction layers | src/effects.css and src/components/effects |
New Chinese copy can be added to the translation mapping with:
node scripts/generate-portfolio-translations.mjs
Replace identity-specific copy and the contents of public/assets before publishing a derivative. The screenshot capture utility is optional and only needed when refreshing project previews:
cp .env.example .env.local
npm run capture:projects -- law
The supported capture groups are 408, 408-demo, harmony, ios, law, wiki, agent, writing, hardware, tailscale, mineradio, mineradio-cover, tools, and variants. See .env.example for optional source locations. Review any captured image before committing it: do not publish private addresses, device names, credentials, or user data.
Deploy
npm run build
After vite build, npm run build runs scripts/generate-seo.mjs. It writes one HTML entry per route and language (dist/<route>/index.html in Chinese and dist/en/<route>/index.html in English, each with its own title, description, canonical, hreflang, Open Graph tags and JSON-LD) plus dist/404.html, dist/sitemap.xml and dist/rss.xml. The URL carries the language: a first visit from a browser that prefers Chinese stays at /…, any other browser is moved to /en/…, and the language switch moves between the two. Route data comes from src/seo/routes.ts, which shares the app's page metadata, project list and blog posts.
Articles also get a 1200×630 share card per language for link previews. The cards live in public/assets/share/ and are drawn from the post data in headless Chromium; the build fails when one is missing, so run this after adding or retitling a post:
npm run share-cards
This site ships with one command from a clean main: it refreshes the /systems snapshot, packages a release, activates it on the static host with route-by-route checks and automatic rollback, submits the sitemap to IndexNow and pushes main. Hosts and flags are described at the top of scripts/release.mjs and in deploy/RELEASE.md.
npm run release -- --dry-run
npm run release
Deploy dist/ to any static host. The app uses History API routing: known paths serve their own index.html first, and unknown paths serve 404.html with a 404 status. A generic Caddy example is included and vite preview follows the same rules. For Nginx:
location / {
try_files $uri $uri/index.html =404;
}
error_page 404 /404.html;
Repository Map
personal-portfolio/
├── docs/screenshots/ # README visuals captured from the running site
├── deploy/ # static-hosting examples
├── public/assets/ # portfolio-specific images and generated artwork
├── scripts/ # asset preparation, capture, and translation helpers
├── src/components/ # visual scenes and interaction primitives
├── src/i18n/ # language transition and text mapping
├── src/App.tsx # content model, routes, and page composition
└── tests/ # Playwright regression coverage
License and Asset Use
The source code and documentation are released under the MIT License.
The visuals in public/assets and docs/screenshots are not automatically covered by MIT. They include personal images, identity-specific copy, product screenshots, marks, and generated artwork. Their use is described in ASSET_LICENSE.md; replace them before redistributing a derivative as your own portfolio.
Some animation components adapt ideas or source from React Bits. Dependency and attribution details are in THIRD_PARTY_NOTICES.md.
Explore related projects
Loading…
Project index
Server story
Desk archive
About as a system