Key Features
- Multiple File Type Support: Works with various file formats including:
- Dropbox Paper documents (.paper)
- Markdown files (.md)
- Word documents (.docx)
- Text files (.txt)
- Metadata Preservation: Maintains important file information:
- Original file names and IDs
- Full file paths and folder structure
- Creation and modification dates
- File format details
- Smart Processing:
- Concurrent file processing for improved performance
- Rate limiting to respect API constraints
- Error handling with retries
- Extension-based filtering options
Run the script on a schedule to keep your Dust knowledge base synchronized with your Dropbox content. Your agents can then use the imported documents for analysis, content discovery, and knowledge management. The script handles large volumes of Dropbox files reliably.
Getting Started
- Prerequisites:
- Node.js (v14 or higher)
- npm (Node Package Manager)
- Dropbox account with API access
- Dust account with API access
- Installation:
- Configuration:
Create a .env file with your credentials:
- Usage:
To sync all files:
code
Best Practices
- Start Small: Begin with a specific file type or folder to test the integration
- Monitor Progress: Watch the console output for sync status and any potential issues
- Regular Updates: Schedule periodic syncs to keep your Dust knowledge base current
- Error Handling: Check logs for any failed imports and address issues promptly