- this project is an implementation of the blurhash algorithm in C via dart:ffi
- the goal of the project is to provide the fastest encoding and decoding of blurhash for flutter, and also be easy to use
-
Linux, Mac OS X, or Windows
-
git (used for source version control)
-
An IDE, such as Android Studio with the Flutter plugin or VS Code
-
Android platform tools
- Mac: brew install --cask android-platform-tools
- Linux: sudo apt-get install android-tools-adb
Verify that adb is in your PATH (that which adb prints sensible output)
- Clone the folksable/blurhash_ffi repo using either SSH or HTTPS (SSH is recommended, but requires a working SSH key on your GitHub account):
- SSH:
git clone [email protected]:folksable/blurhash_ffi.git
- HTTPS:
git clone https://github.com/folksable/blurhash_ffi.git
-
Change into the directory of the cloned repository and rename the origin remote to upstream:
cd blurhash_ffi
git remote rename origin upstream
-
If you're planning to test it for android, make sure to enable these SDK Tools
- NDK (Side by Side)
- CMake
- Android NDK uses CMake to create a shared library from our native code in the build process
- Recheck for memory leaks your pull request may introduce.
- Make sure the example builds correctly & runs without introducing errors
- Optionally make sure to mention an issue in your PR fixes or Create one if doesn't exist.