Completed v4 Update
22
README.md
|
@ -80,24 +80,20 @@ This website has been hosted locally on Alloy Proxy. More more information go to
|
||||||
### Structure Information
|
### Structure Information
|
||||||
- `/public/` : The physical site base of Holy Unblocker goes here. Do not delete or modify `/utils` as its needed for Alloy.
|
- `/public/` : The physical site base of Holy Unblocker goes here. Do not delete or modify `/utils` as its needed for Alloy.
|
||||||
|
|
||||||
#### Details of `/public`
|
#### Details of `/views/`
|
||||||
- `/pages/` is used for important pages for the site.
|
- `/pages/` is used for important pages for the site.
|
||||||
- `/expr/` is used for important proxy scripts.
|
- `/expr/` is used for important proxy scripts.
|
||||||
- `/archive/` and `/css` is used for game related assets and pages.
|
- `/archive/` is used for game related assets and pages.
|
||||||
- `/assets/` is used for various assets for CSS, JS and Bootstrap.
|
- `/assets/` is used for various assets for CSS, JS and Bootstrap.
|
||||||
- `/vibeOS/` is used for vibeOS, an in-browser OS enviroment.
|
- `/vibeOS/` is used for vibeOS, an in-browser OS enviroment.
|
||||||
|
|
||||||
#### Scripts located in `/expr`
|
#### Scripts located in `/expr`
|
||||||
- `[Proxy Initial]bp.js` is used for future implementation of Cookie Auth and navigation to external proxies. Must be located in the <body> tag.
|
- `surf.js` is used for proxy navigation; both stealth mode and classic mode.
|
||||||
- `[Proxy Initial]load.js` is used for initializing the bp script(s). Must be located in the `<head>` tag.
|
- `load.js` is used for initializing the surf script. Must be located in the `<head>` tag.
|
||||||
- `d.html` is used for a locally running Discord proxy along with `dbp.js`
|
|
||||||
|
|
||||||
#### Details of `auth.js`
|
|
||||||
- Will be used for the implementation of Cookie Authorization
|
|
||||||
|
|
||||||
## Future Additions
|
## Future Additions
|
||||||
- Cookie Authorization
|
- Expansive game library
|
||||||
- Filters
|
- Various parity changes.
|
||||||
|
|
||||||
## Vauge Explanation for Beginners With External Proxies and Hosting
|
## Vauge Explanation for Beginners With External Proxies and Hosting
|
||||||
You will first want to host your proxies locally or externally.
|
You will first want to host your proxies locally or externally.
|
||||||
|
@ -121,6 +117,12 @@ This is an example of DNS records involving Heroku. Self-hosting will require `A
|
||||||
- `pd.deepsoil.ml` is being used for PyDodge B.
|
- `pd.deepsoil.ml` is being used for PyDodge B.
|
||||||
- `cdn.deepsoil.ml` is being used for a private Alloy host on the official sites.
|
- `cdn.deepsoil.ml` is being used for a private Alloy host on the official sites.
|
||||||
|
|
||||||
|
Update, the new configuration is:
|
||||||
|
|
||||||
|
- `a.deepsoil.ml` is being used for Node Unblocker.
|
||||||
|
- `c.deepsoil.ml` is being used for Powermouse and the Chatbox.
|
||||||
|
- `cdn.deepsoil.ml` is being used for a private Alloy and Via host on the official sites.
|
||||||
|
|
||||||
As stated previously, Holy Unblocker is hosted locally with Alloy.
|
As stated previously, Holy Unblocker is hosted locally with Alloy.
|
||||||
|
|
||||||
#### Heroku Steps
|
#### Heroku Steps
|
||||||
|
|
6
app.js
|
@ -35,13 +35,13 @@ unblocker.ws(server);
|
||||||
app.post('/', async(req, res) => {
|
app.post('/', async(req, res) => {
|
||||||
switch (req.url) {
|
switch (req.url) {
|
||||||
case '/':
|
case '/':
|
||||||
return res.send(fs.readFileSync(path.join(__dirname, 'public', 'index.html'), 'utf8'));
|
return res.send(fs.readFileSync(path.join(__dirname, 'views', 'index.html'), 'utf8'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//Querystrings
|
//Querystrings
|
||||||
app.get('/', async(req, res, t) => res.send(fs.readFileSync(path.join(__dirname, 'public', 'pages,index.html,info.html,archive,archive,hidden.html'.split(',')['/,/?in,/?fg,/?rr,/?j'.split(',').indexOf(req.url) + 1], ',surf.html,f.html,run.html,frames,redirects3,proxnav5,nav7'.replace(/,[^,]+/g, e => ([] + e.match(/\D+/)).repeat(+e.match(/\d+/) + 1)).split(',')[t = 'z,fg,rr,k,dd,n,yh,ym,a,b,y,e,d,p,c,f,g,h,i,m,t,x'.split(',').indexOf(req.url.slice(2)) + 1], (t = ',,,,krunker,discordprox,chatbox,ythub,ytmobile,alloy,node,youtube,pydodge,discordhub,pmprox,credits,flash,gtools,games5,icons,gba,terms,bookmarklets'.split(',')[t]) && t + '.html'), 'utf8')));
|
app.get('/', async(req, res, t) => res.send(fs.readFileSync(path.join(__dirname, 'views', 'pages,index.html,info.html,archive,archive,hidden.html'.split(',')['/,/?in,/?fg,/?rr,/?j'.split(',').indexOf(req.url) + 1], ',surf.html,f.html,run.html,frames,redirects3,proxnav5,nav7'.replace(/,[^,]+/g, e => ([] + e.match(/\D+/)).repeat(+e.match(/\d+/) + 1)).split(',')[t = 'z,fg,rr,k,dd,n,yh,ym,a,b,y,e,d,p,c,f,g,h,i,m,t,x'.split(',').indexOf(req.url.slice(2)) + 1], (t = ',,,,krunker,discordprox,chatbox,ythub,ytmobile,alloy,node,youtube,pydodge,discordhub,pmprox,credits,flash,gtools,games5,icons,gba,terms,bookmarklets'.split(',')[t]) && t + '.html'), 'utf8')));
|
||||||
|
|
||||||
app.use(char_insert.static(path.join(__dirname, 'public')));
|
app.use(char_insert.static(path.join(__dirname, 'views')));
|
||||||
|
|
||||||
server.listen(process.env.PORT || config.port);
|
server.listen(process.env.PORT || config.port);
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 591 KiB After Width: | Height: | Size: 591 KiB |
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 206 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 777 B After Width: | Height: | Size: 777 B |
Before Width: | Height: | Size: 808 B After Width: | Height: | Size: 808 B |
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
Before Width: | Height: | Size: 816 B After Width: | Height: | Size: 816 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 914 B |
Before Width: | Height: | Size: 849 B After Width: | Height: | Size: 849 B |
Before Width: | Height: | Size: 843 B After Width: | Height: | Size: 843 B |
Before Width: | Height: | Size: 815 B After Width: | Height: | Size: 815 B |
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 298 B |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 440 B After Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 820 B |
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 472 B |
Before Width: | Height: | Size: 854 B After Width: | Height: | Size: 854 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 470 B |
Before Width: | Height: | Size: 498 B After Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 526 B After Width: | Height: | Size: 526 B |
Before Width: | Height: | Size: 666 B After Width: | Height: | Size: 666 B |
Before Width: | Height: | Size: 966 B After Width: | Height: | Size: 966 B |
Before Width: | Height: | Size: 905 B After Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 614 B |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 561 B After Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 971 B After Width: | Height: | Size: 971 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 426 B |