ProfileCraft is a browser-based profile card editor built with React + TypeScript. It is designed for creating "扩列条" style cards quickly, with rich text editing, flexible card layouts, and one-click export.
- Rich text editing (bold, italic, underline, strikethrough)
- Dynamic cards and content blocks
- Drag-and-resize layout based on react-grid-layout
- Avatar upload and QR code update
- Multi-language UI (zh-CN, en-US, ja-JP, ko-KR)
- Built-in themes (Default, Cyberpunk)
- Auto-save to localStorage
- Export as standalone HTML or PNG
- React 19
- TypeScript
- Vite
- Context API
- react-grid-layout
- html2canvas
- qrcode.react
- lucide-react
- Node.js 20+
- npm 10+
npm installnpm run devnpm run buildnpm run previewnpm run lintsrc/
components/ # App shell, cards, modals, UI components
context/ # Profile / Locale / Theme contexts
hooks/ # Reusable logic (layout, throttle, translation, etc.)
config/ # Locale and theme registries
utils/ # Export, i18n, theme and color utilities
styles/ # Global and modular styles
types/ # Shared TypeScript types
public/
locales/ # Translation files
themes/ # Theme CSS files
document/
README.*.md # Localized documentation
- User data is saved in browser localStorage.
- Clearing browser storage will remove local drafts.
- PNG export relies on html2canvas and may not perfectly render very complex CSS effects.
- Exported HTML contains all required styles, and web font loading may require internet access.
MIT. See LICENSE.