Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inkandswitch/farm-peer
A cloud peer for farm to keep data warm while your computer is sleeping.
https://github.com/inkandswitch/farm-peer
Last synced: 4 days ago
JSON representation
A cloud peer for farm to keep data warm while your computer is sleeping.
- Host: GitHub
- URL: https://github.com/inkandswitch/farm-peer
- Owner: inkandswitch
- Created: 2019-03-18T20:16:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-05T00:11:28.000Z (over 3 years ago)
- Last Synced: 2024-08-02T12:52:00.915Z (3 months ago)
- Language: TypeScript
- Size: 107 KB
- Stars: 4
- Watchers: 8
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - inkandswitch/farm-peer - A cloud peer for farm to keep data warm while your computer is sleeping. (others)
README
# farm-peer
A cloud peer for farm to keep data warm while your computer is sleeping.## Usage
```
yarn farm-peer
```or, for extra debug information:
```
DEBUG=farm-peer yarn farm-peer
```### Inspect and Debug
You can also run farm-peer and attach a debugger to the process by running:
```
yarn farm-peer-inspect
```
Then, open chrome and navigate to `chrome://inspect`. You should see the node process available for inspection. `yarn farm-peer-inspect` breakpoints before any farm-peer code is run, so it will hang until you open the debugger/inspector and manually continue. This is useful for inspecting the state of farm-peer as it runs.For example, you can determine if farm-peer is swarming a particular document or file with:
```
farmPeer.isSwarming("hypermerge:/asdfasdf")
```## Notes
Occasionally the process will crash from a hypermerge error, usually a "Block not downloaded" error. Just restarting the process usually fixes the issue. :shrugging-man: