Skip to content

Latest commit

 

History

78 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xfinds

Universal Cross-Border Shopping Agent Aggregator & Comparison Platform

全场景跨境购物代理聚合与全球比价平台

Next.js TypeScript TailwindCSS Apache 2.0 License

Live DemoIssuesRoadmap


What is Xfinds? | 平台定位

Xfinds is a consumer-facing platform designed to bring transparency to the fragmented cross-border e-commerce market. It aggregates multiple shopping agents into a single, cohesive experience—enabling users to search, compare, and optimize global purchases with verifiable cost data.

Xfinds 是一个面向 C 端的跨境购物决策平台。通过整合多家代理商数据,为用户提供统一检索、横向比价与成本优化方案,让复杂的全球购物流程变得透明且高效。

Important

Disclaimer | 项目声明: This repository is a frontend demonstration template. All products and agent data are local/mocked for UI/UX display. For commercial use, developers must integrate their own live APIs.
本项目目前为前端演示模板。所有商品与代理商数据均为本地 Mock 数据,仅供交互演示。如需投入实际商用,开发者需自行对接真实的后端 API。


Key Capabilities | 核心能力

  • Unified Search — Single entry point for high-performance fuzzy search across major agents.
    统一检索:聚合多家代理商品数据,支持高性能模糊匹配。
  • Smart Comparison — Side-by-side analysis of item prices, service fees, and region-specific constraints.
    智能比价:横向对比商品底价、代理服务费及各类限制条件。
  • Dynamic Estimation — Real-time shipping cost and delivery time calculation based on granular carrier rules.
    动态估算:基于线路规则实时计算运费及预计送达时间。
  • Strategy Optimization — Intelligent suggestions to merge or split orders to minimize total landed cost.
    策略优化:提供智能合单/分单建议,最大程度降低到手成本。

System Showcase | 系统演示

Premium Interface (Dark Mode) | 沉浸式视觉体验(夜间模式)

Xfinds dark mode banner


Discovery Grid (Light)
日间模式商品网格

Product Details
商品详情与变体

Agent Comparison
代理商横向比价

Cart Checkout
购物车结算优化

Why Developers Care | 开发者价值与扩展性

Xfinds is built as an extensible architecture for cross-border data orchestration. It provides a robust foundation for building comparison tools with clean separation of concerns.

Xfinds 采用高度可扩展的平台架构,旨在沉淀一套标准化的跨境数据编排工作流。

  • Adapter-based Integration — Add a new shopping agent by implementing a standardized provider interface without modifying core UI components.
    适配器架构:通过实现标准 Provider 接口即可快速接入新代理,保持核心逻辑独立。
  • Unified Data Schema — Normalize diverse upstream responses into consistent Product, Offer, and ShippingQuote models.
    统一模型:将异构的上游响应规范化为统一的数据模型,降低下游消费成本。
  • Rule-driven Engines — Modularized logic for fee calculation and logistics constraints (volumetric weight, region surcharges, etc.).
    规则引擎:计费与物流限制逻辑完全模块化,支持线路规则的可测试与可复用。
  • High DX Standard — End-to-end type safety with TypeScript, clear API/UI boundaries, and production-ready testing coverage.
    极致开发体验:全链路类型覆盖,API 与视图层深度解耦,支持持续集成。

Quick Start | 快速开始

# 1. Clone the repository | 克隆仓库
git clone https://github.com/TheNewMikeMusic/Xfinds.git && cd Xfinds

# 2. Install dependencies | 安装依赖
npm install

# 3. Setup environment | 环境配置
cp .env.example .env.local

# 4. Start development | 启动开发
npm run dev

Technical Specification | 技术选型

  • Framework: Next.js 14 (App Router) • TypeScript 5.x • Zustand
  • Styling: Tailwind CSS • Framer Motion • Radix UI
  • Services: Fuse.js (Fuzzy search) • next-intl (i18n) • Sharp
  • Testing: Vitest • Playwright

Project Structure | 项目结构

app/            # Routes, layouts, and API endpoints
components/     # UI primitives & feature components (Atomic Design)
lib/            # Core engines (pricing/shipping) & standardized utils
store/          # Client-side state orchestration
data/           # Static metadata & mock registries
messages/       # Localization dictionaries

License | 开源协议

Xfinds is released under the Apache License 2.0.
基于 Apache 2.0 协议开源。

Built for clarity. Designed for the global shopping community.

About

xfinds is a consumer-facing cross-border freight comparison platform. Aggregates forwarder APIs for search, smart price comparison, and shipping cost calculation—built on an extensible adapter + pricing engine architecture.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages