Skip to content
Projets

À propos

Chat app like old-style Discord, with custom themes and more.

Productivité et automatisation

Comment ces chiffres sont mesurés

What you can do

  • Create channels
  • Delete channels
  • Server owners can delete any message
  • Message author can delete and edit their own messages

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Accord - Messaging Made Simple.

Accord is an app, similar to Discord, but cooler. Built with React, TypeScript, and Node.js.

Please ⭐ this repo to support development.

Text Channel Custom Themes Showcase Screenshot-from-2021-08-31-16-09-41 Profile Showcase Screenshot-from-2021-08-30-13-30-43 Screenshot-from-2021-08-30-11-55-01

Want more stable commits? Use the stable branch.


Setup

  1. Clone the repo (from GitHub).
  2. Generate JWT key (secure user logins). From app directory (with Git bash):
    mkdir -p backend/keys
    ssh-keygen -t rsa -b 2048 -m PEM -f backend/keys/jwt
    
  3. Install npm packages. From app directory:
    # Install global dependencies
    npm i -g typescript
    
    # Install local packages
    cd frontend && npm i -f
    cd ../backend && npm i -f
    
  4. Add upload folder.
mkdir -p assets/upload
  1. In backend directory, configure .env.example and rename the file to .env

Features

  • Server Channels
    • Create channels
    • Delete channels
  • Message Management
    • Server owners can delete any message
    • Message author can delete and edit their own messages
  • Member Management
    • Kick members as the server owner
    • Easily leave the server by right clicking the server
    • Join servers with an invite code
  • Server Management
    • Create servers as you would in Discord
    • Edit server name, and icon URL in the server settings
    • Delete your server in the server settings
  • User Management
    • Manage your account by clicking the settings icon
    • Change your username, and avatar
    • Delete your user and prevent it from being used to login
  • and more (of course)

Want a more basic version, that's more like Discord? https://github.com/codea-live/dclone


backend/.env (dev with Docker)

EMAIL_ADDRESS="[email protected]"
EMAIL_PASSWORD="..."
MONGO_URI="mongodb://database/accord"
NODE_ENV="dev"
PORT=3000
WEBSITE_URL="http://localhost:4200"
SESSION_SECRET="Please ⭐ this repository."

backend/test/.env (test without Docker)

API_URL="http://localhost:3001/api"
EMAIL_ADDRESS="[email protected]"
EMAIL_PASSWORD="..."
MONGO_URI="mongodb://localhost/accord-test"
NODE_ENV="dev"
PORT=3001
ROOT_ENDPOINT="http://localhost:3001"
WEBSITE_URL="http://localhost:4200"
SESSION_SECRET="Please ⭐ this repository."

Troubleshooting

App does not connect to MongoDB on Windows?

Explorer des projets similaires

Chargement…