Skip to content

Source code for realcoopstories.org, a podcast that collects stories from cooperative practitioners.

License

Notifications You must be signed in to change notification settings

anaulin/realcoopstories

Repository files navigation

Real Co-op Stories

A podcast where cooperative practitioners tell their stories.

Environment setup

  1. Install Hugo: brew install hugo
  2. To run the optimize-image.sh script, install imageoptim: brew install imageoptim imageoptim-cli

Adding a new episode and testing locally

Run local Hugo server:

$ make serve

Create new episode:

$ hugo new episode/your-episode-name.md

Add at least the following fields to the episode frontmatter:

  • description: short description of the episode (~ a couple of sentences)
  • episode_image: cover image for episode, should have square aspect ratio
  • podcast_file: full URL to MP3 with episode audio
  • podcast_bytes: byte size of audio file
  • podcast_duration: duration of audio file, in HH:MM:SS format

Configure build + deploy workflow

Copy public key to remote server:

$ ssh-copy-id -i ~/.ssh/id_rsa.pub anaulin@realcoopstories.org

Set GitHub repo secrets:

Utility scripts

Resize and optimize image:

$ ./optimize-image.sh path/to/image

Enclose timestamps in timestamp shortcode:

$ ./timestamp-shortcode.sh path/to/file.md

Automatically upload to Internet Archive

Using Python internetarchive CLI:

$ python3 -m venv .venv
$ source .direnv
$ pip3 install internetarchive

Login with:

$ ia configure

Upload file:

$ ia upload <params>

Podcast feed requirements references

Feed validators

About

Source code for realcoopstories.org, a podcast that collects stories from cooperative practitioners.

Topics

Resources

License

Stars

Watchers

Forks