Coder Social home page Coder Social logo

383366063 / miniblink49 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weolar/miniblink49

0.0 0.0 0.0 172.37 MB

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

License: Apache License 2.0

C++ 76.59% C 8.65% Objective-C 0.01% CMake 0.02% HTML 0.06% Objective-C++ 0.01% Python 1.18% JavaScript 8.88% Makefile 0.41% CSS 0.01% Shell 0.07% Lua 0.01% Scheme 0.01% Batchfile 0.01% Assembly 3.09% Perl 0.89% DIGITAL Command Language 0.06% XS 0.01% M4 0.03% eC 0.01%

miniblink49's Introduction

声明

由于本项目被黑产拿去修改源码后用于非法目的,已经违背我当初开源的原意。

经深思熟虑后决定自2019-6-17起不在更新,并且

后续更新将以二进制及头文件方式发布,请持续关注。

希望大家尊重开源,尊重作者全职几年持续更新付出的劳动。

且用且珍惜

如需获得后续支持,请使用以下联系方式:

Q群:94093808

QQ(weolar):93527630

email:[email protected]

简介 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 http://miniblink.net


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

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

您可以通过官网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://miniblink.net/views/doc/index.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

evshiron avatar fy0 avatar heineiuo avatar liuxingbaoyu avatar sanwer avatar victorzhao avatar weolar avatar zero-rp 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.