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

@narakeet/build-video-github-action

v1.0.2

Published

GitHub Action to build videos from files in GitHub repositories using Narakeet

Downloads

1

Readme

Narakeet GitHub Action

GitHub Action to build videos from files in GitHub repositories using Narakeet.

Narakeet (formerly Video Puppet) allows you to create narrated videos quickly from markdown scripts and media assets, and edit videos as easily as editing plain text. It makes it easy to version control videos, include video building into continuous integration and generate video with multiple formats and languages from the same assets.

This action makes it easy to integrate Narakeet into GitHub continuous integration pipelines. For example, commit a new version of the app, take screenshots with Puppeteer, then update instructional videos automatically to reflect the latest version of the application.

Check out some nice examples.

Inputs

github-token

Required The GitHub action Authentication Token to access the repository. Use ${{ secrets.GITHUB_TOKEN }} to automatically set it to the token generated for the action

api-key

Required Narakeet API Key for your account. To obtain a key, write to [email protected].

Do not store the token directly in the action. Instead, store it as an encrypted secret to your repository, and then reference as ${{ secrets.SECRET_NAME }}.

source-path

Required Relative path to the main video script file (.md for markdown, .yaml for YAML and .json for JSON scripts); for example hello-world/script/source.md. Do not include the starting slash.

result-file

Optional Local file system path for the result file; if you do not set this, the action will use the file name generated by Narakeet. You will be able to read out the resulting file in any case from the action outputs.

api-url

Optional override for the API URL, used only for developers when testing; ignore this parameter unless you are developing this action.

Outputs

video-file

Resulting video file, ready for uploading to GitHub action artifacts or further processing.

video-url

Temporary secure (signed) video URL - valid for 10 minutes - which can be used to download the video directly from Narakeet servers.

Example usage

The following workflow will generate a video using this action, then upload it to the workflow artifacts.

name: Make videos
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: narakeet/[email protected]
      id: video
      with:
        source-path: hello-world/script/script.md
        github-token: ${{ secrets.GITHUB_TOKEN }}
        api-key: ${{ secrets.API_KEY }}
    - uses: actions/upload-artifact@v1
      with:
        name: video
        path: "${{ steps.video.outputs.video-file }}"

You will be able to access the generated video from the Artifacts menu in your GitHub Workflow

For developers and contributors

See CONTRIBUTING.md.