any-sync-node

module
v0.3.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: MIT

README

# Any-Sync Node Implementation of node from any-sync protocol.

Building the source

To ensure compatibility, please use Go version 1.22.

To build and run the Any-Sync Node on your own server, follow these steps:

  1. Clone any-sync-node repository.
  2. Navigate to the root directory of the repository.
  3. Run the following commands to install the required dependencies and build the Any-Sync Node.
    make deps
    make build
    
  4. If there are no errors, the Any-Sync Node will be built and can be found in the /bin directory.

Running

Any-Sync Node requires a configuration. You can generate configuration files for your nodes with any-sync-network tool.

The following options are available for running the Any-Sync Node:

  • -c — path to config file (default etc/any-sync-node.yml).
  • -v — current version.
  • -h — help message.

Graph example of using Any-Sync Nodes group

graph LR
A((Node1)) -- Sync --> B((Node2))
B -- Sync --> C((Node3))
C -- Sync --> A
U[Client] --> A

Contribution

Thank you for your desire to develop Anytype together!

❤️ This project and everyone involved in it is governed by the Code of Conduct.

🧑‍💻 Check out our contributing guide to learn about asking questions, creating issues, or submitting pull requests.

🫢 For security findings, please email security@anytype.io and refer to our security guide for more information.

🤝 Follow us on Github and join the Contributors Community.


Made by Any — a Swiss association 🇨🇭

Licensed under MIT License.

Directories

Path Synopsis
debug
mock_nodehead
Code generated by MockGen.
Code generated by MockGen.
mock_nodespace
Code generated by MockGen.
Code generated by MockGen.
mock_nodestorage
Code generated by MockGen.
Code generated by MockGen.
coldsync/mock_coldsync
Code generated by MockGen.
Code generated by MockGen.
hotsync/mock_hotsync
Code generated by MockGen.
Code generated by MockGen.
mock_nodesync
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL