<?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: Usama Ejaz</title>
    <description>The latest articles on DEV Community by Usama Ejaz (@usamaejaz).</description>
    <link>https://dev.to/usamaejaz</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%2F152224%2F70cc3870-b493-4156-bd10-fb81a929ba5f.jpg</url>
      <title>DEV Community: Usama Ejaz</title>
      <link>https://dev.to/usamaejaz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/usamaejaz"/>
    <language>en</language>
    <item>
      <title>I built a blogging platform on Cloudflare Workers. Here's how it went.</title>
      <dc:creator>Usama Ejaz</dc:creator>
      <pubDate>Sat, 29 Nov 2025 13:39:02 +0000</pubDate>
      <link>https://dev.to/usamaejaz/i-built-a-blogging-platform-on-cloudflare-workers-heres-how-it-went-2732</link>
      <guid>https://dev.to/usamaejaz/i-built-a-blogging-platform-on-cloudflare-workers-heres-how-it-went-2732</guid>
      <description>&lt;p&gt;I wanted to start a personal blog.&lt;/p&gt;

&lt;p&gt;WordPress felt like overkill. Ghost Cloud also felt too much, and I need a server for self-hosting. Medium doesn't let you own your content. Substack is for newsletters, not blogs. &lt;/p&gt;

&lt;p&gt;In the past, I had used static site generators. Particularly, I had a Jekyll blog. I just didn't want to go through the hassle of managing files every time I wanted to write a new post. &lt;/p&gt;

&lt;p&gt;So I built my own.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;p&gt;JustBlogged runs entirely on Cloudflare Workers. No traditional servers. &lt;/p&gt;

&lt;p&gt;Here's why:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Edge deployment = content served from 300+ locations worldwide&lt;/li&gt;
&lt;li&gt;Cold starts under 5ms&lt;/li&gt;
&lt;li&gt;No scaling headaches&lt;/li&gt;
&lt;li&gt;Cost is almost nothing at low traffic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For storage, I'm using Cloudflare KV for metadata and caching and R2 for assets. &lt;/p&gt;

&lt;p&gt;Supporting custom domains and SSL was done by setting up one reverse proxy server, as Cloudflare for SaaS custom domains felt limited (you have to be an enterprise to use Apex domains).&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually took time
&lt;/h2&gt;

&lt;p&gt;The blogging part was easy. The hard parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Custom domains — DNS propagation, SSL certificate provisioning, handling edge cases where someone's domain has weird CNAME setups&lt;/li&gt;
&lt;li&gt;Image optimization — Auto-resizing, WebP conversion, lazy loading. Users upload 5MB images and expect fast pages&lt;/li&gt;
&lt;li&gt;Theme system — Making themes customizable without giving users enough rope to hang themselves&lt;/li&gt;
&lt;li&gt;Ensuring a built-in caching (and purge) mechanism so each page load is always less than 500ms.&lt;/li&gt;
&lt;li&gt;Rich-text editor can take time if you don't like the default setups&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Average page load: under 500ms mostly for cold hits and around 300ms for hot hits&lt;/li&gt;
&lt;li&gt;Setup time for new blog: ~2 minutes - just sign up, and start writing&lt;/li&gt;
&lt;li&gt;Infra cost per blog: basically zero until you hit serious traffic&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;JustBlogged is live at &lt;a href="https://justblogged.com" rel="noopener noreferrer"&gt;justblogged.com&lt;/a&gt;. Free tier is actually free — no trial, no credit card.&lt;/p&gt;

&lt;p&gt;If you're a dev who wants a simple blog without the WordPress tax, give it a shot. Would love feedback on what's missing.&lt;/p&gt;

</description>
      <category>blogging</category>
      <category>wordpress</category>
      <category>ghost</category>
      <category>jekyll</category>
    </item>
    <item>
      <title>How To Auto Post From RSS Feeds To Your Social Media</title>
      <dc:creator>Usama Ejaz</dc:creator>
      <pubDate>Sun, 12 Jan 2020 12:31:00 +0000</pubDate>
      <link>https://dev.to/usamaejaz/how-to-auto-post-from-rss-feeds-to-your-social-media-35ip</link>
      <guid>https://dev.to/usamaejaz/how-to-auto-post-from-rss-feeds-to-your-social-media-35ip</guid>
      <description>&lt;p&gt;RSS (Rich Site Summary) is a format for delivering regularly changing web content. It allows users and applications to access updates to a website in a standardized, computer-readable format.&lt;/p&gt;

&lt;p&gt;Almost all blogs offer their updates in the form of an RSS feed so their users can subscribe to the RSS feed and be updated whenever a new page or post is published. There are a lot of RSS-reader applications that also do the same: they inform the user about the website updates by subscribing to the RSS feeds.&lt;/p&gt;

&lt;p&gt;Posting updates to your social media about new website content is also very important. The old school way to do this was manually posting the link to the new page, content, or blog post to your social media. It becomes extremely hard and time-consuming when you want to share content to your social media from multiple RSS feeds. The RSS feeds may or may not belong to your own blogs or websites.&lt;/p&gt;

&lt;p&gt;Here is how you can set up SocialBu to &lt;strong&gt;auto post from RSS&lt;/strong&gt; feeds to your social media accounts. We will use &lt;a href="https://socialbu.com/automate"&gt;SocialBu Automation&lt;/a&gt; to set this up. This is useful if you want to auto-post from RSS to social media networks like Facebook, Twitter, LinkedIn, and Instagram.&lt;/p&gt;

&lt;p&gt;First of all, create a new Automation from &lt;a href="https://socialbu.com/app/automations"&gt;here&lt;/a&gt;. You can name it however you like.&lt;/p&gt;

&lt;p&gt;Select the event "RSS feed has new item" as shown in the image below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3iTxA5VW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/uP7IKeQ9nwcDPpaSGnYxBzzfV1pgfS2wMAqrdSpX.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3iTxA5VW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/uP7IKeQ9nwcDPpaSGnYxBzzfV1pgfS2wMAqrdSpX.jpeg" alt="Event: RSS feed has a new item"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Event: RSS feed has a new item&lt;/p&gt;

&lt;p&gt;After selecting the event, you will see its inputs. Enter the RSS feed URL. We will use &lt;em&gt;&lt;a href="https://www.socialmediaexaminer.com/feed/"&gt;https://www.socialmediaexaminer.com/feed/&lt;/a&gt;&lt;/em&gt; as an example.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JDTwKf91--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/zp8mUMcw4XPLYoLa7A1wPJtbJFdvXkZHhrzFalUC.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JDTwKf91--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/zp8mUMcw4XPLYoLa7A1wPJtbJFdvXkZHhrzFalUC.jpeg" alt="Entering the RSS feed URL"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Entering the RSS feed URL&lt;/p&gt;

&lt;p&gt;Now, you need to specify the actions. For publishing posts, you have two options. We will use the first one in this example.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Publish a Post (publishes the post right away)&lt;/li&gt;
&lt;li&gt; Add Post to Queue (saves the post to a custom &lt;a href="https://socialbu.com/app/publish/queues"&gt;Queue&lt;/a&gt; which you can create)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8f9JYFqI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/pRGvLVBclZqER3BlQhBUZjn6vI8h2m00VVCRgX2M.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8f9JYFqI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/pRGvLVBclZqER3BlQhBUZjn6vI8h2m00VVCRgX2M.jpeg" alt="Multiple actions are available"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Multiple actions are available&lt;/p&gt;

&lt;p&gt;You will also need to select the social media accounts the post should be published to.&lt;/p&gt;

&lt;p&gt;The post contents need to be set and you can add any text you want to be published. To use the RSS content in the post text, we can use dynamic data placeholders. These placeholder tags will be replaced with actual content from RSS feed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Vqqd2jy8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/f8wlyyDldjZ6SJQpDuKXR4EK59HkgLD4prXsP5TJ.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Vqqd2jy8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/f8wlyyDldjZ6SJQpDuKXR4EK59HkgLD4prXsP5TJ.jpeg" alt="Data Placeholders"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Data Placeholders&lt;/p&gt;

&lt;p&gt;To use the title and link in the post text, we can use the data placeholders &lt;em&gt;&lt;code&gt;{{ title }}&lt;/code&gt;&lt;/em&gt; and &lt;em&gt;&lt;code&gt;{{ link }}&lt;/code&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;The post content looks like the following in our example.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;{{ title }} {{ link }}&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dirMeI2I--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/ukmWLlMicxEuRqZeWtwFENj9orYUChxbcnJTx3WP.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dirMeI2I--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://socialbu.com/storage/blog/images/ukmWLlMicxEuRqZeWtwFENj9orYUChxbcnJTx3WP.jpeg" alt="Post Content (for RSS feed item)"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Post Content (for RSS feed item)&lt;/p&gt;

&lt;p&gt;That's all. Save this Automation and SocialBu will post content from the RSS feed whenever there is a new update/blog post/item.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here are some things to remember while setting this up.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  For posting content efficiently, use a custom Queue and save the post to Queue instead of publishing it right away.&lt;/li&gt;
&lt;li&gt;  For control over what gets published, you can also set conditions for the actions here. This is useful if you want to only post selective updates from the RSS feed (such as from a specific category, a specific author and so on).&lt;/li&gt;
&lt;li&gt;  It's also possible to publish image posts if you select "Attach media if available". This can also work for Instagram. The image is extracted from the RSS item or the link.&lt;/li&gt;
&lt;/ul&gt;




</description>
      <category>automation</category>
      <category>twitter</category>
      <category>facebook</category>
      <category>socialmedia</category>
    </item>
    <item>
      <title>Monitoring Reddit Communities For Your Keywords</title>
      <dc:creator>Usama Ejaz</dc:creator>
      <pubDate>Sat, 04 Jan 2020 21:47:09 +0000</pubDate>
      <link>https://dev.to/usamaejaz/monitoring-reddit-communities-for-your-keywords-8ic</link>
      <guid>https://dev.to/usamaejaz/monitoring-reddit-communities-for-your-keywords-8ic</guid>
      <description>&lt;p&gt;We really like Reddit - you have a community for almost every interest. It is very helpful to connect with people of similar interests. You ask questions, get answers, memes, puns, karma, and a lot. It is also possible to get lost in Reddit sometimes (they even have a subreddit for it: &lt;a href="https://www.reddit.com/r/lostredditors/"&gt;r/lostredditors&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;When you are participating in multiple communities and want to be aware of new posts that are coming, it might become hard and time-consuming to do that. At best, you will be able to see the posts which Reddit decides to show you when you log in to Reddit but that means you are very likely to miss a lot of posts.&lt;/p&gt;

&lt;p&gt;Suppose you want to monitor a subreddit for mention of your name or your company, what will you do? Keep checking every new post? What if there are a good number of subreddits you want to track? It will soon become unmanageable and a lot of your time will fade away doing that. However, there is a solution.&lt;/p&gt;

&lt;p&gt;The solution is that you get notified about every new post which might be of any interest to you (mentions your name or a keyword you are interested in). While there are some dedicated tools for this job &lt;em&gt;(you can probably see some by searching for reddit keyword alerter, reddit keyword monitoring or similar queries)&lt;/em&gt;, you can monitor subreddits for your keywords and alert yourself if a post is published containing the keywords that you are interested in. Originally, the functionality offered by SocialBu was never built keeping this scenario in mind but it can work perfectly.&lt;/p&gt;

&lt;p&gt;You just have to create a new &lt;a href="https://socialbu.com/automate"&gt;SocialBu Automation&lt;/a&gt;, select the "RSS feed has new item" event and use any subreddit's RSS feed as shown in the image below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZrQ3dznh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/4867rfkj6tibeku1y1c1.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZrQ3dznh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/4867rfkj6tibeku1y1c1.jpeg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will need to use the RSS feed URL of a subreddit for this to work. Every subreddit has an RSS feed on reddit (more about it here). Finding the RSS feed URL is easy. For example, RSS feed URL for &lt;em&gt;r/GrowthHacking&lt;/em&gt; will be: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.reddit.com/r/GrowthHacking/.rss"&gt;https://www.reddit.com/r/GrowthHacking/.rss&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, you need to add actions to perform when there is a new item (or post) on this RSS feed (or subreddit). You can simply notify yourself or someone via email.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IIoOP1Wa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/th9r9ptubo78nyriv80f.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IIoOP1Wa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/th9r9ptubo78nyriv80f.jpeg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now comes the good part; you don't want to get alerted for every new post in that subreddit. No issues, we can just add some "conditions" to make sure we only get alerted when a post containing our keywords appear. You can filter based on multiple keywords (or conditions).&lt;/p&gt;

&lt;p&gt;Here is how it looks in my case (image below).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--itU05FAM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/x8kut7o0oziy3nscu3pt.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--itU05FAM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/x8kut7o0oziy3nscu3pt.jpeg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this case, it will only send me an email if a new post contains "organic" or "book" in the post title. I have also used data placeholders in the email body which correspond to the new post's title and link.&lt;/p&gt;




&lt;p&gt;Now you know how easy it is to monitor your favorite subreddits for posts that you want to participate in. Forget about missing reddit posts now.&lt;/p&gt;

</description>
      <category>reddit</category>
      <category>automation</category>
      <category>socialmedia</category>
    </item>
  </channel>
</rss>
