Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Is there a way to do a simple peer-to-peer JS chat?
- -penandpaper-
- Scratcher
100+ posts
Is there a way to do a simple peer-to-peer JS chat?
what aboutbut it does haveIt doesn't haveIn hypothetical MATU language, you can do “Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
NoI would call that pretty simpleeseyP2PChat()No support!eseyMultiplaer()eseyMultilayer()
eseyWebpaig()
Last edited by -penandpaper- (July 27, 2017 11:18:26)
there's no place like index
why do Java programmers wear glasses? because they can't c#
- ninjagolloyd
- Scratcher
500+ posts
Is there a way to do a simple peer-to-peer JS chat?
ftfywhat aboutbut it does haveIt doesn't haveIn hypothetical MATU language, you can do “Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
NoI would call that pretty simpleeseyP2PChat()No support!eseyMultiplaer()eseyMultilayer()??eseyWebpaij()
bean
- DatOneLefty
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
simple “p2p”:
no
P2P: with mai hax:
How to:
no
P2P: with mai hax:
How to:
- download https://github.com/DatOneLefty/SecureChat/
- modify the client (for the other person) to redirect your IP
- port foward that port
- modifiy another client to reirect to localhost:
- run the server
- run the clients
- make sure you enter the password correctly
eseyP2PChat()
Scratch data available at ScratchDB (Status)
Posts: bf97b44a7fbd33db070f6ade2b7dc549 (btw i use arch)
- infinitytec
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
So can I do this on a network entirely independent of the Internet? simple “p2p”:
no
P2P: with mai hax:
How to:done! its a
- download https://github.com/DatOneLefty/SecureChat/
- modify the client (for the other person) to redirect your IP
- port foward that port
- modifiy another client to reirect to localhost:
- run the server
- run the clients
- make sure you enter the password correctly
eseyP2PChat()
- Jonathan50
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
That's still server<—>client
Last edited by Jonathan50 (July 28, 2017 23:05:01)
Not yet a Knight of the Mu Calculus.
- DatOneLefty
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
do you want a program that does everything locally? If so, i would write that so i could use it in school (not for cheating, but to mai friends that are elsewhere in the school)So can I do this on a network entirely independent of the Internet? simple “p2p”:
no
P2P: with mai hax:
How to:done! its a
- download https://github.com/DatOneLefty/SecureChat/
- modify the client (for the other person) to redirect your IP
- port foward that port
- modifiy another client to reirect to localhost:
- run the server
- run the clients
- make sure you enter the password correctly
eseyP2PChat()
Scratch data available at ScratchDB (Status)
Posts: bf97b44a7fbd33db070f6ade2b7dc549 (btw i use arch)
- infinitytec
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
Yep. I'm just trying to figure out an easy way to have a chat site on a small home network I want to build.do you want a program that does everything locally? If so, i would write that so i could use it in school (not for cheating, but to mai friends that are elsewhere in the school)So can I do this on a network entirely independent of the Internet? simple “p2p”:
no
P2P: with mai hax:
How to:done! its a
- download https://github.com/DatOneLefty/SecureChat/
- modify the client (for the other person) to redirect your IP
- port foward that port
- modifiy another client to reirect to localhost:
- run the server
- run the clients
- make sure you enter the password correctly
eseyP2PChat()
- DatOneLefty
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
welp. time to remake an AES secured chat by making it P2P, ill make it install from a simple shell script getting stuff from the projects.lefty.cf systemYep. I'm just trying to figure out an easy way to have a chat site on a small home network I want to build.do you want a program that does everything locally? If so, i would write that so i could use it in school (not for cheating, but to mai friends that are elsewhere in the school)So can I do this on a network entirely independent of the Internet? simple “p2p”:
no
P2P: with mai hax:
How to:done! its a
- download https://github.com/DatOneLefty/SecureChat/
- modify the client (for the other person) to redirect your IP
- port foward that port
- modifiy another client to reirect to localhost:
- run the server
- run the clients
- make sure you enter the password correctly
eseyP2PChat()
How it'll work:
On the start, itll ask Create Room or Join Room, if you hit create, itll start a server in the background (all still running on the same script so no one will notice) and then itll join itself, and then someone can connect if they choose to join the room
Is this ok?
Scratch data available at ScratchDB (Status)
Posts: bf97b44a7fbd33db070f6ade2b7dc549 (btw i use arch)
- infinitytec
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
welp. time to remake an AES secured chat by making it P2P, ill make it install from a simple shell script getting stuff from the projects.lefty.cf systemYep. I'm just trying to figure out an easy way to have a chat site on a small home network I want to build.do you want a program that does everything locally? If so, i would write that so i could use it in school (not for cheating, but to mai friends that are elsewhere in the school)So can I do this on a network entirely independent of the Internet? simple “p2p”:
no
P2P: with mai hax:
How to:done! its a
- download https://github.com/DatOneLefty/SecureChat/
- modify the client (for the other person) to redirect your IP
- port foward that port
- modifiy another client to reirect to localhost:
- run the server
- run the clients
- make sure you enter the password correctly
eseyP2PChat()
How it'll work:
On the start, itll ask Create Room or Join Room, if you hit create, itll start a server in the background (all still running on the same script so no one will notice) and then itll join itself, and then someone can connect if they choose to join the room
Is this ok?
Sure! I won't be able to set it up for 2-3 weeks probably, so take your time.
Thanks! I'll probably have more questions then.
- DatOneLefty
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
this program: me making https://github.com/DatOneLefty/SecureChat/ work off of one file. ggwelp. time to remake an AES secured chat by making it P2P, ill make it install from a simple shell script getting stuff from the projects.lefty.cf systemYep. I'm just trying to figure out an easy way to have a chat site on a small home network I want to build.do you want a program that does everything locally? If so, i would write that so i could use it in school (not for cheating, but to mai friends that are elsewhere in the school)So can I do this on a network entirely independent of the Internet? simple “p2p”:
no
P2P: with mai hax:
How to:done! its a
- download https://github.com/DatOneLefty/SecureChat/
- modify the client (for the other person) to redirect your IP
- port foward that port
- modifiy another client to reirect to localhost:
- run the server
- run the clients
- make sure you enter the password correctly
eseyP2PChat()
How it'll work:
On the start, itll ask Create Room or Join Room, if you hit create, itll start a server in the background (all still running on the same script so no one will notice) and then itll join itself, and then someone can connect if they choose to join the room
Is this ok?
Sure! I won't be able to set it up for 2-3 weeks probably, so take your time.
Thanks! I'll probably have more questions then.
Scratch data available at ScratchDB (Status)
Posts: bf97b44a7fbd33db070f6ade2b7dc549 (btw i use arch)
- DatOneLefty
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
test and attempt to use
(there are bugs with how the input looks, but it still works properly)
(there are bugs with how the input looks, but it still works properly)
curl https://projects.lefty.cf/eseyP2PChat/install.sh > install.sh; chmod +x install.sh; ./install.sh;
Scratch data available at ScratchDB (Status)
Posts: bf97b44a7fbd33db070f6ade2b7dc549 (btw i use arch)
- Wettining
- Scratcher
500+ posts
Is there a way to do a simple peer-to-peer JS chat?
Wait if you just wanted it local networked why don't you use batch script or power shell (ha apple products)
You could literally make on in less than 50 lines
You could literally make on in less than 50 lines
- TheUltimatum
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
You mean with net send? Wait if you just wanted it local networked why don't you use batch script or power shell (ha apple products)
You could literally make on in less than 50 lines
- infinitytec
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
Well, I want it to run on all devices.You mean with net send? Wait if you just wanted it local networked why don't you use batch script or power shell (ha apple products)
You could literally make on in less than 50 lines
I'll most likely host with a Pi.
- TheUltimatum
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
netcat is your friend my friend.Well, I want it to run on all devices.You mean with net send? Wait if you just wanted it local networked why don't you use batch script or power shell (ha apple products)
You could literally make on in less than 50 lines
I'll most likely host with a Pi.
- Jonathan50
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
You can just do test and attempt to use
(there are bugs with how the input looks, but it still works properly)curl https://projects.lefty.cf/eseyP2PChat/install.sh > install.sh; chmod +x install.sh; ./install.sh;
curl https://projects.lefty.cf/eseyP2PChat/install.sh | /bin/sh
Not yet a Knight of the Mu Calculus.
- DatOneLefty
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
as long as the pi can run node and npm, it will run mineWell, I want it to run on all devices.You mean with net send? Wait if you just wanted it local networked why don't you use batch script or power shell (ha apple products)
You could literally make on in less than 50 lines
I'll most likely host with a Pi.
Scratch data available at ScratchDB (Status)
Posts: bf97b44a7fbd33db070f6ade2b7dc549 (btw i use arch)
- Discussion Forums
- » Advanced Topics
- » Is there a way to do a simple peer-to-peer JS chat?