Giter VIP home page Giter VIP logo

austinsonger / podcast-automation-with-transistor.fm Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 1.36 GB

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.

Home Page: https://scotus.transistor.fm/

License: Apache License 2.0

Python 91.91% Rust 8.09%
supreme-court supreme-court-cases podcast podcasts transistorfm transistor-fm

podcast-automation-with-transistor.fm's Introduction

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.

podcast-automation-with-transistor.fm's People

Contributors

austinsonger avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

podcast-automation-with-transistor.fm's Issues

Unwanted Summary Modification

Whenever the script creates a draft episode and then places the the episode ID into the csv file it changes the Summary

https://github.com/austinsonger/Podcast-Automation-with-Transistor.fm/blob/main/src/download-scotus-case-audio.py

from

Whether, under the discovery accrual rule applied by the circuit courts and the Copyright Act’s statute of limitations for civil actions, 17 U.S.C. § 507(b), a copyright plaintiff can recover damages for acts that allegedly occurred more than three years before the filing of a lawsuit.

to

Whether, under the discovery accrual rule applied by the circuit courts and the Copyright Act’s statute of limitations for civil actions, 17 U.S.C. § 507(b), a copyright plaintiff can recover damages for acts that allegedly occurred more than three years before the filing of a lawsuit.

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.