Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

This is a fan made version of Discord, with way less features of course.

Notifications You must be signed in to change notification settings

Lovely-Experiences/Discord-Fan-Made

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Fan Made

Discord-Fan-Made

This is a fan made version of Discord, with way less features of course. This is still being created, and may not function or work correctly. If you would like to contribute, don't hesitate to make a pull request or issue!

The reason behind this project is to attempt at making something well maintained and organized. While also learning stuff along the way! This project is more of just something to have fun and mess around with. However, the code behind this project is taken seriously and the security measures are too.

Thanks, Jacob Humston

Install

To get started you'll need to install node.js if you have not already from https://nodejs.org/.

Once you have node.js installed, it's advised to create a folder specifically for this project somewhere on your computer.

You'll want to click the Code button, then download the ZIP file. Then simply unzip it into the folder you created.

Note - You can also use git if you know how, however that will not be explained here. Learn more.

Once you have the files in place, you will want to run the following commands to install dependencies.

cd /path/to/the/folder/
npm ci

Make sure to include the correct path to the folder. In some (not all) file explorers, you can copy the path by right clicking on the folder.

Warning - Running the npm ci command will delete the node_modules folder if it is already present. Learn more.

Note - You could technically use npm install instead of npm ci, however that is generally unrecommended.

Configuration

To configure the project, you can edit the configuration file found in server/configuration.json.

Configuration Values

Bellow is a table that describes all the configuration options. It's advised to not change options that you don't understand completely.

Value Description Default
Port The port that the web server should listen to. 4000
WebSocketOptions Options of the server websocket. All options can be found here. { "port": 4001 }
BcryptSalt The amount of salt rounds to use when hashing passwords. Before changing this value, please read this. 10
AdminAccountName This is the name that is used when creating the admin account. Admin

Default Configuration

Bellow is the default configuration in plain JSON. Link to file.

{
    "Port": 4000,
    "WebSocketOptions": {
        "port": 4001
    },
    "BcryptSalt": 10,
    "AdminAccountName": "Admin"
}

Startup

Once you have installed the dependencies, you are ready to start the project. You can start it by executing the following command. You will be asked to set the admin password on the first startup.

node .

If you get any errors that you are unsure how to fix, please report them as an issue.

Credits

This project is not affiliated nor endorsed by Discord.

By Lovely Experiences, made with ❤️.

About

This is a fan made version of Discord, with way less features of course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published