Skip to content

cabiamdos/any-sync-filenode-1

 
 

Repository files navigation

Any-Sync File Node

Implementation of file node from any-sync protocol.

PURPOSE

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

INSTRUCTIONS

Building is the same as before, but after building you should see much more available capacity

DISCLAIRMER

Building the source

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:

  1. Clone the Any-Sync File Node repository to your local machine.
  2. Navigate to the root directory of the repository, where you will find a Makefile.
  3. Run the following commands to install the required dependencies and build the Any-Sync File Node.
    make deps
    make build
    
  4. If there are no errors, the Any-Sync File Node will be built and can be found in the /bin directory.

Running

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 (default etc/any-sync-filenode.yml).
  • -v — current version.
  • -h — help message.

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 [email protected] 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.

About

Implementation of file node from any-sync protocol

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.2%
  • Makefile 0.8%