{"id":15437142,"url":"https://github.com/victorb/tree-talk","last_synced_at":"2025-07-22T15:08:41.820Z","repository":{"id":148377005,"uuid":"81663428","full_name":"victorb/tree-talk","owner":"victorb","description":"A tree in the merkle-forest where you can just hang around and talk","archived":false,"fork":false,"pushed_at":"2017-10-10T23:27:33.000Z","size":602,"stargazers_count":10,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-28T13:54:24.549Z","etag":null,"topics":["ipfs","merkle-forest"],"latest_commit_sha":null,"homepage":"https://ipfs.io/ipfs/QmX4joAw3ZEeM9pwkde64vcwF9xukXRtQQmWj6XqYRHYdj","language":"CSS","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/victorb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-11T15:57:20.000Z","updated_at":"2024-05-30T11:45:21.000Z","dependencies_parsed_at":"2023-05-19T22:30:27.876Z","dependency_job_id":null,"html_url":"https://github.com/victorb/tree-talk","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"b1dbae4d0db7685eb8a20d57b35a4f3334691a34"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victorb/tree-talk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Ftree-talk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Ftree-talk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Ftree-talk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Ftree-talk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorb","download_url":"https://codeload.github.com/victorb/tree-talk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Ftree-talk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266516300,"owners_count":23941391,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ipfs","merkle-forest"],"created_at":"2024-10-01T18:55:17.219Z","updated_at":"2025-07-22T15:08:41.796Z","avatar_url":"https://github.com/victorb.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tree-Talk\n\u003e A tree in the merkle-forest where you can just hang around and talk\n\n![](./screenshot.png)\n\n## What is this?\n\nTree-Talk is a forum that works over [IPFS](https://ipfs.io), mainly the pubsub part. There is no\nservers involved in sending the threads/posts to other users but there is a\nsignaling server for helping peers to discover each others.\n\nTree-Talks data is completely distributed among the peers that are using the\napplication, with no central storage/database for threads and posts.\n\n## Running\n\n* Official IPFS link: https://ipfs.io/ipfs/QmdsQExVDxp2EgERDZFn2Q7Q6Ldi3uH4XSpQTu4L7aUeTU/#/\n* Locally: http://localhost:8080/ipfs/QmdsQExVDxp2EgERDZFn2Q7Q6Ldi3uH4XSpQTu4L7aUeTU/#/\n\n## Installing\n\n**Requirements**\n\n* node\n* npm\n\n**Setup**\n\n* `git clone https://github.com/victorbjelkholm/tree-talk`\n* `cd tree-talk`\n* `npm install`\n* `npm start`\n* Visit http://localhost:3000\n\n## Publishing your own copy\n\n**Requirements**\n\n* IPFS https://ipfs.io\n* IPFS daemon running\n\n**Setup**\n\nMake sure you're running the IPFS daemon somewhere\n\n```\n$ ipfs daemon\n\nInitializing daemon...\nSwarm listening on /ip4/127.0.0.1/tcp/4001\nSwarm listening on /ip4/192.168.1.128/tcp/4001\nSwarm listening on /ip4/37.133.29.47/tcp/4001\nSwarm listening on /ip6/::1/tcp/4001\nAPI server listening on /ip4/127.0.0.1/tcp/5001\nGateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080\nDaemon is ready\n```\n\nThen run `npm run publish` to build a production build, add it to IPFS and publish\non IPNS.\n\nYou can then visit `https://ipfs.io/ipfs/:hash` or `https://ipfs.io/ipns/:ipnfs-name`\n\n## Architecture\n\nTree-Talk is using the pubsub and DAG API in js-ipfs to publish and retrieve content.\n\nIt publishes resources in a pubsub channel and also listens on the same channel.\n\nThere is also a implementation of a caching server who listens to a pubsub channel\nand reshares all the content it can find.\n\n## Open Problems\n\n- Spam - Anyone can publish events on a pubsub channel and spam the network\n\t- Possible Solutions:\n\t\t- Every client keeps track of how many threads/posts they received from another\n\t\tclient and if 2 posts \u003e 1 minute, put the client on cooldown\n\n- Messaging\n  - Should always one message per second\n\n- Authenticity\n  - All messages should be signed\n    - UI needs to show if message is signed or not\n\n## Testing\n\nShould include a acceptance testing suite for making sure everything is always\nworking as it should.\n\n- Start signal server\n- Start browser 1\n- Start browser 2\n\nScenarios:\n- Browser 1 \u0026 2 are connected, showing \"1 peer\" each\n\n## License\n\nMIT 2017 - Victor Bjelkholm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorb%2Ftree-talk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorb%2Ftree-talk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorb%2Ftree-talk/lists"}