<?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: Yasser Mbarek</title>
    <description>The latest articles on DEV Community by Yasser Mbarek (@yasser_mbarek_7f4002ad099).</description>
    <link>https://dev.to/yasser_mbarek_7f4002ad099</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%2F3744782%2F2099f5ae-38fe-4ec4-989a-251d150347f2.jpg</url>
      <title>DEV Community: Yasser Mbarek</title>
      <link>https://dev.to/yasser_mbarek_7f4002ad099</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yasser_mbarek_7f4002ad099"/>
    <language>en</language>
    <item>
      <title>How I built a Moroccan Legal AI with $0 to beat a $200k Startup</title>
      <dc:creator>Yasser Mbarek</dc:creator>
      <pubDate>Sun, 01 Feb 2026 06:08:16 +0000</pubDate>
      <link>https://dev.to/yasser_mbarek_7f4002ad099/how-i-built-a-moroccan-legal-ai-with-0-to-beat-a-200k-startup-4ie</link>
      <guid>https://dev.to/yasser_mbarek_7f4002ad099/how-i-built-a-moroccan-legal-ai-with-0-to-beat-a-200k-startup-4ie</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxcry47y3su0d42b79uj9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxcry47y3su0d42b79uj9.png" alt=" " width="503" height="110"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj8awaiyovgo6qgte0thh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj8awaiyovgo6qgte0thh.png" alt=" " width="468" height="110"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Backstory I had this idea a while ago an AI that explains Moroccan Law to normal people. I started coding it in my bedroom, taking my time, trying to make it good.&lt;br&gt;
Then, the worst thing happened.&lt;br&gt;
While I was still working on mine, another startup launched the exact same concept. They were faster than me. A few months later, they were on national TV, raising $200k (approx. 2 million MAD) from investors.&lt;br&gt;
I Almost Quit I thought it was over. They had the money, the fame, and the "First Mover" advantage. I’m just a 19-year-old student with a $100 budget.&lt;br&gt;
But then I actually used their app.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It felt heavy and slow.&lt;/li&gt;
&lt;li&gt;The UI was cluttered.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The AI actual answers where harder to read than the original law scripture.&lt;br&gt;
I checked their Google PageSpeed score. It was 28.&lt;br&gt;
I realized that "First" doesn't mean "Best." They might have the funding, but that made them slow and corporate. I had nothing to lose, so I could focus purely on the code.&lt;br&gt;
I decided to finish my project anyway, but with one rule that it has to be faster than theirs. cause theirs take 2-5 min to answer but mine ~10 sec.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Frontend:&lt;/strong&gt; Next.js &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data:&lt;/strong&gt; I wrote a Python script to scrape the official government law texts myself (Official Bulletin &amp;amp; SGG).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Performance:&lt;/strong&gt; I stripped away all the bloat. No tracking scripts, no long logins.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I finally launched &lt;strong&gt;&lt;a href="https://9anonai.com" rel="noopener noreferrer"&gt;9anon AI&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I'm sharing this because I almost stopped working on my dream project because I saw someone else "win." But money can't buy a clean codebase.&lt;br&gt;
If you are a student and you see a big company doing what you want to do don't stop. You can probably build it faster than them.&lt;/p&gt;

&lt;p&gt;Check it out here: &lt;strong&gt;&lt;a href="https://9anonai.com" rel="noopener noreferrer"&gt;https://9anonai.com&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;(And yes, the data scraper is open source, check it out in &lt;a href="https://github.com/berserker-glitch/moroccan-law-data" rel="noopener noreferrer"&gt;https://github.com/berserker-glitch/moroccan-law-data&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>nextjs</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
