{"id":22002682,"url":"https://github.com/chendo/airchat","last_synced_at":"2026-02-14T19:01:53.676Z","repository":{"id":53840699,"uuid":"76154929","full_name":"chendo/airchat","owner":"chendo","description":"AirChat lets you chat to nearby users by abusing the AirDrop interface on OS X.","archived":false,"fork":false,"pushed_at":"2016-12-11T05:42:18.000Z","size":23,"stargazers_count":171,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-09T22:43:09.083Z","etag":null,"topics":["airdrop","chat","hack","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chendo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-11T04:52:53.000Z","updated_at":"2025-10-07T09:01:03.000Z","dependencies_parsed_at":"2022-08-22T08:30:57.732Z","dependency_job_id":null,"html_url":"https://github.com/chendo/airchat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chendo/airchat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chendo%2Fairchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chendo%2Fairchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chendo%2Fairchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chendo%2Fairchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chendo","download_url":"https://codeload.github.com/chendo/airchat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chendo%2Fairchat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airdrop","chat","hack","ruby"],"created_at":"2024-11-29T23:18:33.386Z","updated_at":"2026-02-14T19:01:53.658Z","avatar_url":"https://github.com/chendo.png","language":"Ruby","readme":"# AirChat\n\nAirChat is a zero-dependency* P2P CLI chat tool that (ab)uses the AirDrop interface to\nallow chatting across WiFi networks (or no WiFi network).\n\nA RailsCamp AU 20 project.\n\n![Screenshot](https://cloud.githubusercontent.com/assets/2661/21078310/7b9c0202-bfbe-11e6-8448-8aad4de69cbf.png)\n\n## Features\n\n* Chat to other AirChat users in proximity without being on the same network\n* Self-contained - no gems, nothing else to download/install\n* Automatically keeps AirDrop active\n* Commands: `/nick`, `/who`, `/me`, `/quit`\n* User colours tied to their IPv6 address\n\n## Requirements\n\n* OS X with system Ruby 2+ with working AirDrop\n* Ruby 2.0 or higher (comes with OS X)\n* tcpdump (comes with OS X)\n\n## Usage\n\n```\n# Get it\ncurl -L https://github.com/chendo/airchat/raw/master/airchat.rb \u003e airchat.rb \u0026\u0026 chmod +x airchat.rb\n# or get someone to AirDrop it to you, etc.\n\n# AirChat requires raw access to the /dev/bpf* interface.\n# Run using sudo\nsudo ./airchat.rb\n# OR\n# Give permission to /dev/bpf*\nsudo chgrp staff /dev/bpf* \u0026\u0026 sudo chmod g+rw /dev/bpf*  # These permissions will reset on reboot\n./airchat.rb\n```\n\n## How does it work?\n\nAirChat uses the `awdl0` interface to talk to other machines with AirDrop active.\nHowever, OS X restricts binding to this interface, and non-AirDrop network traffic is rejected\nwith `ICMP Port Unreachable`. AirChat gets around this by using `tcpdump` to receive UDP data,\nas OS X doesn't stop you from sending packets through that interface.\n\nAirChat broadcasts JSON-encoded messages in UDP to `ff02::fb` on port `1337`.\n\n## Caveats/TODO\n\n* Messages are transmitted in plain text.\n* No direct messaging\n* One channel only (you can specify a different port by modifying the source)\n* Message delivery is not guaranteed\n* No message repeater functionality\n\n## License\n\nMIT.\n\nANSI RGB magic sauce from the [paint gem](https://github.com/janlelis/paint).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchendo%2Fairchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchendo%2Fairchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchendo%2Fairchat/lists"}