Files
PrivyDrop/frontend
david_bai 27375c1a4d refactor(theme): use design tokens and fix dark mode visuals
- Replace hardcoded Tailwind colors (bg-white, bg-gray-50/100, text-gray-, border-gray-, divide-gray-*, text-blue-600/800, bg-blue-50) with design tokens (bg-card, bg-muted, text-foreground, text-muted-foreground, border-
    border, text-primary, hover:bg-accent, bg-primary/10).
  - ClipboardApp: update RichTextEditor toolbar/editor, FileUploadHandler, ShareCard, FileListDisplay, SendTabPanel, RetrieveTabPanel, FileTransferButton.
  - Blog UI: unify styles in list page, tag page, post page, ArticleListItem, and TableOfContents.
  - MDX/prose: normalize pre/code/table/blockquote/lists and figure captions; switch rehype table divider to theme token.
  - Misc: adjust HomeClient and HowItWorks copy colors to tokens.
  - No functional changes; light mode parity; improved contrast and consistency in dark mode.
2025-11-25 21:52:45 +08:00
..
2025-06-22 21:34:54 +08:00
2025-06-20 20:54:42 +08:00
2025-10-25 11:55:21 +08:00
2025-06-20 20:54:42 +08:00
2025-06-22 10:13:47 +08:00
2025-06-20 20:54:42 +08:00
2025-06-20 20:54:42 +08:00

PrivyDrop - Frontend

This is the frontend for PrivyDrop, a privacy-focused file sharing application built with Next.js and based on WebRTC.

🛠️ Tech Stack

  • Frontend Framework: Next.js 14 (App Router)
  • UI Framework: React 18 + TypeScript
  • Styling: Tailwind CSS + shadcn/ui
  • P2P Transport: WebRTC
  • Signaling Service Client: Socket.IO Client
  • Internationalization: next-intl

🚀 Local Development

Before you start, please ensure you have installed and started the backend service according to the instructions in the project's root README.md.

  1. Navigate to the Directory

    # Assuming you are in the project's root directory
    cd frontend
    
  2. Install Dependencies

    pnpm install
    
  3. Configure Environment Variables First, copy the environment variable configuration from the template file:

    cp .env_development_example .env.development
    

    Then, open and edit the .env.development file, ensuring that NEXT_PUBLIC_API_URL points to your locally running backend service.

  4. Start the Development Server

    pnpm dev
    
  5. Open http://localhost:3002 in your browser to see the application.

📚 Detailed Documentation

🤝 Contributing

We welcome all forms of contributions! Please read the Contribution Guidelines in the root directory to get started.