Skip to content

Commit

Permalink
V2 Release, written in NextJS
Browse files Browse the repository at this point in the history
  • Loading branch information
boomermath committed Feb 21, 2022
1 parent cd4aefd commit e01b86c
Show file tree
Hide file tree
Showing 2,922 changed files with 266,206 additions and 24,002 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next"
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public/** linguist-vendored
34 changes: 34 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel
65 changes: 8 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,15 @@
# Inconel.ml
A stylish and sleek proxy website made using TitaniumNetwork's proxies!
# Inconel

## Deployment:
This website can be deployed on a static service (like Netlify/Vercel) or uploaded to web hosting!
## Introduction

## Development:
I am constantly trying to make my site better, so expect new commits!
This is a simple, basic proxy that can be used to combat web filters

## Setup:
This is just a frontend! The proxies are externally hosted! You have to attach your own proxies (or use my site https://inconel.ml) in js/surf.js (domain variables).
## Self hosting

```javascript
var domainPY = [domain, prefix]; //Pydodge
var domainPHP = [domain, prefix]; //PHP proxy
var domainCNN = domain; //CNN proxy
var domainAL = [domain, prefix]; //Alloy proxy
```

Basically, if you go to js/surf.js, you will see this:
```javascript
//Pydodge Button
document.getElementById("pygo").onclick = function () {
proxify(domainPY[0], domainPY[1], validURL(document.getElementById("url").value))
}

// PHP button
document.getElementById("php").onclick = function () {
proxify(domainPHP[0], domainPHP[1], validURL(document.getElementById("url").value))
}

//Alloy Button
document.getElementById("al").onclick = function () {
proxify(domainAL[0], domainAL[1], window.btoa(validURL(document.getElementById("url").value)))
}
```
What you want to do, if you want to attach a different proxy, is to change the domain variable, and if its NOT CNN proxy, you want to first add the domain, and then the prefix that goes on the end.

For example, if your domain was `https://myproxy.com/course/https://proxiedurl.com`, you would input your domain like so:
Go to [surf.js](https://github.com/boomermath/InconelNext/blob/master/pages/surf.js#L20) and replace line 20 with the following:

```javascript
var domainPY = ["myproxy.com","course"];
/*
Please note that it doesn't matter whether you add
slashes '/' or 'https://'. For CNN proxy, you just input
it like so:
*/
var domainCNN = "thisisCNN.com"
// The proxy will take care of any concentation needed.
```js
router.push(`/browse/${browse.toString()}`);
```

You can change the button IDs in surf.html, and the surf.js can be referenced for your own fork, in order to input your own proxies!

## Chat/Forum
Go to forum pages, and if you want to hook up your own chat or forum, change the iframe source to your forum/chat!

## Credits:
TitaniumNetwork - for developing these amazing proxies!

VantaJS - for the super-cool background!

Simon Cheng - The guy who made CNN proxy (I use his website for my proxy)

His Github: https://github.com/binary-person
then `npm run build` and `npm start` and you're good to go!
13 changes: 0 additions & 13 deletions backjs/background.js

This file was deleted.

1,070 changes: 0 additions & 1,070 deletions backjs/three.r119.min.js

This file was deleted.

1 change: 0 additions & 1 deletion backjs/vanta.fog.min.js

This file was deleted.

54 changes: 0 additions & 54 deletions bookmarklets.html

This file was deleted.

Loading

0 comments on commit e01b86c

Please sign in to comment.