Repository navigation
Contributing
Pull requests target main. See Building from source to set up the project, and CONTRIBUTING.md in the repository.
The same as CI:
cd app
fvm dart format --set-exit-if-changed lib test
fvm flutter analyze
fvm flutter test
cd ../packages/core
cargo test --features full
cargo clippy --features fullFormatting is 150 columns. Generated Dart (lib/gen) is not format-checked.
- Keep code formatted and covered by tests where it has logic worth testing.
- Write descriptive commit messages using Conventional Commits (
feat:,fix:, ...). - Do not rename LocalSend's internal identifiers (package names, method channels, settings keys, crate names); they keep upstream merges small.
Tap to share needs two real Android phones with NFC; the emulator has none.
- Pair both phones over wireless debugging (Developer options → Wireless debugging → Pair device with QR code).
- Install on both:
Debug builds use the package
adb -s <device> install -r app/build/app/outputs/flutter-apk/app-debug.apk
com.duck.daystack.debug. - Watch the exchange:
adb -s <device> logcat -s TapShare flutter
- To test with the app closed:
adb shell input keyevent KEYCODE_HOME && adb shell am kill com.duck.daystack.debug
On Pixel phones, turn off Google's Tap to Share first; it competes for NFC.
Add new strings to app/assets/i18n/en.json only, then run:
fvm dart run slangThe other locale files come from LocalSend and may lag behind; missing keys fall back to English. Fields starting with @ are notes for translators and are not used by the app.
The logo and every platform icon are generated from one script. Edit support/branding/duck.py, then run python support/branding/export.py app. Brand colors: Pond blue #1E6FD9, ink #1C1B1F.
The original project is the upstream remote:
git remote add upstream https://github.com/localsend/localsend.git
git fetch upstream
git merge upstream/mainExpect conflicts in the rebranded files (app name, icons, applicationId, i18n).
Report bugs in the issue tracker. Report security issues privately via GitHub security advisories.
Duck Share · Issues · Apache License 2.0 · Based on LocalSend by Tien Do Nam and contributors