Application of Revela which can be deployed in production.
Find a file
2022-03-13 22:31:31 -04:00
ssl App 2022-02-23 19:19:07 -05:00
static@2d4b9745ad Update static 2022-03-13 22:31:31 -04: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 e 2022-03-06 12:28:54 -05:00
main.sh Create main.sh 2022-03-04 17:21:23 -05:00
package-lock.json e 2022-03-06 12:28:54 -05:00
package.json e 2022-03-06 12:28:54 -05:00
Procfile Create Procfile 2022-02-23 19:22:56 -05:00
README.md e 2022-03-06 12:28:54 -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 install tomphttp/bare-server-node
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
};