GithubHelp home page GithubHelp logo

simple-podcast-server's Introduction

simple-podcast-server

Drop in some folders of media files. Browse, listen, and suscribe to the auto-generated feeds. A work in progress.

Installation

Put the project in it's own folder.

Install dependencies with npm:

npm install

Configuration

Put some folders in your document root.

|--podcastserve.js
'--public/
    |--Podcast 1/
    |   |--Episode 1.mp3
    |   '--Episode 2.mp3
    '--Podcast 2/
        |--Ep 1.mp3
        '--Ep 2.mp3

Run

node podcastserve.js

If you haven't changed the config you can check it out at http://localhost:3000

###Configuration copy config.example.js to config.js. Then edit config.js to fit your setup.

Some setup options:

Option Description
config.serverName Domain name or IP address of the server.
config.port Port to listen on.
config.documentRoot Path to the folder that will contain the media folders. e.g. public, media, podcasts

Screenshots

Example

Example

Example

Other stuff

  • You can add images to the folders to be used as thumbnails.
  • If the file names contain dates, you can sort the files by those dates (Default is file create date.)

Details in the example config file.

To Do

  • Allow more flexible folder structures.
  • Default thumbnail file.
  • Buttons for speed control on HTML5 audio player.
  • Clean up video player.
  • Allow definition/overrides of metadata (descriptions, etc.) with folder/file level config files (?)

License

MIT

simple-podcast-server's People

Contributors

walsh9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

simple-podcast-server's Issues

Allow Embed of player

This is such a cool project.. Would love it if you could add a button for Share and post embed code to allow embedding the player to a blog page or the likes.

Subfolders in media path causes postcast apps to fail

The arbitrary document path that must have at least one subfolder causes many podcast applications to fail to detect episodes, or may not recognise the feed at all.
Suggest you find a way to give the admin control over the directory structure or code in such a way that allows the document path to be altered as required.

dockerfile

FYR:

FROM node:lts-alpine

COPY . /app
WORKDIR /app
RUN npm install

CMD node podcastserve.js

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.