Ultraviolet-Static
Static files/assets used to spin up an Ultraviolet website.
Ultraviolet-App
Install inUsage outside of Ultraviolet-App/Static hosting
Ultraviolet scripts
This repository doesn't serve any Ultraviolet scripts. It has a uv.config.js
to show how Ultraviolet is intended to work with this demo. Ultraviolet-App automatically merges our uv.config.js
with the remaining UV scripts (uv.sw.js
, uv.client.js
, etc). Some work has to be done in order to make this repository standalone.
Here's how to get the remaining scripts for the purpose of hosting this repository:
-
Go to the Ultraviolet releases
-
Find the latest release
-
Download the latest tarball (eg.
titaniumnetwork-dev-ultraviolet-x.x.x.tgz
) -
Open the tarball, navigate to the
dist
directory, and extract all the scripts with the exception ofuv.config.js
(we already have a configuration) into thepublic/uv/
directory in this repository. You may see.map
files. These are used for debugging. If they're too large, you can omit them without any errors.Do not copy
uv.config.js
from the archive!
Bare server
You will need to point your Bare server to an external one/a different directory (if you're using reverse proxy software).
-
Open
public/uv/config.js
-
Find the
bare
field -
Replace
"/bare/"
with the address of your Bare server A Bare server address hosts the Bare server. For example, to use the Holy Unblocker Bare server at https://uv.holyubofficial.net/ you would update your config to look like this:bare: "https://uv.holyubofficial.net/",
You can open Bare server addresses in your browser. You should see something containing fields like the project description, memory usage, supported versions, and the runtime/language.