<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: benthecoder</title>
    <description>The latest articles on DEV Community by benthecoder (@benthecoder1).</description>
    <link>https://dev.to/benthecoder1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F163835%2F2af52d0f-8e87-420f-bbd7-732c7641c462.jpg</url>
      <title>DEV Community: benthecoder</title>
      <link>https://dev.to/benthecoder1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/benthecoder1"/>
    <language>en</language>
    <item>
      <title>Search for any comments in the Rick Roll music video</title>
      <dc:creator>benthecoder</dc:creator>
      <pubDate>Thu, 13 Jan 2022 16:20:31 +0000</pubDate>
      <link>https://dev.to/benthecoder1/search-comments-for-the-rick-roll-music-video-25no</link>
      <guid>https://dev.to/benthecoder1/search-comments-for-the-rick-roll-music-video-25no</guid>
      <description>&lt;h3&gt;
  
  
  Overview of My Submission
&lt;/h3&gt;

&lt;p&gt;The main idea of the app is a filter feature for YouTube video comments. I sometimes do &lt;code&gt;CMD + F&lt;/code&gt; and look for particular comments and I thought it would be fun to make an app that filters out only comments I'm interested in.&lt;/p&gt;

&lt;p&gt;In my app, any user can search for comments in the popular rick roll video – Rick Astley's Never Gonna Give You Up.  There was restrictions in getting all the comment data however, due to the API quota restrictions. There's also the fact that there are new comments to the video every single day (2,047,723 comments as of the day this article is published)&lt;/p&gt;

&lt;p&gt;Nonetheless, I was only able to get ~1 million comments, which I believe is more than enough for this little side project.&lt;/p&gt;

&lt;p&gt;To build the web app, I used streamlit because it's easy to use and is great out-of-the-box. It has well designed components and I don't have to worry about web dev. &lt;/p&gt;

&lt;p&gt;To build the search functionality, I used MongoDB Atlas Search, which was great and simple to set up. I loved the fact that I could test my search index before writing any code.&lt;/p&gt;

&lt;p&gt;You can try out the app in the link below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://share.streamlit.io/benthecoder/yt-comments-mongodb-search/main/yt_comments/app.py"&gt;https://share.streamlit.io/benthecoder/yt-comments-mongodb-search/main/yt_comments/app.py&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;Choose Your Own Adventure&lt;/p&gt;

&lt;h3&gt;
  
  
  Link to Code
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/benthecoder/yt-comments-mongodb-search"&gt;Github Repo&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;App result for the query - "rickrolled"&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yAbKSVMe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/16npsxau6a5nx8jhbx0z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yAbKSVMe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/16npsxau6a5nx8jhbx0z.png" alt="rickrolled query result" width="880" height="529"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;data frame output of result&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MQ-DLMBB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hrsxvbcdpy45281t2x90.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MQ-DLMBB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hrsxvbcdpy45281t2x90.png" alt="data frame output" width="880" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;App result for query - "music"&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UoI2emLu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n8ocrr4q54pnrmo94qh4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UoI2emLu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n8ocrr4q54pnrmo94qh4.png" alt="music query result" width="880" height="771"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>atlashackathon</category>
      <category>mongodb</category>
    </item>
  </channel>
</rss>
