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

podstash

v1.0.0

Published

All of the podcasts tracked by podstash are stored in an archive. You can create a new archive with the `podstash init` command.

Downloads

3

Readme

podstash

Have you ever lost a podcast? Perhaps the author decided to stop paying for hosting.

Have you ever wanted to go back and listen to the first episode of a podcast only to realize that the feed only contains the last 100 or even 50 episodes?

Are you a digital hoarder?

If you answered yes to any of the questions above, then podstash might be for your.

Podstash tracks multiple podcast feeds and archives media files locally so that you never have to worry about losing access again.

For each tracked podcast, podstash keeps a snapshot of all the observed versions of the podcast's feed and the corresponding media files. It then combines the historical feed snapshots into a single unified feed that references your locally cached media and every episode from the podcast.

Along with the generated feeds podstash generates HTML files that provide an interface for exploring and listing to your newly acquired MP3 hoard.

Installation

You can install the latest version of podstash via npm:

npm install -g  podstash

You can also build locally using yarn:

git clone [email protected]:fimad/podstash.git
cd podstash
yarn build
./dist/podstash --help

Usage

Create An Archive

All of the podcasts tracked by podstash are stored in an archive. You can create a new archive with the podstash init command.

podstash init --archive ./path/to/archive --base-url http://example.com

Podstash expects that your archive is exposed over HTTP. The URL that corresponds to this is given in --base-url. If you haven't set up an HTTP server, no worries, you can provide a made up value now and change it later.

Track A Podcast

You use the podcast add command to start tracking a new podcast.

podstash add \
    --archive ./path/to/archive \
    --feed-url 'https://example.com/podcast/rss.xml' \
    --feed-name some-name

The name of the feed must be a unique and file system safe directory name.

Update Your Archive

The podstash update command directs podstash to fetch new RSS snapshots, download audio files, and regenerate your mirrored RSS feed.

podstash update --archive ./path/to/archive

Customization

Podstash uses config files that are stored in the archive. If you change a configuration file you must run podstash update for the changes to be reflected in the generated feed/HTML.

$archive/config/base.url

The URL that points to where the archive directory is exposed over HTTP. This is the value provided via --base-url when initializing an archive.

$archive/config/templates/index.html

A mustache template that is used to inflate the archive's index HTML file. This file is optional and if it is not provided the default template will be used.

See the default template for an example.

$archive/config/templates/feed.html

A mustache template that is used to inflate each podcast's index HTML file. This file is optional and if it is not provided the default template will be used.

See the default template for an example.

$archive/$podcast/config/feed.url

The URL that points to the podcast's RSS feed. This is the value provided via --feed-url when adding a new podcast to an archive.