🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

hyperirc

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperirc

Read IRC through hypercore

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

hyperirc

Read IRC through hypercore.

What is it?

Hypercore is the underlying p2p network that powers Dat

Hyperirc is a bot that mirrors irc channels to a hypercore append-only log. This allows you to read an IRC channel using the hypercore p2p network. Anyone who is reading the irc logs is also helping hosting them.

Usage

npm install -g hyperirc

Usage

First, somewhere, start a mirror.

hyperirc --mirror=an-irc-channel

This will mirror an-irc-channel on freenode into a hyperdrive feed. The feed key is printed out.

Then on a couple of other computers run this to tail the channel

hyperirc --tail=the-key-printed-out-above

Thats it! Every peer tailing (and the peer mirroring) will join the p2p network and help eachother host the irc logs.

By default, hyperirc will save its database under ~/.hyperirc.db. You may choose your own location.

hyperirc --mirror=an-irc-channel --database=/path/to/db

For more options run hyperirc --help.

Browser support

You can also seed the irc logs to the browser by adding the --webrtc option. This will make hyperirc join a p2p webrtc swarm as well.

hyperirc --tail=the-key-printed-out-above --webrtc

To view the logs in the browser visit the static website hosted here, https://github.com/mafintosh/hyperirc-www

Mirrored IRC channels

  • #dat on freenode, hyperirc --tail=4e397d94d0f5df0e2268b2b7b23948b6dddfca66f91c2d452f404202e6d0f626
  • #cphftw on freenode, hyperirc --tail=a8d20e7d305a95904798142de0b75dff251b84db73873fd4aba73d5bdc7b50cf

If you mirror a channel open a PR and add your key.

License

MIT

FAQs

Package last updated on 13 Jun 2016

Did you know?

Socket

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.

Install

Related posts