any-sync-node

module
v0.4.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 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
Package mock_nodehead is a generated GoMock package.
Package mock_nodehead is a generated GoMock package.
mock_nodespace
Package mock_nodespace is a generated GoMock package.
Package mock_nodespace is a generated GoMock package.
mock_nodestorage
Package mock_nodestorage is a generated GoMock package.
Package mock_nodestorage is a generated GoMock package.
coldsync/mock_coldsync
Package mock_coldsync is a generated GoMock package.
Package mock_coldsync is a generated GoMock package.
hotsync/mock_hotsync
Package mock_hotsync is a generated GoMock package.
Package mock_hotsync is a generated GoMock package.
mock_nodesync
Package mock_nodesync is a generated GoMock package.
Package mock_nodesync is a generated GoMock package.

Jump to

Keyboard shortcuts

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