forked from hackthedev/dcts-shipping
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b354922
commit 0560882
Showing
39 changed files
with
1,996 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,18 @@ | ||
# DCTS - Direct Communication Through Sockets | ||
 | ||
<!--  --> | ||
[Forum](https://dcts.chat/) | ||
|
||
# DCTS -  | ||
This project was made with the goal to combine TeamSpeak and Discord. The goal: A platform that looks modern like Discord but runs the server like TeamSpeak. DCTS allows you to run your own Discord Server like a TeamSpeak server, in simple words. | ||
|
||
Since you can host the server yourself you're also the one in control of the data. This could be important for people who value their data privacy. | ||
|
||
<br> | ||
|
||
## Obfuscated? | ||
Yes. Its not open source. I dont want my work to be copied but yet i still want people to be able to use it. I'll find a better solution in the future. | ||
|
||
<br> | ||
|
||
## Licensing | ||
The software will be free for personal use and for non-profit communities. Commercial use will require a license (or maybe not). | ||
The software will be free for personal use and for non-profit communities. Commercial use will require a license. | ||
|
||
<br> | ||
|
||
## How to install | ||
Requires node.js to be installed (tested with v16.16.0). Afterwards execute the following commands. | ||
Requires node.js to be installed. Afterwards execute the following commands. | ||
``` | ||
npm install | ||
node . | ||
``` | ||
|
||
<br> | ||
|
||
## Tested NodeJS versions | ||
- v12.12 | ||
- v16.16.0 | ||
- v19 | ||
|
||
<br> | ||
|
||
## Connecting to your server | ||
Once you've installed the server and its running, you can open your browser and enter the server's ip and add the port 2052.<br> | ||
Example: localhost:2052 | ||
(setting to change port coming in updates) | ||
|
||
<br> | ||
|
||
## Tutorial | ||
(version in video slightly outdated)<br> | ||
[](https://www.youtube.com/watch?v=ayeua15ICpM) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,113 @@ | ||
{ | ||
"serverinfo": { | ||
"name": "Default Server", | ||
"description": "Welcome to my server", | ||
"setup": 0, | ||
"maxUploadStorage": "10", | ||
"useCloudflareImageCDN": 0, | ||
"cfAccountId": "", | ||
"cfAccountToken": "", | ||
"cfHash": "", | ||
"rateLimit": 128, | ||
"dropInterval": 5, | ||
"uploadFileTypes": [ | ||
"image/png", | ||
"image/jpeg", | ||
"image/gif", | ||
"image/webp" | ||
] | ||
}, | ||
"serverroles": { | ||
"0": { | ||
"info": { | ||
"name": "Member", | ||
"icon": null, | ||
"color": "#FFFFFF", | ||
"deletable": 0 | ||
}, | ||
"permissions": { | ||
"readMessage": 1, | ||
"sendMessage": 1, | ||
"uploadFiles": 1 | ||
}, | ||
"members": [] | ||
"serverinfo": { | ||
"name": "Default Server", | ||
"description": "Welcome to my server", | ||
"port": 2052, | ||
"setup": 0, | ||
"maxUploadStorage": "10", | ||
"useCloudflareImageCDN": 0, | ||
"cfAccountId": "", | ||
"cfAccountToken": "", | ||
"cfHash": "", | ||
"rateLimit": "256", | ||
"dropInterval": "5", | ||
"uploadFileTypes": [ | ||
"image/png", | ||
"image/jpeg", | ||
"image/gif", | ||
"image/webp" | ||
], | ||
"ssl": { | ||
"key": "/etc/letsencrypt/live/EXAMPLE.COM/privkey.pem", | ||
"cert": "/etc/letsencrypt/live/EXAMPLE.COM/cert.pem", | ||
"chain": "/etc/letsencrypt/live/EXAMPLE.com/chain.pem", | ||
"enabled": 0 | ||
} | ||
}, | ||
"serverroles": { | ||
"0": { | ||
"info": { | ||
"id": 0, | ||
"name": "Member", | ||
"icon": null, | ||
"color": "#FFFFFF", | ||
"deletable": 0, | ||
"sortId": 0, | ||
"displaySeperate": 1 | ||
}, | ||
"permissions": { | ||
"readMessages": 1, | ||
"sendMessages": 1, | ||
"uploadLocalFiles": 1, | ||
"redeemKey": 1 | ||
}, | ||
"members": [ | ||
|
||
] | ||
}, | ||
"1111": { | ||
"info": { | ||
"id": 1111, | ||
"name": "Admin", | ||
"icon": null, | ||
"color": "#ff0000", | ||
"deletable": 0, | ||
"sortId": 1, | ||
"displaySeperate": 1 | ||
}, | ||
"permissions": { | ||
"administrator": 1 | ||
}, | ||
"members": [ | ||
|
||
], | ||
"token": null | ||
} | ||
}, | ||
"1": { | ||
"info": { | ||
"name": "Admin", | ||
"icon": null, | ||
"color": "#FF0000", | ||
"deletable": 0 | ||
}, | ||
"permissions": { | ||
"administrator": 1 | ||
}, | ||
"members": [], | ||
"token": null | ||
} | ||
}, | ||
"groups": { | ||
"0000": { | ||
"info": { | ||
"id": 0, | ||
"name": "Home", | ||
"icon": "/img/default_icon.png", | ||
"banner": "/img/default_banner.png", | ||
"isDeletable": 1, | ||
"access": [ | ||
"roleId" | ||
] | ||
}, | ||
"channels": { | ||
"categories": { | ||
"0000": { | ||
"groups": { | ||
"0": { | ||
"info": { | ||
"name": "General" | ||
"id": 0, | ||
"name": "Home", | ||
"icon": "/img/default_icon.png", | ||
"banner": "/img/default_banner.png", | ||
"isDeletable": 1, | ||
"sortId": 0, | ||
"access": [] | ||
}, | ||
"channels": { | ||
"categories": { | ||
"0": { | ||
"info": { | ||
"name": "General" | ||
}, | ||
"channel": { | ||
"0": { | ||
"name": "chat", | ||
"type": "text", | ||
"description": "Default Channel Description", | ||
"sortId": 0, | ||
"permissions": { | ||
"0": { | ||
"readMessages": 1, | ||
"sendMessages": 1, | ||
"viewChannel": 1 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"channel": { | ||
"0000": { | ||
"name": "chat", | ||
"type": "text", | ||
"description": "Default Channel Description", | ||
"permissions": { | ||
"0": { | ||
"readMessage": 1, | ||
"sendMessage": 1 | ||
} | ||
"permissions": { | ||
"0": { | ||
"viewGroup": 1 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"roles": {} | ||
} | ||
}, | ||
"servermembers": { | ||
}, | ||
"ipblacklist": [ | ||
|
||
] | ||
}, | ||
"servermembers": { | ||
}, | ||
"ipblacklist": [ | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.