IpfsUploader.Tool 1.1.1

dotnet tool install --global IpfsUploader.Tool --version 1.1.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local IpfsUploader.Tool --version 1.1.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=IpfsUploader.Tool&version=1.1.1                
nuke :add-package IpfsUploader.Tool --version 1.1.1                

IPFS Uploader

This is a command line tool that helps upload files to an IPFS Node.

Installing

This is deployed as a Dotnet Tool. Install with the following command.

dotnet tool install --global ipfs_upload

Usage

Run ipfs_upload and pass in the following arguments.

Options:
  --server_url <server_url> (REQUIRED)  The URL to the server running IPFS.
  --port <port> (REQUIRED)              The port of the IPFS node's API server.  Remember when setting up a node, this
                                        port should NEVER be exposed to the internet. [default: 5001]
  --output_xml_file <output_xml_file>   Where to output an file that contains the created hashes in XML format
  --file <file> (REQUIRED)              The file to upload to IPFS.  Globs are allowed.  Directories are not.
  --print_license                       Prints this program's license to stdout, and exits.  This takes priority over
                                        all other print options. [default: False]
  --print_readme                        Prints the readme file to stdout, and exits. This takes priority over the
                                        --print_credits option. [default: False]
  --print_credits                       Prints the third-party licenses to stdout, and exits. [default: False]
  --version                             Show version information
  -?, -h, --help                        Show help and usage information

Remember, the "port" on your IPFS node should NEVER be exposed to the public internet, as it controls the IPFS node.

The output_xml_file's format looks like the following:

<?xml version="1.0" encoding="utf-8"?>
<Files>
  <File name="BD240401.jpg">
    <IpfsHash>QmV4nrqxNE5FZdbJRCBJimtjsJYwPThg8iAD9icQ2ARsgt</IpfsHash>
  </File>
  <File name="BD240402.jpg">
    <IpfsHash>QmYCMvUaUwvoPDBKAqHyxcFz72y9kALjECBC3JpnWLaBsQ</IpfsHash>
  </File>
</Files>
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.1.1 207 10/26/2024
1.1.0 520 8/9/2024
1.0.0 291 5/5/2024