<?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: 55tarkun</title>
    <description>The latest articles on DEV Community by 55tarkun (@tarkun55).</description>
    <link>https://dev.to/tarkun55</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%2F4058072%2Fe3164fda-8648-42df-a75d-886de0bdacc1.jpg</url>
      <title>DEV Community: 55tarkun</title>
      <link>https://dev.to/tarkun55</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tarkun55"/>
    <language>en</language>
    <item>
      <title>How I Built an Android “Don’t Touch” Mode That Survives Flutter Process Death</title>
      <dc:creator>55tarkun</dc:creator>
      <pubDate>Sun, 09 Aug 2026 11:10:58 +0000</pubDate>
      <link>https://dev.to/tarkun55/how-i-built-an-android-dont-touch-mode-that-survives-flutter-process-death-1mel</link>
      <guid>https://dev.to/tarkun55/how-i-built-an-android-dont-touch-mode-that-survives-flutter-process-death-1mel</guid>
      <description>&lt;p&gt;“I will not touch my phone for 30 minutes” often lasts until the next unconscious unlock.&lt;/p&gt;

&lt;p&gt;I built an Android-only “Don’t Touch Mode” for Yominder. The user chooses a duration. Every time they unlock the phone during that session, one of 64 character lines plays locally. It does not block access; it makes the action noticeable.&lt;/p&gt;

&lt;p&gt;The hard part was not detecting a tap. It was keeping the behavior alive when the Flutter process was gone, stopping at the correct time, and restoring state after a reboot.&lt;/p&gt;

&lt;h2&gt;
  
  
  Product behavior
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Starts now for 30 min, 1h, 1.5h, 2h, 3h, 6h, 12h, or 1 day&lt;/li&gt;
&lt;li&gt;Reacts on every unlock; cooldown is zero&lt;/li&gt;
&lt;li&gt;Randomly chooses from eight characters and eight lines each&lt;/li&gt;
&lt;li&gt;Stops automatically at an absolute end time&lt;/li&gt;
&lt;li&gt;Can be stopped immediately from its foreground notification&lt;/li&gt;
&lt;li&gt;Does &lt;strong&gt;not&lt;/strong&gt; lock the user out of the phone&lt;/li&gt;
&lt;li&gt;Android only&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The last constraint is deliberate. Emergency access matters more than making the focus mechanism impossible to bypass.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why &lt;code&gt;ACTION_USER_PRESENT&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;SCREEN_ON&lt;/code&gt; fires when the display turns on, including cases where the user only checks the time. The behavior I wanted was closer to “the user authenticated and entered the phone.” Android's &lt;code&gt;ACTION_USER_PRESENT&lt;/code&gt; is the better event for that definition.&lt;/p&gt;

&lt;p&gt;The foreground service dynamically registers the receiver:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="kd"&gt;val&lt;/span&gt; &lt;span class="py"&gt;newReceiver&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="kd"&gt;object&lt;/span&gt; &lt;span class="err"&gt;: &lt;/span&gt;&lt;span class="nc"&gt;BroadcastReceiver&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;override&lt;/span&gt; &lt;span class="k"&gt;fun&lt;/span&gt; &lt;span class="nf"&gt;onReceive&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Context&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;intent&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Intent&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;intent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;action&lt;/span&gt; &lt;span class="p"&gt;==&lt;/span&gt; &lt;span class="nc"&gt;Intent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ACTION_USER_PRESENT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nf"&gt;onUnlocked&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nf"&gt;registerReceiver&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;newReceiver&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nc"&gt;IntentFilter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Intent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ACTION_USER_PRESENT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I rejected an Accessibility Service approach. It would request a much stronger capability than the feature needs and add store-policy and user-trust costs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Split ownership at the process boundary
&lt;/h2&gt;

&lt;p&gt;Flutter owns configuration and audio preparation. Android owns time-critical and process-independent behavior.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Flutter settings --MethodChannel--&amp;gt; Android configuration
                                      |          |
                                      |          +--&amp;gt; AlarmManager stop alarm
                                      v
                               Foreground Service
                                      |
                                      v
                             ACTION_USER_PRESENT
                                      |
                                      v
Pre-generated local audio --&amp;gt; Kotlin MediaPlayer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Starting Flutter on unlock would add latency and fail when the process cannot be launched quickly. The Kotlin service plays a pre-generated local file directly with &lt;code&gt;MediaPlayer&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="n"&gt;mediaPlayer&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;MediaPlayer&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;apply&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;setDataSource&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nf"&gt;setOnCompletionListener&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;player&lt;/span&gt; &lt;span class="p"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;player&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;release&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="nf"&gt;prepare&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="nf"&gt;start&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No network call occurs at unlock time. That makes the interaction fast and independent of connectivity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not a Dart timer?
&lt;/h2&gt;

&lt;p&gt;A Dart timer is not a durable scheduler. The app can be killed, the isolate can stop, and the device can reboot.&lt;/p&gt;

&lt;p&gt;The app stores an absolute end timestamp and schedules a one-shot Android alarm:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="n"&gt;alarmManager&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setExactAndAllowWhileIdle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="nc"&gt;AlarmManager&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;RTC_WAKEUP&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;endAtMillis&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;stopPendingIntent&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If exact-alarm permission is unavailable, the implementation catches the security failure and falls back to &lt;code&gt;setAndAllowWhileIdle&lt;/code&gt;. The tradeoff is a potentially later stop instead of a crash.&lt;/p&gt;

&lt;h2&gt;
  
  
  Restore from facts, not transient state
&lt;/h2&gt;

&lt;p&gt;The saved facts are: enabled, absolute end time, and local audio paths. On boot, app replacement, time change, timezone change, or exact-alarm permission change, the receiver reevaluates those facts.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Disabled --select duration--&amp;gt; Active
Active   --unlock-----------&amp;gt; Active (play a random line)
Active   --end alarm--------&amp;gt; Disabled
Active   --notification-----&amp;gt; Disabled
Active   --reboot, time left&amp;gt; Active
Active   --restore, expired-&amp;gt; Disabled
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The session is one-shot rather than a repeating daily schedule. That reduces ambiguous state and makes “now for 30 minutes” easy to recover.&lt;/p&gt;

&lt;h2&gt;
  
  
  The foreground notification is part of the UX
&lt;/h2&gt;

&lt;p&gt;Android requires a visible notification for the service. Instead of treating it as noise, the app uses it to show that the mode is active and provide an escape hatch.&lt;/p&gt;

&lt;p&gt;This matters because the mode is intentionally annoying. A user who enabled it by mistake must be able to stop it without hunting through settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  Random audio, no character setting
&lt;/h2&gt;

&lt;p&gt;The app has eight characters with eight warning lines each. It picks a random file on every unlock. There is no “warning character” preference.&lt;/p&gt;

&lt;p&gt;That creates variety and avoids another settings concept. The tradeoff is that users cannot exclude a voice they dislike. I chose lower configuration cost for the first release and will measure feedback before adding filtering.&lt;/p&gt;

&lt;h2&gt;
  
  
  Known limitations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;iOS is not supported.&lt;/li&gt;
&lt;li&gt;The mode nudges; it does not enforce a block.&lt;/li&gt;
&lt;li&gt;The foreground notification remains visible.&lt;/li&gt;
&lt;li&gt;Vendor battery optimizations may affect behavior.&lt;/li&gt;
&lt;li&gt;Without exact-alarm permission, automatic stopping may be delayed.&lt;/li&gt;
&lt;li&gt;Preparing 64 local files has storage and setup cost.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Yominder combines spoken encouragement, authorized custom voice IDs, and this Android focus nudge.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://yominder.app/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=dont_touch_architecture" rel="noopener noreferrer"&gt;https://yominder.app/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=dont_touch_architecture&lt;/a&gt;&lt;/p&gt;

</description>
      <category>android</category>
      <category>flutter</category>
      <category>mobile</category>
      <category>software</category>
    </item>
    <item>
      <title>Text Reminders Are Easy to Ignore: How I Built a Voice AI Sidekick App with Flutter</title>
      <dc:creator>55tarkun</dc:creator>
      <pubDate>Thu, 06 Aug 2026 22:35:58 +0000</pubDate>
      <link>https://dev.to/tarkun55/text-reminders-are-easy-to-ignore-how-i-built-a-voice-ai-sidekick-app-with-flutter-5bbh</link>
      <guid>https://dev.to/tarkun55/text-reminders-are-easy-to-ignore-how-i-built-a-voice-ai-sidekick-app-with-flutter-5bbh</guid>
      <description>&lt;p&gt;Have you ever set a reminder to take a break or hydrate, only to swipe away the notification without even reading it?&lt;/p&gt;

&lt;p&gt;This is &lt;strong&gt;Notification Blindness&lt;/strong&gt; — when our brains become so desensitized to banners, badges, and text popups that we automatically dismiss them.&lt;/p&gt;

&lt;p&gt;As a remote worker and developer, I kept falling into this trap every day. To fix it for myself and others, I built &lt;strong&gt;&lt;a href="https://yominder.app/l10n/en/" rel="noopener noreferrer"&gt;Yominder&lt;/a&gt;&lt;/strong&gt;, a Flutter-powered mobile app that replaces boring text notifications with lifelike voice AI personas that actually speak up.&lt;/p&gt;




&lt;h2&gt;
  
  
  💡 The Concept: Voice-First Routine Reminders
&lt;/h2&gt;

&lt;p&gt;Instead of a generic chime and a text line, Yominder gives you distinct AI voice companions — from a supportive brother to a tsundere secretary or a fitness coach — that remind you throughout your remote work day:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧘 &lt;strong&gt;Eye Strain / Posture&lt;/strong&gt;: &lt;em&gt;"Look away from the screen and gaze into the distance for 20 seconds."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;⏱️ &lt;strong&gt;Pomodoro Technique&lt;/strong&gt;: &lt;em&gt;"Start Pomodoro. Focus for 25 minutes."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;💧 &lt;strong&gt;Hydration&lt;/strong&gt;: &lt;em&gt;"Time to rehydrate!"&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;🏋️ &lt;strong&gt;Workout &amp;amp; Stretch&lt;/strong&gt;: &lt;em&gt;"It's time to workout! Muscle!"&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ How It's Built with Flutter
&lt;/h2&gt;

&lt;p&gt;Building a voice-first reminder app brought a few interesting engineering challenges:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Low Power Consumption&lt;/strong&gt;: Running background audio tasks can easily drain phone battery if done wrong. I integrated lean OS background scheduling APIs (AlarmManager / Local Notifications) to trigger audio playback without keeping a heavy background process alive.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-Platform Delivery&lt;/strong&gt;: Built completely with Flutter to deliver identical high-quality UI and audio experiences on both iOS and Android from a single codebase.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lifelike Voice Synthesis&lt;/strong&gt;: Integrated AI voice generation to create distinct, natural-sounding voice personas rather than robotic text-to-speech.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🚀 Check It Out
&lt;/h2&gt;

&lt;p&gt;Yominder is available for free on both iOS and Android:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌐 &lt;strong&gt;Website&lt;/strong&gt;: &lt;a href="https://yominder.app/l10n/en/" rel="noopener noreferrer"&gt;https://yominder.app/l10n/en/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📱 &lt;strong&gt;App Store&lt;/strong&gt;: &lt;a href="https://apps.apple.com/jp/app/yominder-%E5%A3%B0%E3%81%AE%E3%83%AA%E3%83%9E%E3%82%A4%E3%83%B3%E3%83%80%E3%83%BC/id6767196206" rel="noopener noreferrer"&gt;Download on iOS&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🤖 &lt;strong&gt;Google Play&lt;/strong&gt;: &lt;a href="https://play.google.com/store/apps/details?id=app.yominder.yominder" rel="noopener noreferrer"&gt;Get it on Android&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'd love to hear your thoughts! What tools or habits do you use to overcome notification fatigue while working remotely?&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>mobile</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How I Built a Flat-Rate Reverse Geocoding API for Japan to Escape Google Maps Bill Shock</title>
      <dc:creator>55tarkun</dc:creator>
      <pubDate>Sat, 01 Aug 2026 14:09:44 +0000</pubDate>
      <link>https://dev.to/tarkun55/how-i-built-a-flat-rate-reverse-geocoding-api-for-japan-to-escape-google-maps-bill-shock-1hol</link>
      <guid>https://dev.to/tarkun55/how-i-built-a-flat-rate-reverse-geocoding-api-for-japan-to-escape-google-maps-bill-shock-1hol</guid>
      <description>&lt;p&gt;If you've ever built a global app or travel tool operating in Japan, you know the struggle:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Google Maps Geocoding API pricing&lt;/strong&gt;: At $5.00 per 1,000 requests, unexpected traffic spikes can lead to terrifying monthly bills.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Messy Japanese address data&lt;/strong&gt;: Official Japanese government (MLIT) CSVs and Japan Post files are difficult to normalize and query without self-hosting a spatial database like PostGIS.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To solve this for indie hackers and global dev teams, I built &lt;strong&gt;&lt;a href="https://api.reversegeojp.com/en?utm_source=devto" rel="noopener noreferrer"&gt;ReverseGeoJP&lt;/a&gt;&lt;/strong&gt; — a fast, flat-rate reverse geocoding API for Japan address data.&lt;/p&gt;




&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;Send a standard HTTP GET request with latitude and longitude:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Authorization: Bearer YOUR_API_KEY"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="s2"&gt;"https://api.reversegeojp.com/reverse?lat=35.6595&amp;amp;lon=139.6987"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Receive Japanese prefecture, city, town, postal code, and distance to town centroid in clean JSON:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"prefecture"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"東京都"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;           &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Prefecture&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;(e.g.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Tokyo)&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"city"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"渋谷区"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;               &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;City&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Ward&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;(e.g.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Shibuya-ku)&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"town"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"道玄坂二丁目"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;          &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Town&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;District&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;(e.g.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Dogenzaka&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="err"&gt;-chome)&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"zipcode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"1500043"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="err"&gt;-digit&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;postal&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;code&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"zipcode_candidates"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"1500043"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"distance_m"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;36&lt;/span&gt;&lt;span class="w"&gt;                  &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Distance&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;town&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;centroid&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;(m)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  How it's built
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cloudflare Workers &amp;amp; D1&lt;/strong&gt;: Powered by SQLite at the edge, offering fast response times globally without server maintenance overhead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Official Data&lt;/strong&gt;: Sourced from official Ministry of Land, Infrastructure, Transport and Tourism (MLIT) location data and Japan Post records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flat-Rate Plans&lt;/strong&gt;: Free tier (1,000 req/mo), then flat monthly subscriptions ($15/mo for 30k req, $39/mo for 200k req) with &lt;strong&gt;zero per-request surge charges&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;You can test the API and sign up for a free API key at &lt;a href="https://api.reversegeojp.com/en?utm_source=devto" rel="noopener noreferrer"&gt;https://api.reversegeojp.com/en&lt;/a&gt; (no credit card required).&lt;/p&gt;

&lt;p&gt;I'd love to hear your feedback on the schema, performance, or features you'd like to see!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>api</category>
      <category>serverless</category>
    </item>
  </channel>
</rss>
