A Chrome extension that enables users to send PDF documents from cloud applications directly to Binect for physical printing and postal delivery.
## Overview
BinectChrome detects PDF downloads in your browser and allows you to send them directly to Binect for physical mail delivery, eliminating the manual download-upload workflow.
## Features
- **PDF Detection**: Automatically detects PDF downloads using Chrome Downloads API
- **Secure Transfer**: Sends PDFs directly to Binect via encrypted connection
- **Credential Encryption**: User credentials stored encrypted with automatic 60-day expiry
- **Local Tracking**: Transfer history stored locally for transparency
- **Privacy-First**: No PDF storage, explicit user consent required
- **Accessible Design**: Follows WCAG 2.1 AA standards with Binect branding
## Development
### Prerequisites
- Node.js 18+ and npm
- Chrome browser for testing
### Setup
```bash
# Install dependencies
npm install
# Run development build with watch mode
npm run dev
# Build for production
npm run build
# Run tests
npm test
# Run linter
npm run lint
# Fix linting issues
npm run lint:fix
# Type checking
npm run type-check
```
### Project Structure
```
binect-chrome/
├── src/
│ ├── background/ # Service worker (background script)