GithubHelp home page GithubHelp logo

xkn33l / melodious Goto Github PK

View Code? Open in Web Editor NEW

This project forked from melodious-chat/melodious

1.0 0.0 0.0 3.67 MB

A self-hosted Discord alternative written in Go.

Home Page: https://gitlab.com/melodious-chat/melodious

License: MIT License

Go 100.00%

melodious's Introduction

Melodious

Tired of Discord's staff telling you to shut the fuck up about #DiscordUnbanQuackity? Well, Project Melodious is the chat for you!

No bullshit, no biasing, fully opensource and can be hosted by anybody!

Written in Go, it is both fast and stable. Changes being made literally every 7-12 hours, it is growing fast and strong to be a fully-featured Discord clone, without furries!

Although it might seem like a shit idea since Discord is boasting a userbase of >150M people and counting, we are free of furries, which will probably attract more people.

Now, seriously

Melodious is an attempt at writing a self-hosted Discord alternative initiated by recent Discord staff actions mentioned above.

Its server is being written in Go, while web client will be written in JavaScript.

Building

$ git clone https://gitlab.com/melodious-chat/melodious.git
$ cd melodious
$ go build

Configuring

Melodious server requires a running copy of PostgreSQL.

An example config file:

{
    "db-addr": "postgres://handicraftsman:password@localhost/melodious?sslmode=disable",
    "http-addr": "0.0.0.0:8080",
    "delete-history-every": "1h",
    "store-history-for": "P1W"
}

store-history-for is a ISO 8601 duration string.

delete-history-every is a duration string as described at https://golang.org/pkg/time/#ParseDuration

Starting

/path/to/melodious -config /path/to/melodious.config.json

Current To-Do list

  • Implement misc features
    • VoIP
    • editable messages
    • custom user status
  • Add a REST API for those who cannot use websockets

melodious's People

Contributors

handicraftsman avatar polyzium avatar djraov avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.