Code Monkey home page Code Monkey logo

podcacher's Introduction

Podcacher - Offline Podcast server

Purpose

I am a sailor. Just about the only time that I have time to listen to podcasts is on night watch. Often I will be away from unlimited high speed internet for months at a time. As a result, I needed a way to store podcasts when I had lots of free internet, and listen to them when I had little

Many of us sailors would just wget the files, and trade them via hard drive, but then you can't use your podcast app to listen to them.

Podcacher solves this problem. Once installed, click on the "New Podcast" link, and enter the URL of your favorite feed. If you, like me, already have a lot of cached files, you can supply the path to that directory as well. When you click on "Create Podcast" a background job will set up your podcast, and if you supplied a cache dir, it will import those files too.

Give that 5 minutes to complete, and then "View" your podcast. This will bring up a page that contains all of the episodes that have been published by the remote server. Anything that is locally cached will have a "Download" button under the episode description. Click "Download new episodes" to update from the remote server. It will skip any episodes that already have a media file.

Installation

Prerequisites

ruby 2.4 or greater

rubygems

bundler (gem install bundler)

postgesql (database server)

redis server (for backgrounding)

Steps

clone this repository cd podcacher

bundle install

rails db:setup

rails db:migrate

rails server This will start the rails server (in development mode) on port 3000. This should be fine for most cases, but if you would like to run in production mode, you'll need to do some more setup.

Todo

  • Definitely scheduling would be nice. Also one off episode downloads
  • A mechanism for exporting podcasts and media for import into another instance
  • maybe make development use sqlite3 so folks don't have to set up postgres

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.