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 🙏

© 2026 – Pkg Stats / Ryan Hefner

minareel

v1.0.4

Published

Download Facebook Reels from the command line. Captures video and audio streams and merges them into high-quality MP4 files.

Readme

Minareel - Facebook Reel Downloader

Download Facebook Reels from the command line. Captures video and audio streams and merges them into high-quality MP4 files.

Minareel uses Puppeteer to automate Chrome, intercepts network requests as the page loads, captures separate video and audio streams, then uses FFmpeg to merge them into a single MP4 file with H.264 video and AAC audio encoding.

Installation

Install globally to use anywhere with -g option:

npm install -g minareel

Quick Start

First time setup:

  1. Try to download your first reel - it will launch Chrome automatically
  2. Login to your Facebook account
  3. Close Chrome when done
  4. Your session is saved and reused automatically

Download reels:

# Single URL
minareel https://www.facebook.com/reel/123456789

# Multiple URLs
minareel https://www.facebook.com/reel/123456 https://www.facebook.com/reel/789012

# From text file
minareel urls.txt

# Custom output directory
minareel -d ./my_videos urls.txt

# Mix URLs and files
minareel https://www.facebook.com/reel/123456 urls.txt -d ./downloads

urls.txt format

Create a text file with one URL per line:

https://www.facebook.com/reel/1186616509878303
https://www.facebook.com/reel/890470184596539

Options

-d <directory>    Specify output directory (default: ./downloads)

Requirements

  • Node.js 14 or higher
  • Facebook account (authentication required for full-quality reels)

Output

Files are saved as {reel_id}.mp4 in the specified output directory. Progress is displayed in the terminal as downloads complete.

Things you can customize:

Run npm root -g to find where minareel's source code is at so you can fine-tune these options:

  • THRESHOLD - Request count validation threshold (Expired or broken reels have lower requests so this threshold differentiates broken and valid reels)
  • CONCURRENCY - Number of parallel downloads
  • OUTPUT_DIR - where to save reels
  • FFmpeg encoding settings (preset, CRF quality, bitrate)
  • Chrome debugging port and user data directory

Feel free to fork, modify, and adapt to your needs!

Disclaimer

Educational project for learning browser automation and stream processing. Please respect content creators and only download your own content or content you have permission to use.

Links

License

MIT