Skip to content
JavaScript Client for IDRsolutions BuildVu Microservice Example
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

BuildVu JavaScript Client

Convert PDF to HTML5 or SVG with JavaScript, using the BuildVu JavaScript Client to interact with IDRsolutions' BuildVu Microservice Example.

The BuildVu Microservice Example is an open source project that allows you to convert PDF to HTML5 or SVG by running BuildVu as an online service.

IDRsolutions offer a free trial service for running BuildVu with JavaScript, more infomation on this can be found here.


<script src="path/to/buildvu-client.js" type="text/javascript"></script>


var endpoint = "http://localhost:8080/buildvu-microservice/";

//Convert the attached file
var file = document.getElementById('file-input').files[0];
//Convert file from url (file takes precedence over this option).
var url = document.getElementById('url-input').value;

//Upload is used when a file uploaded to the server
//Download is used when the server downloads from the url
var input = file ? BuildVuClient.UPLOAD : BuildVuClient.DOWNLOAD;

    endpoint: endpoint,
    //Parameters are the API parameters that will be sent to the server
    parameters: {
        input: input,
        file: file,
        url: url
    progress: function() { },
    success: function(e) {
        console.log("Converted " + e.downloadUrl);
    failure: function() { }

Who do I talk to?

Found a bug, or have a suggestion / improvement? Let us know through the Issues page.

Got questions? You can contact us here.

Copyright 2018 IDRsolutions

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You can’t perform that action at this time.