Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

can you make one for incognito? #46

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: npm start
web: git clone https://github.com/titaniumnetwork-dev/ultraviolet-site static && npm install && npm start
48 changes: 5 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,7 @@
# Ultraviolet
Ultraviolet application
# Ultraviolet-Heroku
Ultraviolet, now able to deploy to Heroku.

[![Deploy to Heroku](https://raw.githubusercontent.com/BinBashBanana/deploy-buttons/master/buttons/remade/heroku.svg)](https://heroku.com/deploy/?template=https://github.com/titaniumnetwork-dev/uv-app)
[![Run on Replit](https://raw.githubusercontent.com/BinBashBanana/deploy-buttons/master/buttons/remade/replit.svg)](https://replit.com/github/titaniumnetwork-dev/uv-app)
[![Deploy to Heroku](https://raw.githubusercontent.com/BinBashBanana/deploy-buttons/master/buttons/remade/heroku.svg)](https://heroku.com/deploy/?template=https://github.com/DakshG07/ultraviolet-node)

# 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`

```javascript
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
};
```
# Important
This fork is only meant for Heroku deployment.