<?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: Sam_tj</title>
    <description>The latest articles on DEV Community by Sam_tj (@samtj).</description>
    <link>https://dev.to/samtj</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%2F4049646%2Fb8ac1992-bb1b-498c-af91-c953da1a0536.png</url>
      <title>DEV Community: Sam_tj</title>
      <link>https://dev.to/samtj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samtj"/>
    <language>en</language>
    <item>
      <title>I built a screen time blocker that has no account, no server, and no idea who you are</title>
      <dc:creator>Sam_tj</dc:creator>
      <pubDate>Mon, 27 Jul 2026 14:06:16 +0000</pubDate>
      <link>https://dev.to/samtj/i-built-a-screen-time-blocker-that-has-no-account-no-server-and-no-idea-who-you-are-2oe0</link>
      <guid>https://dev.to/samtj/i-built-a-screen-time-blocker-that-has-no-account-no-server-and-no-idea-who-you-are-2oe0</guid>
      <description>&lt;p&gt;I was doomscrolling about three hours a day. Not "checking my phone a lot" — three hours, measured, on a screen time report I didn't want to look at.&lt;/p&gt;

&lt;p&gt;So I did what developers do: I went looking for a tool. What I found was a category with two flavors, and neither one was built for me.&lt;/p&gt;

&lt;h2&gt;
  
  
  Flavor 1: parental control wearing a productivity costume
&lt;/h2&gt;

&lt;p&gt;Most "app blocker" apps assume a supervisor and a supervised. A parent installs it. Someone else holds the password. Someone else gets the report.&lt;/p&gt;

&lt;p&gt;The reviews tell the story better than I can. This is a real 1-star review of one of the biggest apps in the category (58k+ ratings, 4.3★):&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"My parents installed this for me. I don't have a porn addiction. I cannot use the internet without fear of being monitored and needing to be 'accountable'."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That model works fine for kids. But I'm an adult who already knows the problem. I don't need a warden. I need a wall — and I want to be the one who builds it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Flavor 2: your habits, now on someone else's server
&lt;/h2&gt;

&lt;p&gt;The other half of the category wants an account, a subscription, and a copy of your usage data. You wanted to spend less time on your phone. Now a company you've never met has a timeline of every app you opened and when.&lt;/p&gt;

&lt;p&gt;For a category that markets itself on "digital wellbeing," that's a strange trade.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I actually wanted
&lt;/h2&gt;

&lt;p&gt;A short list:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Blocks the apps that eat my day&lt;/li&gt;
&lt;li&gt;Nobody gets a report on me — not a parent, not a partner, not a vendor&lt;/li&gt;
&lt;li&gt;No login&lt;/li&gt;
&lt;li&gt;Something that makes the habit stick past day three&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last one matters more than it sounds. Blocking alone doesn't work — you disable it in a weak moment and never turn it back on. What works is a number you don't want to reset.&lt;/p&gt;

&lt;h2&gt;
  
  
  The technical part: you don't need a backend
&lt;/h2&gt;

&lt;p&gt;Here's the thing that surprised me. On iOS, &lt;strong&gt;you can build this entire category with no server at all.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Apple's &lt;a href="https://developer.apple.com/documentation/screentime" rel="noopener noreferrer"&gt;Screen Time API&lt;/a&gt; (the &lt;code&gt;FamilyControls&lt;/code&gt; / &lt;code&gt;ManagedSettings&lt;/code&gt; / &lt;code&gt;DeviceActivity&lt;/code&gt; trio) does the blocking at the system level, on-device. The relevant pieces:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;FamilyControls&lt;/code&gt; — authorization, plus &lt;code&gt;FamilyActivityPicker&lt;/code&gt; for choosing apps&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ManagedSettings&lt;/code&gt; — applies the actual shields&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;DeviceActivity&lt;/code&gt; — schedules and monitors activity windows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Critically, the app tokens you get back from the picker are &lt;strong&gt;opaque&lt;/strong&gt;. You don't receive bundle IDs. You literally &lt;em&gt;cannot&lt;/em&gt; build a profile of what the user selected even if you wanted to — Apple hands you a token that only means something to the system.&lt;/p&gt;

&lt;p&gt;That constraint is usually framed as a limitation. I think it's the best part of the API. It makes "we don't track you" structurally true rather than a promise in a privacy policy. There's no server, so there's nothing to leak, subpoena, or sell.&lt;/p&gt;

&lt;p&gt;Streak state, session history, settings — all of it lives on-device. The entire app has zero network calls.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;SproutGuard&lt;/strong&gt; — &lt;a href="https://apps.apple.com/us/app/sproutguard-screen-time-detox/id6768664921" rel="noopener noreferrer"&gt;free on the App Store&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Block specific apps and sites&lt;/li&gt;
&lt;li&gt;Focus sessions&lt;/li&gt;
&lt;li&gt;Daily streaks (the part that actually makes it stick)&lt;/li&gt;
&lt;li&gt;Usage trends&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No account. No cloud. No surveillance. It's for blocking &lt;em&gt;yourself&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things I got wrong
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;"But you can just turn it off."&lt;/strong&gt; Yes. It's your phone. I went back and forth on adding hard-lock mechanisms and decided against every one of them — the moment an app fights its own user, it becomes the thing I was trying to avoid. Most doomscrolling isn't a decision anyway; it's a reflex. A wall interrupts the reflex long enough for a decision to happen. That's most of the value.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Being right isn't the same as being interesting.&lt;/strong&gt; "On-device, no account, privacy-first" is a correct positioning and a boring one. Nobody tells a friend about your app because it has no backend. The apps growing fastest in this category have a &lt;em&gt;hook&lt;/em&gt; — one makes you do push-ups to unlock Instagram. I built the principled version and skipped the shareable one. Still working on that.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you're building in this space
&lt;/h2&gt;

&lt;p&gt;The Screen Time API is genuinely pleasant and under-used. If you've been assuming an app like this needs a backend — it doesn't. You can ship a full screen-time product with zero infrastructure cost, zero data liability, and a privacy story that's true by construction.&lt;/p&gt;

&lt;p&gt;Happy to answer questions about the API in the comments.&lt;/p&gt;

</description>
      <category>ios</category>
      <category>swift</category>
      <category>privacy</category>
      <category>indiedev</category>
    </item>
  </channel>
</rss>
