Skip to content

WordSync/WordSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordSync

Your Vocab Grows Where You Learn.

Features

Core Functionality

  • Smart Word Selection: Select any English word on any webpage with Option + W (Mac) or Alt + W (Windows/Linux)
  • Multi-Translator Support: Choose from multiple translation providers (iciba, baidu, google) for accurate definitions
  • One-Click Word Addition: Add words to your personal vocabulary with Option + A shortcut or click the "Add Word" button
  • Audio Pronunciation: Listen to word pronunciation with the built-in audio feature
  • OCR Text Recognition: Extract and translate text from images, PDFs, and screenshots. Simply right-click on any image containing English text to extract and translate words instantly. Perfect for learning from:
    • Screenshots: Capture text from videos, presentations, or social media
    • PDF Documents: Extract text from scanned documents and e-books
    • Images: Process text from photos, memes, or infographics
    • Handwritten Text: Recognize handwritten English words and phrases
  • Synchronize Words to Your APP: Seamlessly integrate with 不背单词 (BBDC) - China's leading English learning platform. Your collected vocabulary automatically syncs to your BBDC account, creating personalized word books for systematic review and study. Features include:
    • One-Click Sync: Export your entire word collection with Option + Q shortcut
    • Smart Duplicate Handling: Automatically removes existing word books with the same name before creating new ones
    • Batch Processing: Efficiently handles large vocabulary collections
    • Login Status Detection: Automatically detects if you're logged into BBDC and prompts for login if needed
    • Error Recovery: Robust error handling with detailed feedback for troubleshooting sync issues

Intelligent Word Processing

  • AI-Powered Lemmatization: Automatically converts word variations to their base forms (e.g., "studies" → "study", "traders" → "trader")
  • Context-Aware Analysis: Uses surrounding text context for more accurate word form recognition(WIP).

Visual Enhancement

  • Smart Word Highlighting: Automatically highlights added words and their variants in orange throughout web pages
  • Intelligent Positioning: Translation popup automatically adjusts position to stay within screen boundaries
  • Dynamic Arrow Positioning: Smart arrow pointer always points to the selected word, regardless of popup position
  • Clean UI Design: Modern, unobtrusive interface with rounded corners and subtle shadows

Synchronization & Storage

  • Auto-Sync to BBDC: Daily automatic synchronization to 不背单词 (BBDC) platform at 4:00 AM
  • Catch-up Mechanism: Automatically syncs missed updates when the browser starts
  • Cross-Device Sync: Chrome storage sync ensures your vocabulary is available across all devices
  • Batch Word Management: Export and manage your entire word collection

Performance & Reliability

  • Real-time Updates: Instant highlighting of newly added words without page refresh
  • Memory Efficient: Optimized word matching algorithms for fast performance
  • Error Handling: Robust error handling with user-friendly notifications

User Experience

  • Keyboard Shortcuts:
    • Option + W / Alt + W: Show translation popup
    • Option + A / Alt + A: Add selected word
    • Option + Q / Alt + Q: Export word list and sync to BBDC
    • Option + S / Alt + S: OCR words
  • Toast Notifications: Real-time feedback for all user actions
  • Responsive Design: Works seamlessly across different screen sizes and zoom levels
  • Non-Intrusive: Minimal impact on webpage performance and appearance

Privacy & Security

  • Local Storage: All word data stored locally in Chrome storage
  • Secure Authentication: Safe handling of login credentials and cookies
  • No Data Collection: No personal data is collected or transmitted to third parties
  • Open Source: Fully transparent codebase for security review

About

WordSync: Select, Translate, OCR, Sync. Your Vocab Grows Where You Learn.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •