Implementation of file node from
any-sync
protocol.
This is forked from the official repository
This repository modifies the files index.go, limit.go, rcphandler.go, and filenode.go to overwrite 1GB limit
In my case I needed to inject in the file store\s3store\s3store.go the access key and the secret key, where it says conf.Credentials.AccessKey
. Yo get those credentials in the minio web interface
Building is the same as before, but after building you should see much more available capacity
- This is the equivalent version of v0.6.4 branch of https://github.com/anyproto/any-sync-filenode
- Works with anytype version 0.39
To ensure compatibility, please use Go version 1.22
.
To build and run the Any-Sync File Node on your own server, follow these technical steps:
- Clone the Any-Sync File Node repository to your local machine.
- Navigate to the root directory of the repository, where you will find a
Makefile
. - Run the following commands to install the required dependencies and build the Any-Sync File Node.
make deps make build
- If there are no errors, the Any-Sync File Node will be built and can be found in the
/bin
directory.
You will need an S3-compatible object storage and Redis to run Any-Sync File Node. Note that credentials are necessary to make requests to S3. For more information, refer to the aws-sdk-go
documentation.
Any-Sync File 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 File Node:
-c
— path to config file (defaultetc/any-sync-filenode.yml
).-v
— current version.-h
— help message.
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.