I make Peersuite, a p2p encrypted discord alternative
from jerrimu@lemmy.world to privacy@lemmy.ml on 30 May 06:35
https://lemmy.world/post/30477112
from jerrimu@lemmy.world to privacy@lemmy.ml on 30 May 06:35
https://lemmy.world/post/30477112
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 peersuite.space
github - github.com/openconstruct/Peersuite
threaded - newest
Libre Software? Push-To-Talk?
Sentences?
OP not your pet
Yes and no, push to talk is on the roadmap, but haven’t implemented it yet.
Push to talk is now implemented! (you were not the first person to ask)
The website gives a 404 error
I removed the dash at the end. Guess it was a typo
https://peersuite.space/
And revolt was right there being all open source and stuff
But it’s not decentralized
You mean Matrix, surely
Go tell 'em! Why have alternatives if we can just put all our eggs in one, holey, basket?
.
Revolt is not E2EE, h fortunately.
How do you think matrix feels.
Revolt uses a server.
Yep github.com/revoltchat/self-hosted
Is this open source? Otherwise this feels like a honey pot.
Asked the same question I was gonna, so I did the googling.
github.com/openconstruct/Peersuite
AGPL
completely! github.com/openconstruct/Peersuite
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.
It’s fairly amateur I guess, but I’m not rolling my own cryptography or anything.
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
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.
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.
You can run your own, or community run, headscale server technically.
Heard of Headscale?
Yet you trust your isp, curious
Assumption on your end. I dont trust the ground I walk on.
I’ll look into it. currently using trystero-torrent.
Nah it uses https ports which are ususally open
This needs to be widely known. I didn’t test all the functions yet, but if this works, this is big!
Everything works!
🤔
I’ve looked into the sources because that was weird to me as well.
It’s because the web “client” is using nginx as a local web server. You’re selfhosting the web client
The app still is 100% a frontend js client
OP did link to their public instance of the client, but gives more opportunities
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.
Yes, it takes an initial connection for discovery. The peers need to know how to find each other.
If there’s no account, how do I “log in” to my community or whatever
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
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?
Just log back in with the room code and password.
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.
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.
Yeah, some consider a room in Prison a luxury resort 🤷♂️!
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!
Thats the spirit ! 😁 You even make a lot of new friends (some are weird sickos tho 🤫 !)
Th UI isn’t there, hopefully someone with a great sense of design puts in a PR.
I’ll spin this up in docker and check it out tomorrow
Let me know what you think!
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.
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.
Regardless, working great! It has many features that other discord alternatives don’t. I’ll be using it and following development closely!
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.
Whoa, hey, they’re not paid on-call. Give it a few days.
I’ve been babysitting my granddaughter, just got on the laptop.
How dare you
That’s fair, the project is about a month old, the electron releases will get an installer for some platforms.
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.
Noted. Thanks for the reralistic input
You should try out something that utilizes the normal system webview instead of electron that just bundles chromium.
Check out tauri
Tauri webview doesn’t support WebRTC, would have preferred that. Using system webview would be super iffy because of WebRTC support.
Ahhh interesting. I haven’t worked with webrtc so never ran into that!
You should ask for a refund.
It’s not a Discord alternative if it doesn’t have servers and doesn’t look anything like the Discord UI.
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.
Yeah, when Discord first became popular, the whole “server” terminology was massively confusing to me.
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.
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
I’m finding it confusing as an old fart that they can’t distinguish the terminology even thou they’re on the Fediverse.
Amazing 😁
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.
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?
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).
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.
It does have multiple text channels.
lol okay then I’m pretty mystified. Seems like all of the major features of Discord will either be directly replicated or have functional equivalents.
It’s not as pretty. You have text channels, but they’re literally just text channels. There’s no reactions. or fun gifs. TBH It might be refreshing to not have this stuff for a bit.
No, but it has most of the features discord has.
(Just a heads up you don’t need to give a shit about this person’s opinion, they are a literal Nazi supporter)
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…
Also, isn’t that what a Nazi would say? I don’t say personally attacking shit like that about people.
.
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.
thanks!
cool in the same area as Retroshare
That was my first thought.
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)?
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.
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).
Any reason you chose github vs codeberg? Just wondering. Gave your project a star regardless. Nice work!
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
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!
Thanks!
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.
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.
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!!
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
I have a gihub sponsor button on the repo, and I think you found it.
Thanks! I appreciate the support!
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?).
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.
What does it do above matrix,m
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.
Yeah but it also looks like it lacks federation and support for third party clients
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.
IT has some features matrix doesn’t, but matrix has many features peersuite lacks also.
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?
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.
just improve the UI, rest is great
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.
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).
I don’t have ANY moderation tools yet. TBH probably not the best fit for you right now.
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.
Can you please add the ability to delete chat channels after they have been created. Thank you for making this.
I will put that in my to-do list, that’s a great idea!
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.toalternativeto.net ? Would love to get this posted on there for more folks to find it on their own prerogative!!It’s on alternativeto.net needs upvotes alternativeto.net/software/peersuite/
Ah nice, seems I misremembered that URL also! Fixed my comment 🙂
So excited to see this progress!! 😃❤️
Amazing!