GitHub - kognise/arpchat: Answering the question nobody asked: what if you wante...
source link: https://github.com/kognise/arpchat
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
arpchat
so... you know arp? the protocol your computer uses to find the mac addresses of other computers on your network? yeah. that.
i thought it would be a great idea to hijack it to make a chat app :)
built in two days because i was sick and had nothing better to do.
motivation
- once a year, i'm on a client isolated network that i want to chat with friends over
- i'm completely insane
- i'm a programmer
(i swear, i might actually briefly have a use for this! it might not be entirely useless! ... and other lies i tell myself)
limitations
things i made arpchat do
you can send messages tens of thousands of characters long because i implemented a (naive) generalizable transport protocol on top of arp. there's also a bit of compression.
if you wanted, you could probably split off the networking part of this and use it instead of udp. please don't do this.
not only are join and leave notifications a thing, i built an entire presence discovery and heartbeat system to see an updated list of other online users. ironically, part of this serves a similar purpose to arp itself.
running
if you actually want to install this for some reason, you can get it from the releases page.
on windows, you probably need npcap. make sure you check "Install Npcap in WinPcap API-compatible Mode" in the installer!
on linux, you might have to give arpchat network privileges:
sudo setcap CAP_NET_RAW+ep /path/to/arpchat
then just run the binary in a terminal. you know it's working properly if you can see your own messages when you send them. if you can't see your messages, try selecting a different interface or protocol!
have any issues? that really sucks. you can make an issue if it pleases you.
building
you don't really want to build this. anyway, it's tested on the latest unstable rust.
on windows, download the WinPcap Developer's Pack and set the LIB
environment variable to the WpdPack/Lib/x64/
folder.
cargo build
Recommend
-
28
README.md Pythia Pythia is a modular framework for Visual Question Answering research, which formed which formed the basis for the winning entry to the...
-
40
You’ve probably used a Question Answering (QA) system. Most of them are just a FAQ turned into a horrible search interface. If you don’t answer the exact question they answered, don’t bother. Other QA systems are basicall...
-
31
Natural Questions: a New Corpus and Challenge for Question Answering Research ...
-
36
README.md Water.css
-
22
To help advance question answering (QA) and create smarter assistants, Facebook AI is sharing the
-
43
Answering users’ questions in an enterprise domain remains a challenging proposition. Businesses are increasingly turning to automated chat assistants to handle technical support and customer support interactions. But, th...
-
5
The HTTP crash course nobody asked for Oct 20, 2022 60 minute read
-
8
Project: Musical Instrument Nobody Asked For Using Typescript Web Development ...
-
4
This Nintendo Switch & Steam Deck Hybrid Is The Mod That Nobody Asked For ...
-
12
Comment Nobody ever asked us if we wanted green energy. They just did it ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK