Giter Club home page Giter Club logo

juce_litehtml's Introduction

JUCE litehtml

This is a JUCE module that provides integration of the litehtml HTML/CSS rendering engine with JUCE backend.

screenshot

The web pages can be loaded from network (via http:// or https://), but also locally, from a file (using file:// scheme) or JUCE application or plugin binary resources (res:// scheme).

This module also attempts to add JavaScript support on top of the litehtml using quickjs interpreter.

Litehtml offers rather limited capabilities, but it is good enough to render rich documents, which can be useful, for example, to show help pages or documentation within JUCE applications or plugins.

This project is WIP.

Compilation

This module must be used via CMake (cannot be used from Projuces because of additional targets that need to be compiled).

Add JUCE and juce_litehtml submodules to your project, and then link additional juce::juce_litehtml library on your target:

add_subdirectory(JUCE)
add_subdirectory(juce_litehtml)

target_link_libraries(${TARGET}
    PRIVATE
        juce::juce_core
        juce::juce_data_structures
        juce::juce_gui_basics

        juce::juce_litehtml

        juce::juce_recommended_config_flags
)

See the test project for an example.

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.