Application of Revela which can be deployed in production.
Find a file
2022-03-06 12:17:32 -05:00
bare@e1065f7488 t 2022-03-02 21:59:04 -05:00
ssl App 2022-02-23 19:19:07 -05:00
static@b3ac82b49b a 2022-02-27 12:44:09 -05:00
.gitignore a 2022-02-24 20:42:44 -05:00
.gitmodules Update .gitmodules 2022-03-06 12:17:32 -05:00
.replit Update .replit 2022-03-04 17:24:31 -05:00
app.json Create app.json 2022-02-24 16:44:37 -05:00
index.js Create index.js 2022-02-23 19:46:25 -05:00
index.mjs t 2022-03-02 21:59:04 -05:00
main.sh Create main.sh 2022-03-04 17:21:23 -05:00
package-lock.json a 2022-02-24 20:42:44 -05:00
package.json Update package.json 2022-02-23 19:47:33 -05:00
Procfile Create Procfile 2022-02-23 19:22:56 -05:00
README.md Update README.md 2022-02-26 16:39:09 -05:00

Ultraviolet

Ultraviolet application

Deploy to Heroku Run on Replit

Steps

Installing on machine

git clone https://github.com/titaniumnetwork-dev/ultraviolet-node/
cd ultraviolet-node
git submodule update --init
npm install
npm start

On Repl, make sure to run the git submodule update --init command in shell.

http://localhost:8080/

Change server address properties when desired.

Updating Bare

git submodule update --remote

However, this may override files in static/ so be careful.

Ultraviolet Config

uv.config.js

self.__uv$config = {
    prefix: '/sw/', // Proxy url prefix
    bare: '/bare/', // Bare server location
    encodeUrl: Ultraviolet.codec.xor.encode, // URL Encoding function
    decodeUrl: Ultraviolet.codec.xor.decode, // Decode URL function
    handler: '/uv.handler.js', // Handler script
    bundle: '/uv.bundle.js', // Bundled script
    config: '/uv.config.js', // Configuration script
    sw: '/uv.sw.js', // Service Worker Script
};