kraken
a high-performance, web standards-compliant rendering engine based on flutter.
�� have a try
- install kraken cli (macos only currently)
$ npm i @openkraken/cli -g
- open with kraken
# kraken [localfile|url] $ kraken https://raw.githubusercontent.com/openkraken/kraken/master/kraken/example/assets/bundle.js
�� why kraken
- quick development ��
compatibility with web standards means you don’t have to change your stack.
const text = document.createtextnode('hello world!'); document.body.appendchild(text);
- cross platform ⚛️
seamless integration with flutter, supports web, mobile (ios, android) and desktop (macos, linux, windows).
- fast performance ��
provide native-like performance such as navigation, animation and infinite list scrolling.
�� contributing
by contributing to kraken, you agree that your contributions will be licensed under its apache-2.0 license.
- prerequisites
- node.js v12.0 or later
- flutter version in the
kraken/pubspec.yaml
- cmake v3.2.0 or later
- xcode (10.12) or later (running on macos or ios)
- android ndk version
21.4.7075529
(running on android)
- install
$ npm install
- building bridge
building bridge for all supported platform (macos, ios, android)
$ npm run build:bridge:all
building bridge for one platform
macos
$ npm run build:bridge:macos
ios
$ npm run build:bridge:ios
android
for windows users, make sure that running this command under mingw64 environment(eg. git bash).
$ npm run build:bridge:android
- start example
$ cd kraken/example $ flutter run
- test (unit test and integration test)
$ npm test
Comments are closed.