Coder Social home page Coder Social logo

wmhang / miniblink49 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weolar/miniblink49

0.0 1.0 0.0 160.85 MB

a lighter, faster browser kernel of blink to integrate HTML UI in your app. 一个小巧、轻量的浏览器内核,用来取代wke和libcef

License: Apache License 2.0

C++ 79.05% C 11.73% Batchfile 0.02% Objective-C 0.04% HTML 0.05% CMake 0.03% Objective-C++ 0.05% JavaScript 1.71% Python 0.96% Makefile 0.56% Assembly 4.25% Shell 0.07% Perl 1.23% DIGITAL Command Language 0.09% XS 0.01% M4 0.04% eC 0.01% Scheme 0.01% Prolog 0.01% PHP 0.12%

miniblink49's Introduction

简介 Abstract

miniblink is a open source, one file, small browser widget base on chromium.

By using C interface, you can create a browser just some line code.

more information at https://weolar.github.io/miniblink/ or http://miniblink.net


miniblink是一个开源的、单文件、且目前已知的最小的基于chromium的,浏览器控件。

通过其导出的纯C接口,几行代码即可创建一个浏览器控件。

您可以通过官网https://weolar.github.io/miniblink/http://miniblink.net 来获取更多的关于miniblink的信息。


特性 Features

  • 极致小巧的体积 (small size)
  • C++,C#,Delphi等语言调用 (support C++,C#,Delphi language to call)
  • 内嵌Nodejs,支持electron (with Nodejs, can run electron)
  • 随心所欲的定制功能、模拟环境 (simulate other browser environment)
  • 支持Windows xp、npapi (support windows xp and npapi)
  • 完善的HTML5支持,对各种前端库友好 (support HTML5, and friendly to front framework)
  • 关闭跨域开关后,可以使用各种跨域功能 (support cross domain)
  • 网络资源拦截,替换任意网站任意js为本地文件 (network intercept, you can replace any resource to local file)
  • headless模式,极大节省资源,适用于爬虫 (headless mode, be suitable for Web Crawler)

文档 Document

关于miniblink的介绍见这篇文章:https://zhuanlan.zhihu.com/p/22611497?group_id=764036386641707008

API文档见:https://weolar.github.io/miniblink/doc-main.html


使用 Usage

请前往https://github.com/weolar/miniblink49/releases 下载最新编译后的SDK,里面的demo_src是个完整的用例。

或者前往 https://github.com/weolar/mb-demo 下载

最简单的创建一个窗口:

Usage

// 无边框窗体 borderless window
wkeWebView window = wkeCreateWebWindow(WKE_WINDOW_TYPE_TRANSPARENT, NULL, 0, 0, 640, 480);  
wkeLoadURLW(window, L"miniblink.net");

demo-1

编译 Build

不推荐自己编译。请前往https://github.com/weolar/miniblink49/releases 下载编译好的文件使用。

因为每天有大量更新,我无法确保每次更新都能保证编译通过。如果有编译错误,请不要来提问,耐心等待我的下次提交。


mini-electron

mini-electron项目是一个基于miniblink的独立项目,旨在创建一个更小的electron运行环境。目前已经实现了这一目标。

通过替换mini-electron,打包完后的文件仅仅6m左右。


联系方式

大家有问题可以选择:


致谢 Thanks

特别感谢网友zero,他是miniblink的代码的重要贡献者。

感谢网友core,感谢网友“大清知府”。

感谢网友boxue( https://www.zhihu.com/people/coltor/ ),他致力于对miniblink架构的研究及推广。

miniblink49's People

Contributors

fy0 avatar heineiuo avatar sanwer avatar victorzhao avatar weolar avatar zero-rp avatar

Watchers

 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.