Git Product home page Git Product logo

chengcanmm77 / kraken Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openkraken/kraken

0.0 2.0 0.0 155.86 MB

A high-performance, web standards-compliant rendering engine based on Flutter.

Home Page: https://openkraken.com

License: Apache License 2.0

CMake 0.78% C++ 12.91% C 0.02% JavaScript 5.31% TypeScript 54.54% Kotlin 0.01% CSS 0.01% Ruby 0.23% Swift 0.05% Objective-C 0.20% Dart 25.83% Java 0.11% Shell 0.01%

kraken's Introduction

kraken Post

Kraken pub package Integration Test WorkFlow

๐Ÿ’ Have a try

  1. Install Kraken CLI (macOS only currently)

    $ npm i @openkraken/cli -g
  2. 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.

  1. 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 20.0.5594570 or later (Running on Android)
  2. Install

    $ npm install
  3. 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
  4. Start example

    $ cd kraken/example
    $ flutter run
  5. Test (Unit Test and Integration Test)

    $ npm test

kraken's People

Contributors

andycall avatar wssgcg1213 avatar temper357 avatar yuanyan avatar answershuto avatar whn9527 avatar diyism avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.