{"id":13691640,"url":"https://github.com/ambianic/peerfetch","last_synced_at":"2025-04-05T08:09:36.502Z","repository":{"id":42569209,"uuid":"396203854","full_name":"ambianic/peerfetch","owner":"ambianic","description":"Peer-to-peer HTTP over WebRTC.","archived":false,"fork":false,"pushed_at":"2023-03-14T18:12:37.000Z","size":1472,"stargazers_count":602,"open_issues_count":10,"forks_count":18,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T07:09:52.266Z","etag":null,"topics":["end-to-end-encryption","iot","webrtc"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ambianic.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-15T03:34:42.000Z","updated_at":"2025-03-27T23:16:11.000Z","dependencies_parsed_at":"2025-01-05T02:08:35.366Z","dependency_job_id":null,"html_url":"https://github.com/ambianic/peerfetch","commit_stats":{"total_commits":44,"total_committers":1,"mean_commits":44.0,"dds":0.0,"last_synced_commit":"40de5abe84ea56aae97a5bbf486eff443410bc8f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambianic%2Fpeerfetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambianic%2Fpeerfetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambianic%2Fpeerfetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambianic%2Fpeerfetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ambianic","download_url":"https://codeload.github.com/ambianic/peerfetch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305935,"owners_count":20917208,"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":["end-to-end-encryption","iot","webrtc"],"created_at":"2024-08-02T17:00:48.065Z","updated_at":"2025-04-05T08:09:36.486Z","avatar_url":"https://github.com/ambianic.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Libraries"],"sub_categories":["JavaScript"],"readme":"\n# peerfetch\n\nPeer-to-peer HTTP over WebRTC. Implements an http client wrapper (similar to [HTML fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch)) and a corresponding server side HTTP proxy over WebRTC DataChannel. Allows direct secure access from a web browser to edge devices (IoT or servers) hidden behind a firewall. \n\nHighlights:\n- Excutes in safe application space (no `sudo`)\n- End to end encryption\n- No custom VPN setup needed\n- No cloud middleman for data tunneling\n- No dynamic DNS service required\n- No custom firewall rules required\n- Programming language agnostic. (Currently available in JavaScript and Python)\n\n# Hello World example\n\nSee this [README](examples/helloworld/README.md) for a step by step Hello World example.\n\n# How it works\n\nFor an in-depth technical discussion and project background, see [this blog post](https://webrtchacks.com/private-home-surveillance-with-the-webrtc-datachannel/).\n\n# Hands-on Workshop\n\n[Here is the recording](https://www.youtube.com/watch?v=LFKYtL1_RjQ) of a `peerfetch` workshop hosted by [Python Austin](https://github.com/Jacob-Barhak/EveningOfPythonCoding).\n\n# Use cases:\n\n- Direct user access from a web app to private home security camera without sharing footage with a cloud provider.\n- IoT device mesh with direct p2p communication. \n- Personal web apps can share data directly (files, notes, photos) only with the end user without exposing a public IP address.\n- Federated learning - ML models can train on local user data and share learned states directly with each other without a centralized model aggregation server.\n\n# Used by\n\n- [Ambianic UI PWA](https://github.com/ambianic/ambianic-ui)\n- [Ambianic Edge](https://github.com/ambianic/ambianic-edge)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambianic%2Fpeerfetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fambianic%2Fpeerfetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambianic%2Fpeerfetch/lists"}