{"id":13482260,"url":"https://github.com/mafintosh/airpaste","last_synced_at":"2025-04-12T19:46:52.067Z","repository":{"id":29109621,"uuid":"32639152","full_name":"mafintosh/airpaste","owner":"mafintosh","description":"A 1-1 network pipe that auto discovers other peers using mdns","archived":false,"fork":false,"pushed_at":"2021-08-18T11:18:53.000Z","size":12,"stargazers_count":825,"open_issues_count":4,"forks_count":26,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-04T03:07:21.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mafintosh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-21T16:09:00.000Z","updated_at":"2025-04-01T18:55:22.000Z","dependencies_parsed_at":"2022-08-30T23:40:51.744Z","dependency_job_id":null,"html_url":"https://github.com/mafintosh/airpaste","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafintosh%2Fairpaste","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafintosh%2Fairpaste/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafintosh%2Fairpaste/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafintosh%2Fairpaste/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mafintosh","download_url":"https://codeload.github.com/mafintosh/airpaste/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625497,"owners_count":21135513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-07-31T17:01:00.370Z","updated_at":"2025-04-12T19:46:52.046Z","avatar_url":"https://github.com/mafintosh.png","language":"JavaScript","readme":"# airpaste\n\nA 1-1 network pipe that auto discovers other peers using mdns\n\n```\nnpm install -g airpaste\n```\n\n## Usage\n\nOn one machine run\n\n```\necho hello world | airpaste\n```\n\nOn another one run\n\n```\nairpaste\n```\n\nIf the two machines are on the same network the second one will now print `hello world`.\nOptionally you can provide an pipe name as the second argument\n\n```\necho only streams to test | airpaste test\n```\n\nThat way the output only gets send to another user doing `airpaste test`\n\n## Sharing files\n\nYou can use airpaste to share files across the network by piping them to/from airpaste\n\nOn one machine do\n\n```\nairpaste \u003c my.file\n```\n\nOn another\n\n```\nairpaste \u003e my.file\n```\n\nSince airpaste just outputs to stdout you can also do stuff like piping movies/music to mplayer (or any other program that supports streaming to stdin)\n\nOn one machine\n\n```\nairpaste | mplayer -\n```\n\nOn another\n\n```\nairpaste \u003c movie.mp4\n```\n\n## API\n\nYou can also use this module from node\n\n``` js\nvar airpaste = require('airpaste')\nvar stream = airpaste()\n\nprocess.stdin.pipe(stream).pipe(process.stdout)\n```\n\nOptionally you can pass a namespace to `airpaste()`\n\n## Security Note\n\nData moves over the network without encryption and could be captured. Only intended for use on trusted networks.\n\n## License\n\nMIT\n","funding_links":[],"categories":["Applications","Modules","High level","JavaScript","File Sharing"],"sub_categories":["Sharing Files","Security"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafintosh%2Fairpaste","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmafintosh%2Fairpaste","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafintosh%2Fairpaste/lists"}