Skip to content

Downloads audio from Supreme Court of the United States (SCOTUS) arguments and generate podcast covers for each episode. It includes a script to download SCOTUS Arguments audio, another to generate the podcast covers, and a GitHub Actions workflow to run the scripts manually.

License

Notifications You must be signed in to change notification settings

austinsonger/Podcast-Automation-with-Transistor.fm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You can find the podcast that this automation is for at the following: Apple Podcasts, Spotify, Google Podcasts, Amazon Music Podcasts,YouTube,Castro,GoodPod ,Anghami,RadioPublic,CastBox ,Pandora,PodcastAddict,Player.fm,TuneIn,iHeartRadio,Deezer

Podcast Automation with Transistor.fm

To Do

  • Automating the Creating & Scheduling of Draft Podcast Episodes in Transistor.fm
  • Automating the Downloading of Supreme Court Cases
  • Automating the Creation of Cover Image for Each Podcast Episode
  • Automating the Uploading of Cover Image & Audio into their Draft Episode in Transistor.fm
  • Automating the transcribing of audio

Future To Do

  • Combine the scripts to operate as a modular python application
  • Fix the Text Placement on Podcast Episode Cover
  • Make it so when podcast-covers.yml runs, it also commit changes to the repo.
  • Make it so when download-scotus.yml runs, it also commit changes to the repo.
  • Refractoring the program to be in Rust language.
  • Read from https://www.scotusblog.com and updates scotus.csv file with confirm cases

Supreme Court of the United States Podcast Episode Generator

Downloads audio from Supreme Court of the United States (SCOTUS) arguments and generate podcast covers for each episode. It includes a script to download SCOTUS Arguments audio, another to generate the podcast covers, and a GitHub Actions workflow to run the scripts manually.

Project Structure

  • download-scotus.py: Python script to download SCOTUS decision data.
  • podcast-cover.py: Python script to generate podcast covers from decision data.
  • transistor-csv.py: (Description of this script's purpose, based on your implementation.)
  • scotus.csv: CSV file containing data related to SCOTUS cases.
  • Blank.png: Template image used by PodcastCover.py to generate podcast covers.
  • .github/workflows/: Directory containing GitHub Actions workflows to run the scripts.

Setup

To run these scripts, you'll need Python installed on your machine, along with the pandas and Pillow packages. You can install them using pip:

pip install pandas Pillow

Usage

Download SCOTUS Data

To download the latest SCOTUS data:

python download-scotus.py

Make sure to update the scotus.csv file path in the script if it's different from your setup.

Generate Podcast Covers

To generate podcast covers:

python podcast-cover.py

Ensure Blank.png and the font file are in the correct paths as the script expects.

Manual GitHub Workflow Trigger

You can also run these scripts via GitHub Actions:

  1. Navigate to the 'Actions' tab of your GitHub repository.
  2. Select the respective workflow.
  3. Click on 'Run workflow' and choose the branch you want to run the workflow on.
  4. Click 'Run workflow' again to start the process.

Customization

You can customize the podcast cover generation by editing podcastcover.py to change the font, layout, or design used in the cover images.

Contributing

Contributions to this project are welcome. Please open an issue or submit a pull request with your proposed changes.


This project is not officially affiliated with the Supreme Court of the United States.

About

Downloads audio from Supreme Court of the United States (SCOTUS) arguments and generate podcast covers for each episode. It includes a script to download SCOTUS Arguments audio, another to generate the podcast covers, and a GitHub Actions workflow to run the scripts manually.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published