Spyke
privacy·Privacybyjerry

I make Peersuite, a p2p encrypted discord alternative

Hey everyone.

I make Peersuite, an opensource free communication platform.

It's private by default, there's no sign-in or email collection.

It's peer-to-peer, there's no server, after discovery you are connected directly to your friends my AES-GCN encrypted WebRTC channels. It forms a mesh and identifies superpeers. Because there is no server, in order to save your data between sessions, you can download your workspace into a password encrypted file. Happy to answer any questions.

FEATURES:

  • chat with images, PMs, channels, and file send
  • group audio/video calling
  • screensharing
  • kanban board
  • whiteboard for diagrams/flowchartswith PNG export
  • collaborative document editing with formatted PDF export

The best way for self hosting is docker, its on dockerhub as openconstruct/peersuite. You can also download desktop versions from the github or use on the web at https://peersuite.space/

github - https://github.com/openconstruct/Peersuite

View original on lemmy.world
feddit.org

It's peer-to-peer, there's no server

The best way for self hosting is docker

🤔

76

It doesn't contradict by definition. So ipfs is also decentralized yet you will need to run a client /server. So the client is also the server. Allowing you to connect to a mesh decentralized system. Just like torrent is also both a client and a server.

23
jerryreply
lemmy.world

Yes, it takes an initial connection for discovery. The peers need to know how to find each other.

16
Ulrichreply
feddit.org

If there's no account, how do I "log in" to my community or whatever

9
jerryreply
lemmy.world

If you are hosting you send them the room code and a password. You can save a workspace and restart it later, so if you had an active chat it would reload automatically when you imported the file

8
Ulrichreply
feddit.org

That's no what I'm asking. If I open the site and create a workspace, then close the window, how do I get back into my workspace?

1
Norareply

I'm guessing if you were the last person to close this session, all chat would be lost, unless you saved it to the file.

OP mentioned that they were working on a self-host version that persists.

2
lemmy.world

It's html and javascript, the release comes with loose chromium files, ffmpeg binary and a 190MB executable. The link typo hasn't been fixed in hours, they don't link to the github, they misuse terminology, etc. and it's version 0.3.

That's a no from me.

36
lemmy.ml

The link typo hasn't been fixed in hours,

Whoa, hey, they're not paid on-call. Give it a few days.

48
jerryreply
lemmy.world

I've been babysitting my granddaughter, just got on the laptop.

38
jerryreply
lemmy.world

That's fair, the project is about a month old, the electron releases will get an installer for some platforms.

21
Raltoidreply
lemmy.world

Yeah it's an early version and I have no doubt that you guys will make it a lot neater, and it seems like a nice project. I just think it breaks several basic rules of privacy and security oriented programming, which is why I don't think it's a good fit for this community just yet.

7
macreply
lemm.ee

You should try out something that utilizes the normal system webview instead of electron that just bundles chromium.

Check out tauri

1
jerryreply
lemmy.world

Tauri webview doesn't support WebRTC, would have preferred that. Using system webview would be super iffy because of WebRTC support.

3
macreply

Ahhh interesting. I haven't worked with webrtc so never ran into that!

2
lemmy.world

OK, so I tested Peersuite with a friend and I have to say: wow! We have collected a bit of feedback we would like to share:

Positive: The audio, video and screenshare quality is outright amazing and much better than Discord. We had no crackling, delays or any other disturbances in any of those features. The UI is simple and functional, and everything is snappy and fast. It is also very easy to setup a workspace and to find yourself around the overall UI.

Negatives: There appears to be no option to also share audio while screensharing, which currently is a major drawback for us. There is no dedicated audio channel. As soon as someone starts an audio call, you'll hear the person no matter what. Only if you purposely join the call, will the others hear you. Opting in and out of an audio channel like in Teamspeak or Discord would be nice. When my friend started a video call, the audio input of the webcam's microphone got activated, so I heard him twice. When he turned off the video call, the webcam's microphone stayed activated. Once someone shared their screen or their webcam and turned it off later, you would still see them in the video and screenshare menu but with the picture being black. We would expect to be gone when closing the stream. There is no option to adjust the volume of an individual user. It would be nice to assign users to carts or columns on the Kanban Board. It would be nice to adjust the size of the Collaborative Whiteboard.

It might seem like we are complaining a lot, but we actually really like the experience so far, so thank you very very much!! Once you can also share audio with your screen, and once we can setup our own persistent server (and maybe be able to adjust the volume or mute a user, and have the audio room a bit more isolated from the rest), we are ready to jump ship.

31
jerryreply
lemmy.world

Awesome! Real world testing finds things I never have! I'm going to improve a lot of things based on this, thanks for the input.

I have actually never thought of audio while screensharing, In my head it was mainly for people to watch videos and games. That's an easy fix. Opting out of audio is easy enough. Audio and Vido shouldnt happen at the same time, thats a bug. Seeing a blackscreen after sharing is also a bug. I can implement per-user volume easily enough. User assignments in kanban is already on the roadmap. Adjusting the size of the whiteboard, this one is probably not going to happen. It was a real struggle getting it working as good as it does now. It should scale to your screen for the most part. I may re-implement Zoom in/out for drawing.

It doesn't sound like complaining, this is what I need, thank you for your input!!

9
lemmy.world

Thanks for your response!

Instead of Discord another friend and I used Peersuite (via browser) for over 2h to hang out. I watched him play Oblivion for around 30 min. So far everything was stable and high qualitiy. Hadn't had any issues with the audio or the stream.

But we found another bug: if multiple people are working on columns or carts on the Kanban board, as soon as someone posts it, the textbox of the others get reset and the text they were working on is gone.

And we also had another thought: would it be possible to have the option of creating multiple audio channels like in Teamspeak or Discord? When playing team games, it is nice to have individual voice channels for each team. Another point would be user rights management, so basically what a user can or cannot do (maybe with a role-based approach: create roles like admin or read-only that you can assign to individual users), as well as the ability to block and unblock users (is this even possible with P2P?).

4

I'm planning to implement some sort of auth system. My current thoughts are host is auto admin, and they can pass admin. The overall issue with admin features, is if someone knows the room/password combo, theres no way to keep them out. Reloading the website or app will generate another peer ID.

I'll mess with the kanban stuff some.

3
beveradbreply
lemm.ee

I appreciate your mature response to feedback - I don't personally have a strong interest in this but generally like to support open source competitors to commercial monopolies; if you have any way to donate money to you please share and I'll send a few bucks

4

I have a gihub sponsor button on the repo, and I think you found it.

Thanks! I appreciate the support!

3

This review honestly sold me on trying it more than I already was. Assuming it gets actively maintained, this is a great roadmap feature/bug list. Perfectly presented constructive criticism. The internet needs more of this.

6
lemm.ee

Keep up the good work, it's always good to have alternatives. But please at least fix the link in your post, it's giving a bad first impression.

20
sh.itjust.works

There are some seriously toxic fuckheads in this thread. Thanks for your effort so far, I look forward to seeing where your project ends up!

16
lemmus.org

Kinda makes sense that honey pots show up here, idk there was another post the other day about some anonymous file sharing thing and it also seemed either a honeypot or just an amateur project which is okay in many cases but not when it’s about cryptography.

2

It's fairly amateur I guess, but I'm not rolling my own cryptography or anything.

8
lemmy.ml

And revolt was right there being all open source and stuff

13
Ekkyreply
sopuli.xyz

Go tell 'em! Why have alternatives if we can just put all our eggs in one, holey, basket?

2
lemmy.world

Any reason you chose github vs codeberg? Just wondering. Gave your project a star regardless. Nice work!

12

I've been on github for like 8 years now, familiarity, plus the build tools are nice, github actions builds the docker images for me now

9
lemmy.dbzer0.com

That's so cool, but wouldn't everyone need automat port forwarding/opening like UPnP IGD / PCP to initiate connection? Not everyone has this enabled

6
Trimatrixreply
lemmy.world

Not trying to shill, but seems like a perfect opportunity to integrate Tailscale for network access and then use the funnel feature to connect to peers.

5
lemmy.dbzer0.com

As good as tailscale is, I do so loathe it. It does make things easy, but I have to trust a 3rd party with my traffic and for me thats just no bueno.

16
lemmy.world

This looks very promising, thank you very much! Going to fully test it out tomorrow.

Is there anything planned to have a persistent server option (self-hosted)?

6
jerryreply
lemmy.world

Yes, I plan to create a node server for permanent rooms. It will allow you to name the server, which then acts like a superpeer and keeps the workspace open and saves progress every 10-30 minutes.

11

Wonderful! The possibility to spontaneously hop on the server to look whether a friend is online or not is very important at least for us compared to the necessity of having to set up the room each time (which would require us to coordinate beforehand that we want to hangout in a voice channel).

4
mander.xyz

I'll spin this up in docker and check it out tomorrow

4
Cenotaphreply
mander.xyz

So far really liking it! Very high quality screenshare, will be testing with more peers tonight. I had one question: I saw elsewhere you recommended running in docker for more permanence. Does that mean if everyone leaves a room and its hosted on docker things are saved and you can rejoin? Or would the last person leaving need to export the board? Either way I'm testing more tonight, just curious.

4
jerryreply
lemmy.world

Thanks! Yeah if there's bandwidth video streams at full resolution. Currently you have to export the workspace. I'm going to build a node server for it down the road. There are still things in my roadmap before then though.

3

Regardless, working great! It has many features that other discord alternatives don't. I'll be using it and following development closely!

4
Norareply
lemmy.ml

At a glance looks easier to setup, less complicated, a few more features, Kanban, Notes etc. One big thing is the P2P. Matrix needs a server to run, this is P2P.

4
Norareply

federation isn't really required here since account creation is trivial and non-persistent from the looks of it. Third party clients and being a protocol are definitely pros that matrix has over this. Matrix is definitely a lot more fleshed out than this project, but even though its new it already has more to it in some ways than matrix has. It also feels way more snappy than matrix, matrix can be sluggish at times.

3

IT has some features matrix doesn't, but matrix has many features peersuite lacks also.

1
lemmy.ca

Kanban is interesting, as it makes it seem like its geared towards work in some ways?

Is Documents a wiki section or a file repo?

1

Yeah that was the plan to make it good for teams or friends. Documents is just for collaborative writing, You can create/rename/delete documents that live in storage until you print them. Importing files to edit would be a good addition.

1
lemmy.ml

Can you please add the ability to delete chat channels after they have been created. Thank you for making this.

1
sh.itjust.works

I have been searching for a discord alternative for so long 😭 THANK YOU THANK YOU! Cannot wait to start testing this out with friends 😃

How do we get this listed on alternative.to alternativeto.net ? Would love to get this posted on there for more folks to find it on their own prerogative!!

1

Ah nice, seems I misremembered that URL also! Fixed my comment 🙂

So excited to see this progress!! 😃❤️

1
lemm.ee

Sweet, I've been looking for something exactly like this for my upcoming radio station. I was going to use RocketChat but man is it a pain in the ass to get it to do the things I want it to do.

How difficult is it to install, configure, and keep Peersuite up to date? Does it integrate well with websites? Would it be suitable for use as a public chat? The whole "no server" thing is concerning, especially since I'll need to be able to see a full chat history at any given moment (for moderation purposes).

1
jerryreply
lemmy.world

I don't have ANY moderation tools yet. TBH probably not the best fit for you right now.

2

When I saw the words "Discord alternative", I got excited. Disappointing, but thanks for the heads up.

I'll check back in a few months to a year to give you time to build up the featureset. Thank you for making this. Discord doesn't have enough competition.

1

I'm hoping a design guru submits a PR. I honestly put a lot of thought into the UI, I just think I'm not skilled enough.

2

Yes and no, push to talk is on the roadmap, but haven't implemented it yet.

6

Push to talk is now implemented! (you were not the first person to ask)

2
lemmy.world

I don't want to rain on your parade, but to claim you're a Discord alternative is like saying a box is a an alternative to a luxury resort. You've got a lot of work to do before being a Discord alternative.

-6
N0x0nreply
lemmy.ml

Yeah, some consider a room in Prison a luxury resort 🤷‍♂️!

5
feddit.nl

3 hot meals a day, a bed with a roof, and I don't even have to work 3 jobs to afford it? Sign me up!

5

Thats the spirit ! 😁 You even make a lot of new friends (some are weird sickos tho 🤫 !)

2

Th UI isn't there, hopefully someone with a great sense of design puts in a PR.

4
lemmy.world

It's not a Discord alternative if it doesn't have servers and doesn't look anything like the Discord UI.

-13
lemmy.ml

It's worth noting that Discord misuses the term "server" to mean a community. When you create a Discord "server", they aren't booting up a machine just for you. So the lack of servers in this project has nothing to do with the ability to create groups of channels with shared moderators that represents a community.

23
doodledupreply
lemmy.world

Sure, terminology is confusing here.

But this concept of communities and especially channels is exactly what I like about Discord. It's their main concept. You can't call Signal a Discord alternative either because it has call, screenshare and chats. It's just a completely different UI concept.

-2
lemmy.ml

Right, but this does have communities - they're just called workspaces. The screenshot literally shows the equivalent to a Discord "server". You're getting confused by the correct usage of the term servers because this project doesn't have backend servers

6

I'm finding it confusing as an old fart that they can't distinguish the terminology even thou they're on the Fediverse.

Amazing 😁

1
doodledupreply
lemmy.world

It's P2P. How can these workspaces be equivalent to Discord servers? I'm confused. Also why are they called "workspaces"? Discord is tailored towards gamers.

0
verdigrisreply
lemmy.ml

From my understanding, currently the lack of a persistent superpeer makes a long-standing community unrealistic without someone remaining constantly connected, but once that's implemented it would just be a persistent workspace. Publish the link in a centralized location for your project and bam, you've got the equivalent of an official discord server.

What functionality do you think is missing?

1
doodledupreply
lemmy.world

Don't get me wrong. This software looks great in terms of features and functionality. I might give it a try. What I'm saying is that the concept is too different from Discord to be able to call it an alternative to replace Discord with. The way servers and channels in work in Discord is what makes Discord so unique and why I still use (this piece of shit corporate greedy garbage).

1

So it sounds like the lack of multiple text channels is the main missing feature? I haven't used it myself yet so I'm assuming those don't exist, but the concept of a server seems to be pretty one-to-one with a persistently hosted workspace.

1

Are you done? Is it your life's mission to visit every threat of mine and write that? This threat is about a software and Discord. You don't even know me. What are you on about?!

Besides, your claims are not even true. I have never supported Nazis. You just have a personal grudge against me (some rando on the internet) probably because I said some capitalistic views somewhere that you disagree with. I don't even know. Your link doesn't work.

Just block me if you don't like me and move on...

Just a heads up you don’t need to give a shit about this person’s opinion

Also, isn't that what a Nazi would say? I don't say personally attacking shit like that about people.

1