leancodepl / leancodepl/flutter_webp

Investigate using Dart's hooks to download `cwebp`

Open
#19 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.