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

live-recorder

v0.0.34

Published

A live recoreder

Downloads

15

Readme

Live Recorder

Live Recorder is a cli tool to record live stream

Features

  • prioritize recording integrity by using relatively aggresive strategy to make sure all chunks are downloaded

Installation

$ npm i -g live-recorder

Getting Started

Start recording with default configurations:

$ live-recorder https://showroom-live.com/nekojita

Specify output filename:

$ live-recorder -o my-nekojita https://showroom-live.com/nekojita

Make an appointment in future:

$ live-recorder --start-at '12:00 tomorrow' https://showroom-live.com/nekojita

Enable verbose mode:

$ live-recorder --verbose https://showroom-live.com/nekojita

More cli options can be found in sections of corresponding providers below

Supported Sites

| Site | URL | | :--: | :-- | | SHOWROOM | https://www.showroom-live.com/ | | AbemaTV | https://abema.tv/ | | radiko | https://radiko.jp/ | | LineLive | https://live.line.me/ | | Twitter | https://twitter.com/ | | Instagram | https://instagram.com/ | | M3U8 | - |

Tools

Merge

This tool merges m2ts chunks into mp4 file

$ live-recorder tools merge /a/b/chunks /a/b/output.mp4

Filter files using glob:

$ live-recorder tools merge --filter '*.ts' /a/b/chunks /a/b/output.mp4

Specify starting chunk or ending chunk:

$ live-recorder tools merge --start 2.ts --end 893 /a/b/chunks /a/b/output.mp4

Confirm all inquiries:

$ live-recorder tools merge -y /a/b/chunks /a/b/output.mp4

dry run:

$ live-recorder tools merge --dry /a/b/chunks /a/b/output.mp4

Download

This tool downloads file

$ live-recorder tools download https://abc.com/example.ts

Specify output:

$ live-recorder tools download https://abc.com/example.ts -o test.ts

SHOWROOM

Record live chat:

$ live-recorder --type livechat https://showroom-live.com/nekojita

AbemaTV

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content video,chunks,m3u8,info https://abema.tv/channels/special-plus/slots/CVRwLESD4GsvQw

Specify user token:

$ live-recorder --token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXYiOiJkZmE1ZWI1ZC0wMDM5LTQ1MzUtOTIwYi00N2RjMDVkODlkNWUiLCJleHAiOjIxNDc0ODM2NDcsImlzcyI6ImFiZW1hLmlvL3YxIiwic3ViIjoiNXZ2ekZDYVgzeGN3M3EifQ.woiwLthcwRCaLb0ppEbaqxuWq4PFMFs_3oUeM2lO40c https://abema.tv/channels/special-plus/slots/CVRwLESD4GsvQw

Specify download concurrency:

$ live-recorder --concurrent 8 https://abema.tv/channels/special-plus/slots/CVRwLESD4GsvQw

Disable hash in generated filename:

$ live-recorder --no-hash https://abema.tv/channels/special-plus/slots/CVRwLESD4GsvQw

Set token in configuration:

$ live-recorder abematv login --token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXYiOiJkZmE1ZWI1ZC0wMDM5LTQ1MzUtOTIwYi00N2RjMDVkODlkNWUiLCJleHAiOjIxNDc0ODM2NDcsImlzcyI6ImFiZW1hLmlvL3YxIiwic3ViIjoiNXZ2ekZDYVgzeGN3M3EifQ.woiwLthcwRCaLb0ppEbaqxuWq4PFMFs_3oUeM2lO40c

radiko

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content audio,cover,chunks,m3u8 'http://radiko.jp/#!/ts/LFR/20200702010000'

Specify login info:

$ live-recorder --mail [email protected] --password password 'http://radiko.jp/#!/ts/LFR/20200702010000'

Specify download concurrency:

$ live-recorder --concurrent 8 'http://radiko.jp/#!/ts/LFR/20200702010000'

Disable hash in generated filename:

$ live-recorder --no-hash 'http://radiko.jp/#!/ts/LFR/20200702010000'

Set login info in configuration:

$ live-recorder radiko login --mail [email protected] --password password

LineLive

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content video,chunks,m3u8 https://live.line.me/channels/12345/broadcast/12345678

Specify download concurrency:

$ live-recorder --concurrent 8 https://live.line.me/channels/12345/broadcast/12345678

Disable hash in generated filename:

$ live-recorder --no-hash https://live.line.me/channels/12345/broadcast/12345678

Twitter

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content merged,chunks,m3u8 https://twitter.com/abcde/status/1285960853611850000

Specify download concurrency:

$ live-recorder --concurrent 8 https://twitter.com/abcde/status/1285960853611850000

Disable hash in generated filename:

$ live-recorder --no-hash https://twitter.com/abcde/status/1285960853611850000

Instagram

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content video,chunks,mpd https://instagram.com/abcde

Specify download concurrency:

$ live-recorder --concurrent 8 https://instagram.com/abcde

Disable hash in generated filename:

$ live-recorder --no-hash https://instagram.com/abcde

Specify username:

$ live-recorder --username alice https://instagram.com/abcde

Logout:

$ live-recorder instagram logout

M3U8

Specify interval to refetch playlist for live stream.

$ live-recorder --interval 500 https://test.com/playlist.m3u8

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content merged,chunks,m3u8 https://test.com/playlist.m3u8

Specify download concurrency:

$ live-recorder --concurrent 8 https://test.com/playlist.m3u8

Disable hash in generated filename:

$ live-recorder --no-hash https://test.com/playlist.m3u8