npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@alchmy/youtube2ipfs

v0.0.14842

Published

downloads from youtube and uploads to ipfs

Downloads

49

Readme

youtube2ipfs

It's all in the name. ☺ Downloads from youtube and uploads to ipfs.

Summary

Installation

npm install --global @alchmy/youtube2ipfs

If you need to install a daemon to receive the ipfs files. This will download ipfs, install it, and set it up as a service that automatically restarts on reboot.

git clone https://github.com/alchmy/librarian.git
cd librarian
chmod +x ipfs-linux-install.sh
./ipfs-linux-install

Usage

Basic

By default, it is currently assumed that you have an IPFS daemon listening on localhost:5001, which is the default configuration of an IPFS daemon. If you wish to send to another endpoint, see the Advanced section.

youtube2ipfs 'https://www.youtube.com/watch?v=8wLCmDtCDAM'

Make sure that you put the main parameter in quotes so the shell does not try to expand any of the special characters.

Advanced

Sending to non-default endpoints.

This is for sending the video to a daemon not on localhost:5001. Just specify the flags --ip, --port, and --protocol.

youtube2ipfs 'https://www.youtube.com/watch?v=8wLCmDtCDAM' --ip '164.13.543.32' --port '3454' --protocol 'http'
To come
  • Add an option to make persistant endpoint configuration.
  • When no node is detected, offer to install an IPFS daemon for the user and configure appropriately if needed.

Feedback

Please let me know if you find this package useful and in what way you use it. Also tell me if there are any features you would like me to add in order that you might be able to integrate it into your project.