<?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: Nirmal kumar</title>
    <description>The latest articles on DEV Community by Nirmal kumar (@nirmaljuluru).</description>
    <link>https://dev.to/nirmaljuluru</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%2F579659%2F8de424a4-8ae6-4034-85c7-02769116b9c4.png</url>
      <title>DEV Community: Nirmal kumar</title>
      <link>https://dev.to/nirmaljuluru</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nirmaljuluru"/>
    <language>en</language>
    <item>
      <title>MaiD: Hackable newsfeed reader with Postman.</title>
      <dc:creator>Nirmal kumar</dc:creator>
      <pubDate>Mon, 15 Feb 2021 13:48:12 +0000</pubDate>
      <link>https://dev.to/nirmaljuluru/maid-hackable-newsfeed-reader-with-postman-2o6i</link>
      <guid>https://dev.to/nirmaljuluru/maid-hackable-newsfeed-reader-with-postman-2o6i</guid>
      <description>&lt;p&gt;&lt;strong&gt;How much time do you spend reading stuff on the internet??&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If your answer is &lt;em&gt;'A lot'&lt;/em&gt; then MaiD is the solution you need.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MaiD?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;if you are thinking, what the fluff is MaiD? then let me simplify it for you. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;MaiD = Mail in your feeD&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Before you read the rest of the article, this is how a feed looks like: &lt;a href="https://pmg-feed-maid.udaykrishna.com/feedfiles/9f1dd4a8-a118-4d8a-91df-70e25f0b52f6.html"&gt;Sample feed&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Backstory&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It all started on new year. Like everyone else, I was working on new year goals. One of them was to limit my time on the internet. For a software developer whose life is to make others spend their time online, it sounds ironic. I know.&lt;/p&gt;

&lt;p&gt;Anyway, I listed down the apps/websites that I was spending my time on.&lt;/p&gt;

&lt;p&gt;These came out as the top ones:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Reddit&lt;/li&gt;
&lt;li&gt;Twitter&lt;/li&gt;
&lt;li&gt;Medium&lt;/li&gt;
&lt;li&gt;Hacker News&lt;/li&gt;
&lt;li&gt;Dev.to&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;On average I am spending 3 hrs a day reading stuff. Yes 3hours! and the worst part is I am reading stuff that i don't even need. I am getting distracted by the suggested posts and feed.&lt;/p&gt;

&lt;p&gt;I thought to myself, wouldn't it be cool, if there was an app that can email me daily all the top posts and articles from my favorite reading sources?&lt;/p&gt;

&lt;p&gt;As a curious hacker, I started searching for solutions that can help me build personalized feeds. I was surprised that there aren't any solutions for this problem. Sure there are many rss readers but they are also suggesting more articles/blogs to read 😅&lt;/p&gt;

&lt;p&gt;I discussed with some of my friends and many are facing the same issue as well. Some were even willing to pay for a solution. Hmm, looks like I am onto something.&lt;/p&gt;

&lt;p&gt;So i discussed with Uday and we thought of building a solution that will collect all the articles and posts and send you a custom feed&lt;/p&gt;

&lt;p&gt;Like a bunch of nerds, we started with the system design and architecture. During this time, I also came across a postman hackathon. Postman introduced workspaces(which are nothing but a collection of api calls.) And we realized we could just use workspaces instead of creating backend from scratch.&lt;/p&gt;

&lt;p&gt;Yep, you read that right. We built our entire backend on postman. That means no hassle of creating db tables, handling auth, saving user preferences etc.,&lt;/p&gt;

&lt;p&gt;Here is how we built:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;We added all the feed sources as requests in a collection. Requests can return either xml(rss feeds) or json.&lt;/li&gt;
&lt;li&gt;We also created util functions to parse the response and store it in a variable. These functions are run once a request is run successfully.&lt;/li&gt;
&lt;li&gt;We used postman scripts to handle the workflow(ie. To make requests in a specific order)&lt;/li&gt;
&lt;li&gt;We added space theme(for better reading experience) to the feed and uploaded it to aws S3.&lt;/li&gt;
&lt;li&gt;The feed link is shared in the email.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So if anyone wants to use maid, all they need to do is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to mailjet and request for api access(free btw).&lt;/li&gt;
&lt;li&gt;Fork the &lt;a href="https://www.postman.com/read-stack/workspace/maid-mail-in-your-feed/overview"&gt;postman workspace&lt;/a&gt; and use the mailjet credentials.&lt;/li&gt;
&lt;li&gt;If you want to add any custom sources,add it as a new request and the util functions to handle logic.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You can use the aws api key provided to upload to aws -- Details in &lt;a href="https://www.postman.com/read-stack/workspace/maid-mail-in-your-feed/overview"&gt;postman workspace&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;By default the theme is space, you can also customize it -- Details in postman workspace.&lt;/li&gt;
&lt;li&gt;If you prefer watching video on &lt;a href="https://www.youtube.com/watch?v=1EqbrCyg9Rs&amp;amp;feature=youtu.be"&gt;Youtube&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>javascript</category>
    </item>
  </channel>
</rss>
