-
-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Description
Summary
Add bulk import and export functionality for shortcuts via CSV files to enable users to easily manage large collections of shortcuts.
Current Limitations
Vicinae currently only supports individual shortcut creation through the ShortcutFormViewHost interface. Users must manually create each shortcut using the "Create Shortcut" command or manage existing shortcuts through the "Manage Shortcuts" interface.
Proposed Solution
Implement CSV import/export functionality that leverages the existing ShortcutService and database schema.
CSV Format
name,url,icon,app
Google Search,https://google.com,https://google.com/favicon.ico,firefox
GitHub,https://github.com,https://github.com/favicon.ico,firefoxImplementation Approach
- Add Import Command: Create a new command similar to
CreateShortcutCommandthat handles file selection and CSV parsing - CSV Parsing: Implement validation and parsing logic for the CSV format
- Batch Creation: Use the existing
createShortcutmethod to create shortcuts in bulk - Export Functionality: Add export capability to the "Manage Shortcuts" interface
- Error Handling: Provide clear feedback for invalid CSV formats and duplicate entries
Technical Considerations
- The existing
setPrefilledValuesmethod demonstrates the system can handle pre-populated data - The browser extension already shows programmatic shortcut creation
- Database schema supports all necessary fields for CSV import/export
Use Cases
- Migrating shortcuts between different Vicinae installations
- Bulk importing bookmarks from browsers
- Sharing shortcut collections with other users
- Backup and restore of shortcut configurations
Additional Context
This feature would be particularly valuable for users with extensive shortcut collections who currently need to manually recreate each shortcut when setting up new systems or sharing configurations with others.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels