{"id":18338814,"url":"https://github.com/tableflip/ipfs-pubsub-chat-example","last_synced_at":"2025-04-06T05:31:52.761Z","repository":{"id":72910705,"uuid":"122503386","full_name":"tableflip/ipfs-pubsub-chat-example","owner":"tableflip","description":"An example pubsub app that uses window.ipfs, provided by the IPFS Companion web extension","archived":false,"fork":false,"pushed_at":"2019-11-18T17:23:00.000Z","size":2537,"stargazers_count":31,"open_issues_count":4,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-21T18:02:02.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tableflip.github.io/ipfs-pubsub-chat-example/dist/","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/tableflip.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":"2018-02-22T16:20:36.000Z","updated_at":"2023-06-29T06:56:19.000Z","dependencies_parsed_at":"2023-05-26T01:15:11.751Z","dependency_job_id":null,"html_url":"https://github.com/tableflip/ipfs-pubsub-chat-example","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fipfs-pubsub-chat-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fipfs-pubsub-chat-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fipfs-pubsub-chat-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fipfs-pubsub-chat-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tableflip","download_url":"https://codeload.github.com/tableflip/ipfs-pubsub-chat-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247440346,"owners_count":20939221,"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-11-05T20:15:40.404Z","updated_at":"2025-04-06T05:31:52.753Z","avatar_url":"https://github.com/tableflip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IPFS pubsub chat example\n\n\u003e A ~76KB example chat app that uses window.ipfs, provided by the IPFS Companion web extension\n\nDemo: https://tableflip.github.io/ipfs-pubsub-chat-example/dist/\n\n\u003cimg width=\"752\" alt=\"screen shot of IPFS pubsub chat example\" src=\"https://user-images.githubusercontent.com/152863/36670485-744ca964-1af0-11e8-82f9-a591a90522a3.png\"\u003e\n\n## Install\n\n1. This app requires `window.ipfs`. Install the IPFS Companion web extension:\n\n    \u003ca href=\"https://addons.mozilla.org/en-US/firefox/addon/ipfs-companion/\" title=\"Get the add-on\"\u003e\u003cimg width=\"86\" src=\"https://blog.mozilla.org/addons/files/2015/11/AMO-button_1.png\" /\u003e\u003c/a\u003e \u003ca href=\"https://chrome.google.com/webstore/detail/ipfs-companion/nibjojkomfdiaoajekhjakgkdhaomnch\" title=\"Get the extension\"\u003e\u003cimg width=\"103\" src=\"https://developer.chrome.com/webstore/images/ChromeWebStore_BadgeWBorder_v2_206x58.png\" /\u003e\u003c/a\u003e\n\n2. You need to be using the **embedded** JS-IPFS node, click the extension icon in the top right of your browser and toggle the switch to \"embedded\"\n3. Open the preferences and paste in the following to configure your JS-IPFS node to use pubsub:\n\n    ```json\n    {\n      \"config\": {\n        \"Addresses\": {\n          \"Swarm\": [\n            \"/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star\"\n          ]\n        }\n      },\n      \"EXPERIMENTAL\": {\n        \"pubsub\": true\n      }\n    }\n    ```\n\n4. Install dependencies `npm install`\n5. Build the app `npm run build`\n6. Start the app `npm start`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Fipfs-pubsub-chat-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftableflip%2Fipfs-pubsub-chat-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Fipfs-pubsub-chat-example/lists"}