{"id":23993190,"url":"https://github.com/nickbradley/p2pwiki","last_synced_at":"2026-06-19T05:32:43.383Z","repository":{"id":100006861,"uuid":"71730003","full_name":"nickbradley/p2pwiki","owner":"nickbradley","description":"Scalable, high-availability peer-to-peer Wikipedia-style encyclopedia","archived":false,"fork":false,"pushed_at":"2016-12-14T01:35:04.000Z","size":72,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T06:43:39.726Z","etag":null,"topics":["class-project"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nickbradley.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":"2016-10-23T21:11:51.000Z","updated_at":"2024-04-30T19:07:38.000Z","dependencies_parsed_at":"2023-03-13T15:41:25.838Z","dependency_job_id":null,"html_url":"https://github.com/nickbradley/p2pwiki","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nickbradley/p2pwiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbradley%2Fp2pwiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbradley%2Fp2pwiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbradley%2Fp2pwiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbradley%2Fp2pwiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickbradley","download_url":"https://codeload.github.com/nickbradley/p2pwiki/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbradley%2Fp2pwiki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34519049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["class-project"],"created_at":"2025-01-07T20:55:46.362Z","updated_at":"2026-06-19T05:32:43.376Z","avatar_url":"https://github.com/nickbradley.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# P2P Wikipedia\n\n## Installation\nTo install p2pwiki, clone the repo into your golang working directory and run:\n```\n\u003e go install github.com/nickbradley/p2pwiki\n```\n\n## Usage\n### Running the chord server\nTo start the first node in the chord ring:\n```\n\u003e p2pwiki 127.0.0.1:2222 server create\n```\n\nTo join an existing chord ring:\n```\n\u003e p2pwiki 127.0.0.1:3333 server join 127.0.0.1:2222\n```\n\n### Interacting with an article\nAll article commands have the form\n```\np2pwiki \u003cip:port client\u003e article \u003cip:port local server\u003e \u003cop\u003e \u003ctitle\u003e \u003copargs\u003e\n```\n\n\nBefore viewing/editing an article, it must first be pulled from a peer and stored in the local cache:\n```\n\u003e p2pwiki 127.0.0.1:3334 article 127.0.0.1:3333 pull A1\n\nArticle A1 has been pulled successfully from 127.0.0.1:3333.\n```\n\nTo view a local article:\n```\n\u003e p2pwiki 127.0.0.1:3334 article 127.0.0.1:3333 view A1\n\nA1\n----\nB\n```\n\nLocal articles can be edited using:\n```\n\u003e p2pwiki 127.0.0.1:3334 article 127.0.0.1:3333 insert A1 2 \"second sentence\"\nInsert into A1 succeed...\n\n\u003e p2pwiki 127.0.0.1:3334 article 127.0.0.1:3333 view A1\n\nA1\n---\nB\nsecond sentence\n\n\u003e p2pwiki 127.0.0.1:3334 article 127.0.0.1:3333 delete A1 1\n\u003e p2pwiki 127.0.0.1:3334 article 127.0.0.1:3333 view A1\n\nA1\n---\nsecond sentence\n```\n\nTo share your changes you must push your edits to the peer server:\n```\n\u003e p2pwiki 127.0.0.1:3334 article 127.0.0.1:3333 push A1\n\nArticle A1 has sent to 127.0.0.1:3333.\n```\nNotice that the CRDT will automagically merge changes from multiple pushes.\n\nYou can also discard edits by running:\n```\n\u003e p2pwiki 127.0.0.1:3334 article 127.0.0.1:3333 discard A1\n```\n\n## Project structure\n```\nparent_dir\n |-- bin\n |-- pkg\n |-- src\n     |-- github.com\n         |-- nickbradley\n             |-- p2pwiki\n                 |-- article\n                     |-- article.go\n                     |-- treedoc.go\n                 |-- chord\n                     |-- chord.go\n                 |-- p2pwiki.go\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickbradley%2Fp2pwiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickbradley%2Fp2pwiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickbradley%2Fp2pwiki/lists"}