Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanity-io/podcast-to-sanity
Podcast import CLI
https://github.com/sanity-io/podcast-to-sanity
Last synced: 13 days ago
JSON representation
Podcast import CLI
- Host: GitHub
- URL: https://github.com/sanity-io/podcast-to-sanity
- Owner: sanity-io
- License: mit
- Created: 2018-08-04T12:39:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T11:31:40.000Z (about 2 months ago)
- Last Synced: 2024-09-09T13:46:56.950Z (about 2 months ago)
- Language: JavaScript
- Size: 1.43 MB
- Stars: 4
- Watchers: 11
- Forks: 2
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-sanity - `podcast-to-sanity` - This CLI lets you import podcasts into Sanity via their RSS-feed. (Related projects / Studio Inspiration)
README
# Podcast to Sanity
This CLI lets you import podcasts into Sanity via their RSS-feed.
## Installation
`npm install -g podcast-to-sanity`
## Requirements
Requires node.js version >= 7.6
## Usage
Install the CLI tool (see Installation above).
Have your Sanity project ID, dataset name and a write token ready.
Run `podcast-to-sanity` in your terminal and follow the instructions.
Deploy the [podcast starter from sanity.io/create](https://sanity.io/create?template=sanity-io%2Fsanity-template-podcast-studio) or run `sanity install podcast` in your Sanity project folder to view the content in the studio, or [copy these schema files](https://github.com/kmelve/sanity-plugin-podcast/blob/master/src/podcast.js) if you want to tweak them.
You can also check out the [sanity podcast server](https://github.com/kmelve/sanity-podcast-server) if you want to try out the RSS-feed from your data.
## Documentation
```bash
Usage
$ sanity-to-podcastOptions
--rssFeed, -r Include a rss feed
--projectId, -p Sanity.io project ID
--dataset, -d Sanity.io dataset
--token, -t Sanity token with write access
--keep-file-location, -k Import audio file urls and not files to Sanity
--fromCreate Ensures compability with the podcast starter from sanity.io/create
--help, -h Output this help textExamples
$ podcast-to-sanity --keep-file-location
# Imports all metadata and content, but not file assets
```## Caveats
Podcast RSS feeds aren't very standardized. Your milage may vary.
## License
MIT-licensed. See LICENSE.