ribice / goch

Self hosted live chat server written in Go
https://www.ribice.ba/goch
MIT License
198 stars 30 forks source link

Is this still under development? #8

Open YJinHai opened 5 years ago

YJinHai commented 5 years ago

The architecture of the project was good, except that I didn't run it properly, and there were a lot of bugs.Still hope the author can add a test example

ribice commented 5 years ago

We're using it in production for nearly a year.

I'll do my best to provide client/frontend in next week so that it's easier to test. Once I do I'll let you know.

YJinHai commented 5 years ago

Thank you for your reply. Several problems I have encountered so far:

  1. Route cannot be responded to: Neither admin/channels nor goch/admin/channels could be answered, but I used other PKG routes to solve it.
  2. Var req *initConReq does not Decode To decode correctly, use req := initConReq{} in the func waitConnInit of the api.go file
  3. Upon creating a new channel and IsPrivate=false, channel_secret="" cannot pass the check.Remove the check and only one user can be found by channels/{name}.
  4. Func HandleConn confuses me, I can't create a channel of a Message type.Is there something wrong with my parameters?I have no reference.
  5. Many errors similar to {"type":2,"error":"invalid text message format: unexpected end of JSON input"}.

I like goch very much and hope to learn a lot.But I couldn't function properly and it was painful

ribice commented 5 years ago

I'll double check the issues you posted, but it'll definitely be easier to test this once the client is ready as well.

YJinHai commented 5 years ago

thank

YJinHai commented 5 years ago

Hi, still waiting for the author's update

ribice commented 5 years ago

I'm on holiday currently :)

sudhakar1983 commented 1 year ago

@ribice Eagerly waiting for an update :)