Browser and IDE Extensions
The ErikrafT Drop extension ecosystem provides seamless integration with popular browsers and development environments, enabling users to share files directly from their preferred tools without interrupting their workflow.Extension Overview
Extension Categories
- Browser Extensions: Chrome, Firefox, Opera, and Thunderbird extensions
- IDE Extensions: VS Code and Open VSX Registry extensions
- Integration Types: Context menu, toolbar, and command palette integration
- Functionality: File sharing, code sharing, and workflow integration
Supported Platforms
Browser Extensions
| Browser | Extension Store | Extension ID | Features |
|---|---|---|---|
| Chrome | Chrome Web Store | Available | Context menu, toolbar |
| Firefox | Firefox Add-ons | Available | Context menu, toolbar |
| Opera | Opera Add-ons | Available | Context menu, toolbar |
| Thunderbird | Thunderbird Add-ons | Available | Email attachment sharing |
IDE Extensions
| Platform | Marketplace | Extension ID | Features |
|---|---|---|---|
| VS Code | VS Code Marketplace | ErikrafT.erikraft-drop | Command palette, explorer |
| Open VSX | Open VSX Registry | ErikrafT/erikraft-drop | Command palette, explorer |
Browser Extensions
Architecture Overview
Browser extensions use the WebExtensions API for cross-browser compatibility:Core Features
Context Menu Integration
- Right-Click Menu: Adds ErikrafT Drop options to context menu
- File Selection: Works with selected files and text
- URL Sharing: Share web page URLs directly
- Image Sharing: Share images from web pages
Toolbar Integration
- Quick Access: One-click access to ErikrafT Drop
- Status Indicator: Shows connection status
- Quick Actions: Rapid file sharing actions
- Settings Access: Extension configuration options
WebSocket Connection
- Persistent Connection: Maintains WebSocket connection
- Auto-Reconnection: Automatic reconnection on disconnect
- Background Operation: Works in background tabs
- Error Handling: Graceful error handling and recovery
Browser-Specific Implementation
Chrome Extension
Firefox Extension
Extension Features
File Sharing Capabilities
- Multiple Files: Select and share multiple files
- Directory Support: Share entire directories
- Large Files: Handle large file transfers
- Progress Tracking: Monitor transfer progress
Content Type Support
- Documents: PDF, DOC, TXT, and other document formats
- Images: JPG, PNG, GIF, WebP, and other image formats
- Code Files: Source code files with syntax highlighting
- Archives: ZIP, RAR, and other archive formats
Integration Points
- File Explorer: Integration with browser file explorer
- Download Manager: Share downloaded files
- Web Pages: Share web page content and URLs
- Developer Tools: Integration with browser developer tools
IDE Extensions
VS Code Extension
Architecture
The VS Code extension integrates with the VS Code extension API:Features
- Command Palette Integration: Access via Ctrl+Shift+P
- Explorer Context Menu: Right-click files in explorer
- Editor Integration: Share active editor content
- Workspace Integration: Share entire workspace files
Commands
Open VSX Extension
Compatibility
The Open VSX extension provides the same functionality as the VS Code extension:- Cross-Platform: Works with VS Code forks
- Open Source: Fully open-source implementation
- Feature Parity: Same features as VS Code version
- Community Support: Community-driven development
Installation
Installation and Setup
Browser Extension Installation
Chrome Web Store
- Visit Store: Chrome Web Store
- Search: Search for “ErikrafT Drop”
- Install: Click “Add to Chrome”
- Permissions: Review and grant permissions
- Setup: Configure extension settings
Firefox Add-ons
- Visit Add-ons: Firefox Add-ons
- Search: Search for “ErikrafT Drop”
- Install: Click “Add to Firefox”
- Permissions: Review and grant permissions
- Setup: Configure extension settings
Opera Add-ons
- Visit Add-ons: Opera Add-ons
- Search: Search for “ErikrafT Drop”
- Install: Click “Add to Opera”
- Permissions: Review and grant permissions
- Setup: Configure extension settings
Thunderbird Add-ons
- Visit Add-ons: Thunderbird Add-ons
- Search: Search for “ErikrafT Drop”
- Install: Click “Add to Thunderbird”
- Permissions: Review and grant permissions
- Setup: Configure extension settings
IDE Extension Installation
VS Code Marketplace
- Open VS Code: Launch VS Code
- Extensions View: Press Ctrl+Shift+X
- Search: Search for “ErikrafT Drop”
- Install: Click “Install”
- Setup: Configure extension settings
Open VSX Registry
- Open VSX: Visit Open VSX
- Search: Search for “ErikrafT Drop”
- Install: Follow installation instructions
- Setup: Configure extension settings
Usage Patterns
Browser Extension Usage
File Sharing Workflow
- Select Files: Select files in browser or file system
- Context Menu: Right-click and select “Share with ErikrafT Drop”
- Choose Recipient: Select target device from list
- Transfer: Files transfer automatically
- Confirmation: Receive transfer confirmation
Web Content Sharing
- Web Page: Open web page with content to share
- Select Content: Select text, images, or links
- Share Action: Use context menu or toolbar button
- Transfer: Content transfers to selected device
- Completion: Receive confirmation of successful transfer
IDE Extension Usage
Code Sharing Workflow
- Select File: Select file in VS Code explorer
- Context Menu: Right-click and select “Share with ErikrafT Drop”
- Choose Target: Select destination device
- Transfer: Code files transfer automatically
- Confirmation: Receive transfer confirmation
Project Sharing
- Select Folder: Select project folder in explorer
- Command Palette: Use Ctrl+Shift+P and search for ErikrafT Drop commands
- Share Project: Choose “Share Workspace” option
- Transfer: Entire project transfers to target device
- Progress: Monitor transfer progress in status bar
Technical Implementation
Extension Architecture
Background Script
Content Script
IDE Extension Architecture
VS Code Extension API Integration
Configuration and Settings
Extension Settings
Browser Extension Configuration
IDE Extension Configuration
Customization Options
Server Configuration
- Custom Server: Use self-hosted ErikrafT Drop instance
- Connection Settings: Configure timeout and retry settings
- Authentication: Set up authentication if required
- SSL/TLS: Configure secure connection settings
User Interface
- Theme: Match editor or browser theme
- Notifications: Configure notification preferences
- Status Indicators: Show/hide connection status
- Progress Display: Configure progress indication
Troubleshooting
Common Issues
Extension Installation Problems
- Store Access: Verify access to extension store
- Permissions: Check extension permissions
- Browser Version: Ensure browser compatibility
- System Requirements: Verify system requirements
Connection Issues
- Network Connectivity: Check internet connection
- Server Status: Verify ErikrafT Drop server status
- Firewall Settings: Check firewall configuration
- Proxy Settings: Verify proxy configuration
File Transfer Problems
- File Size: Check file size limitations
- File Type: Verify supported file types
- Permissions: Check file access permissions
- Storage Space: Ensure sufficient storage space
Debug Information
Browser Extension Debugging
IDE Extension Debugging
Future Development
Planned Enhancements
Browser Extensions
- Enhanced UI: Improved user interface design
- Additional Browsers: Support for additional browsers
- Advanced Features: Enhanced file handling capabilities
- Performance: Improved performance and responsiveness
IDE Extensions
- Additional IDEs: Support for additional IDEs
- Advanced Integration: Enhanced IDE integration
- Collaboration Features: Real-time collaboration capabilities
- Workflow Automation: Automated workflow integration
Technical Improvements
- WebSocket Optimization: Enhanced WebSocket performance
- Security: Improved security features
- Reliability: Enhanced reliability and error handling
- Performance: Optimized performance across platforms