<?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: Sapan Mozammel</title>
    <description>The latest articles on DEV Community by Sapan Mozammel (@sapan_mozammel).</description>
    <link>https://dev.to/sapan_mozammel</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%2F4119636%2F376e482b-45a4-43de-8eb8-f7c0e718f954.png</url>
      <title>DEV Community: Sapan Mozammel</title>
      <link>https://dev.to/sapan_mozammel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sapan_mozammel"/>
    <language>en</language>
    <item>
      <title>How I parsed all 50 US state landlord codes and built an offline legal defense suite for renters</title>
      <dc:creator>Sapan Mozammel</dc:creator>
      <pubDate>Thu, 10 Sep 2026 16:07:30 +0000</pubDate>
      <link>https://dev.to/sapan_mozammel/how-i-parsed-all-50-us-state-landlord-codes-and-built-an-offline-legal-defense-suite-for-renters-31ob</link>
      <guid>https://dev.to/sapan_mozammel/how-i-parsed-all-50-us-state-landlord-codes-and-built-an-offline-legal-defense-suite-for-renters-31ob</guid>
      <description>&lt;p&gt;Hey everyone! 👋&lt;/p&gt;

&lt;p&gt;I'm a full-stack developer, and recently I got fed up seeing friends and fellow renters repeatedly get ripped off by landlords — especially when it comes to bogus security deposit deductions, ignored emergency repairs, and informal roommate disputes.&lt;/p&gt;

&lt;p&gt;Most tenants don't realize that US landlord-tenant law is heavily statutory: landlords have strict legal return deadlines (14 to 30 days depending on the state), and missing them often entitles the tenant to 2x or 3x statutory multiplier damages in Small Claims Court. But almost nobody can afford a $300/hr attorney retainer to recover an $1,800 deposit.&lt;/p&gt;

&lt;p&gt;Instead of building a bloated SaaS that requires user logins, databases, and monthly subscriptions, I decided to build &lt;strong&gt;&lt;a href="https://tenantdefense.gumroad.com" rel="noopener noreferrer"&gt;Tenant Defense&lt;/a&gt;&lt;/strong&gt; as a collection of lightweight, offline-first, client-side tools:&lt;/p&gt;

&lt;h3&gt;
  
  
  What I Built:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Interactive HTML Demand Letter Generators:&lt;/strong&gt; Standalone, zero-install browser apps that run locally on any device, ask structured legal dispute questions, auto-populate the exact state civil codes, and generate formal legal demand notices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;50-State Statutory Matrix:&lt;/strong&gt; A fast lookup table detailing exact return windows, itemization requirements, and statutory penalty multipliers across all 50 US states.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repair Clocks &amp;amp; Habitability Kits:&lt;/strong&gt; Formal notice generators that legally start the statutory countdown on landlord cure clocks under the Implied Warranty of Habitability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also released the &lt;strong&gt;&lt;a href="https://tenantdefense.gumroad.com/l/deadlines" rel="noopener noreferrer"&gt;50-State Statutory Deadline Cheat Sheet&lt;/a&gt;&lt;/strong&gt; completely free as an open community resource for anyone moving out.&lt;/p&gt;

&lt;h3&gt;
  
  
  Developer Takeaways:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Offline-First / Zero Dependencies:&lt;/strong&gt; For sensitive legal templates, users prefer not uploading their personal lease agreements or addresses to a remote cloud database. Building client-side single-file HTML/JS applications provided instant trust and privacy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Statutory Parsing:&lt;/strong&gt; Mapping legal statutes across 50 individual state legal codes was an intense research problem, but structuring the data into actionable decision trees makes complex legal disputes accessible to non-lawyers.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Would love feedback from other developers on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The UX of client-side HTML self-help generators vs full-blown web apps.&lt;/li&gt;
&lt;li&gt;What other self-help consumer protection areas could benefit from client-side automation?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check out the free cheat sheet &lt;a href="https://tenantdefense.gumroad.com/l/deadlines" rel="noopener noreferrer"&gt;here&lt;/a&gt; or explore the full suite at &lt;a href="https://tenantdefense.gumroad.com" rel="noopener noreferrer"&gt;tenantdefense.gumroad.com&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>career</category>
    </item>
  </channel>
</rss>
