feat: add bulk profile import from mixed-text clipboard - #262
Open
m146979 wants to merge 2 commits into
Open
Conversation
- Add BulkImportProfilesView widget with:
- Multi-line text area for pasting arbitrary mixed text
- URL extraction via regex (http/https/ftp + proxy schemes)
- Interactive checklist to select/deselect detected URLs
- Sequential profile add with per-item success/fail status
- "Paste from clipboard" shortcut button
- Supports http, https, ftp, vmess, vless, ss, trojan,
hysteria, hysteria2, tuic, wg, wireguard schemes
- Add 'Bulk Import' ListItem entry in AddProfileView
- Add i18n keys to intl_en.arb:
bulkImport, bulkImportDesc, bulkImportTitle,
bulkImportPaste, bulkImportDetected, bulkImportNoUrls,
bulkImportStart, bulkImportAdding, bulkImportDone,
bulkImportResult
- Add bulk import UI component with URL detection from mixed text - Support multiple proxy URI schemes (vmess, vless, ss, trojan, etc.) - Add localization for English, Russian, Simplified Chinese, and Traditional Chinese - Update message indices across all locale files to accommodate new bulk import strings - Fix regex pattern in bulk_import_profiles.dart to use raw string for better readability - Remove unused path_provider_foundation plugin from macOS GeneratedPluginRegistrant - Add pubspec.lock to .gitignore for Flutter version management
Owner
|
Has it been verified and tested yet? |
appshubcc
force-pushed
the
main
branch
2 times, most recently
from
July 18, 2026 17:07
bb605a0 to
570c649
Compare
appshubcc
force-pushed
the
main
branch
2 times, most recently
from
August 13, 2026 04:12
95bde57 to
c0bb574
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Bulk Import option to the "Add Profile" menu that lets users paste any block of text (e.g. a Telegram message, a webpage snippet, a notes dump) and automatically detects all subscription/proxy URLs inside it, then imports them in one go.
Changes
lib/views/profiles/bulk_import_profiles.dart(new)http(s),ftp,vmess,vless,ss,trojan,hysteria/hysteria2,tuic,wg/wireguardschemesEditProfileViewsheet for customisationlib/views/profiles/add_profile.dart(modified)ListItementry at the bottom of the Add Profile menuBulkImportProfilesViewinside the existingAdaptiveSheetScaffoldarb/intl_en.arb(modified)bulkImport,bulkImportDesc,bulkImportTitle,bulkImportPaste,bulkImportDetected,bulkImportNoUrls,bulkImportStart,bulkImportAdding,bulkImportResultHow to use