DAGger

module
v0.0.0-...-1e43bc6 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: Apache-2.0, MIT

README

🗡️ stream-DAGger

an elegant slicer for a more civilized age

ALPHA - REPOSITORY WILL MOVE BEFORE MAY 1ST 2020

stream-dagger is a command line tool designed to:

  • receive a single STDIN input stream
  • efficiently split it based on a wide array of tunable criteria
  • aggregate and emit detailed statistics about the resulting chunks
  • possibly form a Directed Acyclic Graph (DAG) from the individual stream parts
  • possibly stream the DAG on STDOUT in format understood by e.g. ipfs

Further documentation for individual use cases will be available in several days (https://github.com/ipfs/DAGger/issues/5). Until then some basic example snippets:

go get -v -u github.com/ipfs-shipyard/DAGger/cmd/stream-dagger
cat {{somefile}} | stream-dagger --ipfs-add-compatible-command="--cid-version=1"
find {{somedirectory}} -type f -exec sh -c '
perl -e "print( pack( q{q>}, -s \$ARGV[0]))" {} && cat {}
' \; | stream-dagger --multipart --ipfs-add-compatible-command="--cid-version=1"

Lead Maintainer

Peter 'ribasushi' Rabbitson

License

SPDX-License-Identifier: Apache-2.0 OR MIT

Jump to

Keyboard shortcuts

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