{"id":26044370,"url":"https://github.com/peertecho/example-pear-react-hyperdrive-js","last_synced_at":"2025-03-07T18:19:07.691Z","repository":{"id":281036324,"uuid":"942619297","full_name":"peertecho/example-pear-react-hyperdrive-js","owner":"peertecho","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-06T16:05:55.000Z","size":9176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-06T17:23:18.075Z","etag":null,"topics":["hyperdrive","js","pear","react"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/peertecho.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":"2025-03-04T11:50:35.000Z","updated_at":"2025-03-06T16:05:59.000Z","dependencies_parsed_at":"2025-03-06T17:33:57.345Z","dependency_job_id":null,"html_url":"https://github.com/peertecho/example-pear-react-hyperdrive-js","commit_stats":null,"previous_names":["peertecho/example-pear-react-hyperdrive-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peertecho%2Fexample-pear-react-hyperdrive-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peertecho%2Fexample-pear-react-hyperdrive-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peertecho%2Fexample-pear-react-hyperdrive-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peertecho%2Fexample-pear-react-hyperdrive-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peertecho","download_url":"https://codeload.github.com/peertecho/example-pear-react-hyperdrive-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242437707,"owners_count":20128090,"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":["hyperdrive","js","pear","react"],"created_at":"2025-03-07T18:19:06.895Z","updated_at":"2025-03-07T18:19:07.678Z","avatar_url":"https://github.com/peertecho.png","language":"JavaScript","readme":"# Overview\n- Example of Pear desktop app with Javascript + React + Hyperswarm + Corestore + Hyperbee + Hyperdrive\n- Multiple app instances can run concurrently (same machine or different machines) \nto connect and replicate messages\n\n# Getting started\n## Prod mode\n```shell\nnpm i\nnpm run build\nnpm start\n```\n\n## Dev mode\n```shell\nnpm i\nnpm run dev\n```\n\n# Run\n- Open two apps, e.g. run `npm run dev` in two terminals\n- On the first app, \n  - click Start writer\n  - wait for core created with a core key\n- On the second app\n  - copy the above core key into the reader input box\n  - click Start reader\n  - wait for started\n- Go to the parent dir of the current working dir\n  - create `writer-dir`, add/update/remove files\n  - click Sync on the first app\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeertecho%2Fexample-pear-react-hyperdrive-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeertecho%2Fexample-pear-react-hyperdrive-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeertecho%2Fexample-pear-react-hyperdrive-js/lists"}