
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
pastebee-cli
Advanced tools
Simple CLI tool to pipe text/logs to Swarm network
This project is intended to be used with Bee version 1.2.0. Using it with older or newer Bee versions is not recommended and may not work.
This package currently works out of box, but might break in future as it depends on some specific behaviour of other components and projects. If you notice that it is broken please create issue, or better PR.
It is a bit of a hack project, so there might be a problems, please let me know if you have some problems.
To use pastebee-cli
across your whole system, it is recommended to install it globally:
npm install --global pastebee-cli
pastebee-cli
takes input from STDIN, so pipe in whatever you feel like it! (it has to be a text though):
$ echo "Hello World Swarm" | pastebee
✔ Uploaded! https://pastebee.bzz.link/?34848f873ae2cc740957d45ad890e9f3bd18ad60e91b58cdf7c90b9f1f6c00b6
// Send somebody link to your logs
$ some-cool-command | pastebee --silence | mail -s "Check out my logs" somebody@example.com
Usage: <some STDOUT producing command> | pastebee [options]
Options:
--version Show version number [boolean]
-b, --bee Bee node URL. By default Gateway is used. [string]
-p, --stamp Postage Batch Stamp ID. Required if custom Bee node is used.
[string]
-n, --name Name of the file that is stored in metadata. [string]
-a, --hash Displays only the reference not as URL. [boolean]
-s, --silence Output only the uploaded reference without any UX. [boolean]
-h, --help Show help [boolean]
pastebee-cli is a simple tool for piping text to Swarm network.
If you want to know more about Swarm network visit https://ethswarm.org/
You can configure the Bee node setting using environmental variables:
BEE_URL
- A URL to your Bee nodeBEE_STAMP
- A Postage Stamp Batch ID to be used when uploaded. Required if you are using custom Bee node.This is simple hack project to demonstrate Swarm network and simplify common task. Feel free to create a PR with new features or bug fixes!
See what "Maintainer" means here.
FAQs
Cli tool for pasting logs to Bee
The npm package pastebee-cli receives a total of 4 weekly downloads. As such, pastebee-cli popularity was classified as not popular.
We found that pastebee-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.