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

vidshow

v0.1.9

Published

CLI Tools to Create Slideshow Video

Downloads

4

Readme

vidshow

NPM
GitHub tag Build Status

vidshow is a simple cli-tool to generate a slideshow video using native FFMPEG.

Install

Since vidshow is a cli you should install this package globally.

npm install vidshow -g

Usage

After installation was finished, you can use commands below:

vidshow init

Go to your directory and init it as a project, prompt will be appears.

  • FFMPEG Directory (Set your FFMPEG binary path, .exe in windows)
  • Random Music Directory (Set a directory which has collection of mp3 music)
  • Output Directory (Set output directory)
  • Font Directory (Set font directory for subtitle purpose, C:\Windows\Fonts in windows)

After initialized, you'll see these files in your current directory.

  • .vidshow is an init configuration
  • fonts.json will be used for subtitle purpose
  • script.js is a callback (see below)

script.js

This file a queue callback which is called in vidshow new command, script contains three part.

  • before will be executed before generator showing a prompt.
  • queue will be executed when images will be added in queues. You can modify a custom duration or subtitle for each file.
  • finish will be executed after generator has been finished.

vidshow new

Generate a new video from specified directory, prompts will be appears.

  • Video Title is your video filename.
  • Duration is how many duration an images should be displaying, before next slide.
  • Image directory is directory that contains images (shold be contains 3 images or more).
  • Load subtitle, whether you will load a subtitle from file or not.
  • Subtitle file will be appears if you load a subtitle.

Example

You can see example project in example directory.

Next Todo

  • [ ] Using node-fluent-ffmpeg

Release Notes

v0.1.9

Add some documentation

v0.1.8

Move from private repo to public repo, add eslint, editorconfig and implement CI