Open Unlight


  1. Create a Droplet
  2. SSH into your server, the automatic setup progress will start
  3. Write down your MySQL root password
  4. After servers are started, please wait for the initialize for 5 ~ 10 minutes
  5. Hosting your own website on another server and add Unlight.swf

Software Included

Package Version License
Unlight MIT
Open Unlight 1.0.0.pre MIT
MySQL 5.7

Creating an App using the Control Panel

Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.

Deploy to DO

Creating an App using the API

In addition to creating a Droplet from the Open Unlight 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Open Unlight Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token) to an environment variable or substitute it in the command below.

curl -X POST -H 'Content-Type: application/json' \
         -H 'Authorization: Bearer '$TOKEN'' -d \
        '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "unlight-openunlight-18-04"}' \

Getting Started After Deploying Open Unlight

The minimal server setup is included in One-Click, but you have to compile your own Flash client.

Prepare Assets

  1. Download the image/sounds from GitHub
  2. Prepare fonts for compile Unlight.swf (Depend on your language)## Compile SWF
docker run --rm -v ${ROOT_DIR}/assets:/assets \
                -v ${ROOT_DIR}/dist:/app/dist \
                -v ${ROOT_DIR}/fonts:/app/fonts \
                -e LANGUAGE=tcn
                openunlight/legacy-builder compile-client

Hosting SWF

  1. Setup a web server
  2. Modify your public/config.xml and public/news.xmlThe final structure:
├── Unlight.swf
├── index.html
└── public
    ├── config.xml
    ├── image/
    ├── news.xml
    └── sound/

The config.xml and news.xml you can find in GitHub and image/ and sound/ is included in assets we download in the first step