Skip to content

xKn33l/melodious

 
 

Repository files navigation

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

About

A self-hosted Discord alternative written in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%