<?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: Filza Rahman</title>
    <description>The latest articles on DEV Community by Filza Rahman (@filza_rahman).</description>
    <link>https://dev.to/filza_rahman</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4006739%2F71f963a1-a0bf-4fd0-bca5-d0452f53722f.png</url>
      <title>DEV Community: Filza Rahman</title>
      <link>https://dev.to/filza_rahman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/filza_rahman"/>
    <language>en</language>
    <item>
      <title>I built an AI tool that rewrites one idea for Twitter, LinkedIn, and Reddit for the #H0Hackathon</title>
      <dc:creator>Filza Rahman</dc:creator>
      <pubDate>Sun, 28 Jun 2026 16:42:38 +0000</pubDate>
      <link>https://dev.to/filza_rahman/i-built-an-ai-tool-that-rewrites-one-idea-for-twitter-linkedin-and-reddit-for-the-h0hackathon-1c60</link>
      <guid>https://dev.to/filza_rahman/i-built-an-ai-tool-that-rewrites-one-idea-for-twitter-linkedin-and-reddit-for-the-h0hackathon-1c60</guid>
      <description>&lt;p&gt;I created this piece for the purposes of entering the AWS x Vercel H0 Hackathon. #H0Hackathon&lt;/p&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;I built Cast Wide, a tool that takes one idea and rewrites it for different platforms like Twitter, LinkedIn, and Reddit.&lt;/p&gt;

&lt;p&gt;The important part is that it does not just paraphrase. It actually changes the structure, tone, and writing style so the content feels natural on each platform.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;LinkedIn output is more structured and professional&lt;/li&gt;
&lt;li&gt;Twitter output is short and direct&lt;/li&gt;
&lt;li&gt;Reddit output is more conversational and context-heavy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You enter one idea and get three different versions that are ready to post.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;The system is built with Next.js and deployed on Vercel.&lt;/p&gt;

&lt;p&gt;When a user submits an idea, the backend API does three things:&lt;/p&gt;

&lt;p&gt;First, it takes the input idea and creates three separate prompts, one for each platform.&lt;/p&gt;

&lt;p&gt;Second, it sends all three requests to Groq at the same time using Promise.all so nothing runs one after another.&lt;/p&gt;

&lt;p&gt;Third, it collects all responses and sends them back to the frontend in one response.&lt;/p&gt;

&lt;p&gt;This keeps the experience fast even though we are generating three full outputs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data storage
&lt;/h2&gt;

&lt;p&gt;Every generation is saved in AWS DynamoDB.&lt;/p&gt;

&lt;p&gt;Each record stores:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the original idea&lt;/li&gt;
&lt;li&gt;selected platforms&lt;/li&gt;
&lt;li&gt;generated outputs&lt;/li&gt;
&lt;li&gt;timestamp and user id&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The table uses userId as the partition key and createdAt as the sort key. This makes it easy to fetch a user’s history in order without complex queries.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;The hardest part was not the UI or the API calls. It was making sure each platform output actually felt different.&lt;/p&gt;

&lt;p&gt;At first, the model kept giving similar answers with small wording changes. The fix was fully separating prompts per platform and removing shared instructions that caused overlap.&lt;/p&gt;

&lt;p&gt;Once I did that, the outputs became much more distinct and useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built for
&lt;/h2&gt;

&lt;p&gt;AWS x Vercel H0 Hackathon&lt;br&gt;
This project was built solo.&lt;br&gt;
Try it out: &lt;a href="https://cast-wide.vercel.app/" rel="noopener noreferrer"&gt;https://cast-wide.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  H0Hackathon
&lt;/h1&gt;

</description>
      <category>aws</category>
      <category>dynamodb</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
