leancodepl / leancodepl/flutter_webp
Investigate using Dart's hooks to download `cwebp`
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 9
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Instead of manually downloading the cwebp binary at publish time, let's try using Dart's build hooks to download the appropriate binary at build time. Advantages include smaller package upload sizes and downloading only the binary for the host's OS (right now, the package always contains five binaries for all supported OS+arch combinations.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Dart build hooks documentation linked in the issue, then inspect how this package currently downloads and publishes its cwebp binaries. Determine whether build-time host-specific downloading can replace bundling five binaries; done means a working build-hook approach that preserves supported OS and architecture coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100