Messaging Based App Using Youtube Wordclouds

This is a design doc for a messaging based app to retrieve Youtube wordclouds.

Chuma S. Okoro
3 min readDec 6, 2022

Description

As a user, I would like to get a wordcloud given a youtube video via text. Currently I can generate a wordcloud via https://podrank.co, but it takes a long time. You basically need to log in to Pod Rank, find the Spotify video, get the matching Youtube video, and then generate the wordcloud.

Background

Currently it is cumbersome to generate a wordcloud based on the comments of a podcast on Youtube. You need to do the following steps:

  1. Login and navigate to Spotify podcast on Pod Rank app. ie — https://www.podrank.co/podcast/2B07nNz3WIl7ptnCpu3TEy/1169-Elon-Musk
  2. Get matching Youtube video for the Spotify podcast
  3. Generate Youtube wordcloud

Requirements

  1. Should be quick and easy where customers can send youtube videos and get the wordcloud instantly. No additional friction with having to type should be needed with typing a bunch of characters and doing multiple clicks
  2. Should be ubiquitous for all platforms (ios/android)
  3. Should be possible for us to monetize this feature using our current subscription

SMS/MMS Based approach

In the above approach, we will be utilizing Twilio to receive and send messages to individuals phone numbers. When we get a valid youtube link, we’ll go through our normal workflow to generate a wordcloud. Upon generating wordclouds, we will be uploading our files to an S3 bucket. If successful, we will send image text to user of the wordcloud using s3 url.

Tasks

  1. Create websocket on Pod Rank server that accepts inputs from twilio and outputs regular text. validate by sending text to # and getting response from pod rank
  2. Authenticate request by using number of person who sent text. Validate where only pod rank users get 1 reply and everyone else gets another
  3. Utilize AWS sdk to upload image to specified bucket. validate by printing url for uploaded image to logs
  4. Utilize function to upload and get url for wordcloud image in webhook for authenticated response. validate by testing end to end

Alternatives

  1. S3 alternatives — google cloud storage is cheaper allegedly… but I have more familiarity with AWS
  2. Email based approach — Cons are that it’s very clunky to send an email with a youtube link using ios share sheet. It is, however, cheaper to implement an emailer…
  3. Build mobile app for pod rank so users send links directly there? — Con is that this is likely more effort and more difficult for ppl w.o app installed to use.

Questions/Concerns

  • Authentication with AWS for S3 — is this difficult to do or can i get a token and use in requests?

--

--

Chuma S. Okoro

Sr. Software Engineer @ Bloomberg. I love talking about technology and business. Every article has my opinion backed by my experience, education, and research.