Hosting Bring Your Own (BYO) Assets

Overview

Hosting Bring Your Own (BYO) external assets lets Creators Also known as Unqork Users, or Designer Users; is anyone who is inside the Unqork platform. host assets on a client-managed CDN (Content Delivery Network). To ensure secure access, the CDN must whitelist the client’s Unqork environment, allowing the Unqork Designer Platform to retrieve the bundle as needed.

The Bring Your Own framework is intended for developers who have a strong understanding of the Unqork Designer Platform and JavaScript JavaScript is an object-oriented computer programming language. It is most-commonly used for interactive effects in the browser..

Requirements

The following sections are requirements to bring your own assets into the Unqork Designer Platform:

Bundle Requirements

 

CDN Requirements

As long as your Unqork environment has access to the CDN, the bundled code will be retrievable.

Access

When using a CDN, there are two methods of access:

  • Making the CDN publicly accessible.

  • Whitelisting the Unqork environment on the CDN.

Example CDN Access Methods

You can use any CDN as long as it provides an accessible URL. If you do not have access to a CDN, consider the following examples to host external assets:

GitHub

A simple way to host your files using GitHub repositories or Gists.

Sign up for a GitHub account here: https://github.com/.

Steps to host external assets:

1. Create a repository or Gist.
2. Add your sample code to the repository or Gist.
3. Obtain the link to the raw JavaScript JavaScript is an object-oriented computer programming language. It is most-commonly used for interactive effects in the browser. file ending in .js.
4. Follow the Unqork administration instructions to register your assets.

Tiiny.host

A quick, free, and easy way to upload files to a CDN.

Sign up for a tiiny.host account here: https://tiiny.host/.

Steps to host external assets:

1. Sign up for an account.
2. Upload your sample code.
3. Obtain the link to the raw JavaScript JavaScript is an object-oriented computer programming language. It is most-commonly used for interactive effects in the browser. file ending in .js.
4. Follow the Unqork administration instructions to register your assets.