Get your podcasts from Sanity on the ether!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
static fix file ext. Dec 9, 2017
.babelrc
.editorconfig
.env-example
.gitignore add DS_Store to ignore file Nov 27, 2017
README.md
app.json
index.js
package-lock.json Merge pull request #7 from kmelve/dependabot/npm_and_yarn/nodemon-1.1… Feb 14, 2019
package.json

README.md

Sanity Podcast Server

Sanity Podcast Server Logo

This is a simple server for the sanity podcast plugin built on node and Hapi. It's ready to be deployed on Heroku, but can run on any platform that runs node.

If you don't want to host it yourself you can use our (for now) free service by adding https:// www.sanitypodcastfeed.com to your CORS-setting and getting your feeds by accessing the url:

https://www.sanitypodcastfeed.com/<projectid>/<dataset>/<podcastslug>/rss

Usage

npm start to start the server.

Installation

Deploy

You can use the button to deploy a new server on Heroku. It only needs the Sanity project Id and dataset it should draw the podcasts from.

If your choose to run this server in another enivornment you can freely do so, but remember to add the enviroments key. You can either export them to the runtime or use a local .env file.

Development

npm run dev runs the server locally with nodemon.

npm run inspect runs the server with the inspect flag. I recommend using it with Node.js --inspector Manager for Chrome.

Roadmap

  • Informative frontpage
  • Simple admin-page with authentication
  • Google Analytics or other statistics-integration