<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Padang Perwira Yudha on Medium]]></title>
        <description><![CDATA[Stories by Padang Perwira Yudha on Medium]]></description>
        <link>https://medium.com/@padangperwirayudha?source=rss-903e7386fc3a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0mTDLJeDxaGbPUh1wlPctg.jpeg</url>
            <title>Stories by Padang Perwira Yudha on Medium</title>
            <link>https://medium.com/@padangperwirayudha?source=rss-903e7386fc3a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:07:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@padangperwirayudha/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bikin Platform Tipping Streamer 0% Komisi Sendiri: Memanfaatkan QRIS Statis & Android Listener…]]></title>
            <link>https://medium.com/@padangperwirayudha/bikin-platform-tipping-streamer-0-komisi-sendiri-memanfaatkan-qris-statis-android-listener-b189235a8768?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b189235a8768</guid>
            <category><![CDATA[obs-studio]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Sun, 15 Nov 2026 16:39:55 GMT</pubDate>
            <atom:updated>2026-11-15T16:39:55.911Z</atom:updated>
            <content:encoded><![CDATA[<h3>Bikin Platform Tipping Streamer 0% Komisi Sendiri: Memanfaatkan QRIS Statis &amp; Android Listener Menjelang Rilis GTA 6</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfEGWMzfuzgw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DfEGWMzfuzgw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FfEGWMzfuzgw%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/637974bec007dc460c0c9d65ad9d6049/href">https://medium.com/media/637974bec007dc460c0c9d65ad9d6049/href</a></iframe><p>Pada artikel saya sebelumnya, saya sempat membedah rancangan sistem donasi <em>live streaming</em> berbasis <em>serverless</em> dengan memanfaatkan Midtrans sebagai <em>payment gateway</em> utama. Di atas kertas, arsitektur tersebut tampak ideal: mudah diintegrasikan, minim biaya server, dan otomatis. Namun, dalam implementasi nyata di lapangan, saya menghadapi kendala regulasi yang cukup umum dialami kreator independen. Ketika pengajuan akun didaftarkan secara transparan untuk model bisnis <em>tipping</em> atau dukungan donasi kreator, pihak <em>compliance</em> menolak pengajuan tersebut. Alasannya bersifat prosedural: transaksi <em>tipping</em> tanpa wujud barang fisik atau <em>invoice</em> komersial standar sering kali dikategorikan sebagai <em>high-risk</em> oleh penyedia gerbang pembayaran.</p><p>Di sisi lain, peluncuran <strong>GTA 6</strong> yang sudah di depan mata menjadi momentum krusial yang sayang jika dilewatkan. Sebagai seorang <em>engineer</em> yang juga gemar bermain game, saya melihat perilisan game besar tersebut sebagai ajang uji coba lapangan (<em>stress test</em>) yang tepat untuk menguji keandalan infrastruktur buatan sendiri di tengah lonjakan trafik penonton. Saya tidak ingin momentum siaran langsung tersebut terganggu oleh potongan komisi platform pihak ketiga sebesar 5%–6% maupun risiko tertahannya dana akibat kebijakan birokrasi perbankan.</p><p>Oleh karena itu, saya merombak total arsitektur <strong>Twodigit.io</strong> menjadi sistem yang benar-benar independen: <strong>murni 0% komisi, tanpa Midtrans, tanpa QRIS perantara</strong>, dan dana dari penonton masuk langsung ke rekening pribadi secara <em>real-time</em>.</p><p>Kode sumber lengkap proyek ini tersedia di repositori berikut:</p><p>🔗 <a href="https://github.com/Pcpkomputer/twodigit.io"><strong>GitHub — Pcpkomputer/twodigit.io</strong></a></p><h3>Mengapa Arsitektur Tanpa Payment Gateway Jauh Lebih Efisien?</h3><p>Menggantikan <em>payment gateway</em> komersial bukan berarti kembali ke pencatatan manual. Dengan menggabungkan sistem <strong>kode unik otomatis</strong> dan <strong>Android Notification Listener</strong>, kita dapat mempertahankan otomatisasi <em>real-time</em> sekaligus memangkas biaya transaksi hingga 0%:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*mib342h0_PIdKpoo06SHMA.png" /></figure><p><strong>Tahap 1: Frontend Checkout — Penonton Memasukkan Nominal</strong> Penonton membuka halaman donasi, menuliskan nama, pesan, dan nominal dasar (misal: Rp100.000).</p><p><strong>Tahap 2: Vercel Serverless API — Alokasi Kode Unik Anti-Kolisi</strong> Server menghasilkan <em>unique code</em> acak (1–999), menjumlahkannya menjadi nominal unik (misal: Rp100.412), lalu menyimpannya ke tabel qris_transactions berstatus pending.</p><p><strong>Tahap 3: Static QRIS — Transfer Langsung (Peer-to-Peer)</strong> Penonton memindai QRIS statis (buat via GoPay Merchant, DANA Merchant, ShopeePay Merchant, dsb.) dan mentransfer uang pas sebesar Rp100.412 ke akun pribadi Anda tanpa potongan.</p><p><strong>Tahap 4: Android Device — Deteksi Mutasi / Notifikasi</strong> HP Android lokal yang terpasang aplikasi <em>Notification Listener</em> menangkap notifikasi masuk dari aplikasi merchant atau m-banking.</p><p><strong>Tahap 5: Vercel Webhook API — Validasi &amp; Pencocokan Transaksi</strong> Aplikasi Android menembakkan HTTP POST ke webhook, lalu server mencocokkan nominal masuk dengan data pending di Supabase dan mengubah statusnya menjadi settled.</p><p><strong>Tahap 6: Pusher WebSocket — Real-Time Broadcast</strong> Server memicu <em>event</em> Pusher untuk mengirimkan data donatur secara instan ke browser OBS.</p><h3>🛠️ Ringkasan Tech Stack &amp; Arsitektur MVP</h3><p>Sistem ini dirancang dengan arsitektur <em>event-driven</em> yang sangat ringan dan beroperasi dengan biaya server <strong>Rp0/bulan</strong> (memanfaatkan <em>Free Tier</em>):</p><ul><li><strong>Metode Pembayaran Utama (0% Biaya)</strong>: Static QRIS (dibuat via GoPay Merchant, DANA Merchant, ShopeePay Merchant, dsb.) dengan <em>Android Notification Listener</em> &amp; verifikasi Kode Unik 3 digit anti-kolisi (rentang 1–999).</li><li><strong>Metode Pembayaran Cadangan</strong>: Midtrans Snap API (Virtual Account, Kartu Kredit, E-Wallets sebagai <em>fallback</em> opsional).</li><li><strong>Backend</strong>: Next.js yang dieksekusi di atas <strong>Vercel Serverless Functions</strong>.</li><li><strong>Database</strong>: Supabase PostgreSQL dengan konfigurasi <em>Row Level Security</em> (RLS).</li><li><strong>Real-time Layer</strong>: Pusher Channels untuk pengiriman <em>alert</em> instan ke OBS di bawah 1 detik.</li><li><strong>Frontend Overlay</strong>: Next.js, Tailwind CSS, Edge TTS, beserta dukungan pemutar video YouTube (Media Share).</li></ul><h3>Langkah 1: Kloning Repositori &amp; Instalasi Lokal</h3><p>Buka terminal di komputer Anda, lalu jalankan perintah berikut untuk mengunduh kode sumber dan memasang seluruh dependensinya:</p><p>Bash :</p><pre># 1. Clone repositori dari GitHub<br>git clone https://github.com/Pcpkomputer/twodigit.io.git</pre><pre># 2. Masuk ke direktori proyek<br>cd twodigit.io</pre><pre># 3. Instal dependensi yang diperlukan<br>npm install</pre><pre># 4. Menjalankan server development lokal<br>npm run dev</pre><h3>Langkah 2: Setup Database (Supabase)</h3><p>Twodigit.io menggunakan Supabase PostgreSQL untuk persistensi data dan sinkronisasi <em>real-time</em>. Masuk ke dashboard Supabase Anda, buka menu <strong>SQL Editor</strong>, lalu jalankan kedua skrip migrasi berikut secara berurutan:</p><h3>1. Tabel Donasi (001_create_donations_table.sql)</h3><p>Tabel ini bertugas menyimpan riwayat donasi yang sukses untuk melacak milestone target dan leaderboard top donatur:</p><p>SQL :</p><pre>CREATE TABLE IF NOT EXISTS public.donations (<br>    id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br>    order_id TEXT UNIQUE NOT NULL,<br>    amount NUMERIC NOT NULL,<br>    donor_name TEXT DEFAULT &#39;Anonim&#39;,<br>    message TEXT DEFAULT &#39;&#39;,<br>    media_url TEXT DEFAULT &#39;&#39;,<br>    created_at TIMESTAMPTZ DEFAULT NOW() NOT NULL<br>);<br>CREATE INDEX IF NOT EXISTS idx_donations_created_at ON public.donations(created_at);<br>CREATE INDEX IF NOT EXISTS idx_donations_order_id ON public.donations(order_id);<br>ALTER TABLE public.donations ENABLE ROW LEVEL SECURITY;<br>CREATE POLICY &quot;Allow public read access to donations&quot; <br>ON public.donations FOR SELECT <br>USING (true);<br>CREATE POLICY &quot;Allow service role full access to donations&quot; <br>ON public.donations FOR ALL <br>TO service_role <br>USING (true) <br>WITH CHECK (true);</pre><h3>2. Tabel Transaksi QRIS (002_create_qris_transactions.sql)</h3><p>Tabel ini melacak pesanan yang sedang <em>pending</em>, kode unik yang dialokasikan, serta status kedaluwarsa transaksi:</p><p>SQL :</p><pre>CREATE TABLE IF NOT EXISTS public.qris_transactions (<br>    id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br>    order_id TEXT UNIQUE NOT NULL,<br>    donor_name TEXT DEFAULT &#39;Anonim&#39;,<br>    message TEXT DEFAULT &#39;&#39;,<br>    media_url TEXT DEFAULT &#39;&#39;,<br>    base_amount NUMERIC NOT NULL,<br>    unique_code INT NOT NULL,<br>    total_amount NUMERIC NOT NULL,<br>    status TEXT DEFAULT &#39;pending&#39; NOT NULL, -- &#39;pending&#39;, &#39;settled&#39;, &#39;expired&#39;<br>    expired_at TIMESTAMPTZ NOT NULL,<br>    settled_at TIMESTAMPTZ,<br>    raw_notification TEXT,<br>    created_at TIMESTAMPTZ DEFAULT NOW() NOT NULL<br>);<br>CREATE INDEX IF NOT EXISTS idx_qris_lookup ON public.qris_transactions (total_amount, status);<br>CREATE INDEX IF NOT EXISTS idx_qris_order_id ON public.qris_transactions (order_id);<br>CREATE INDEX IF NOT EXISTS idx_qris_status_expired ON public.qris_transactions (status, expired_at);<br>ALTER TABLE public.qris_transactions ENABLE ROW LEVEL SECURITY;<br>CREATE POLICY &quot;Allow public read access to qris_transactions&quot; <br>ON public.qris_transactions FOR SELECT <br>USING (true);<br>CREATE POLICY &quot;Allow service role full access to qris_transactions&quot; <br>ON public.qris_transactions FOR ALL <br>TO service_role <br>USING (true) <br>WITH CHECK (true);</pre><h3>Langkah 3: Konfigurasi Environment Variables</h3><p>Buat berkas .env.local pada direktori root proyek Anda (serta masukkan variabel ini ke panel <strong>Vercel Dashboard ➡️ Environment Variables</strong> saat melakukan <em>deployment</em>):</p><p>Cuplikan kode :</p><pre>NEXT_PUBLIC_CREATOR_TITLE=&quot;Support Yudhacode&quot;<br>NEXT_PUBLIC_CREATOR_DESCRIPTION=&quot;Support developer tools &amp; open-source streaming technology.&quot;<br><br># QRIS Webhook Secret (Opsional namun sangat direkomendasikan)<br>QRIS_WEBHOOK_SECRET=&quot;your-super-secret-key&quot;<br># Midtrans Credentials (Opsional / Gateway Cadangan)<br>MIDTRANS_MERCHANT_ID=&quot;&quot;<br>NEXT_PUBLIC_MIDTRANS_CLIENT_KEY=&quot;&quot;<br>MIDTRANS_SERVER_KEY=&quot;&quot;<br>MIDTRANS_IS_PRODUCTION=&quot;false&quot;<br># Pusher Credentials<br>PUSHER_APP_ID=&quot;&quot;<br>NEXT_PUBLIC_PUSHER_KEY=&quot;&quot;<br>PUSHER_SECRET=&quot;&quot;<br>NEXT_PUBLIC_PUSHER_CLUSTER=&quot;ap1&quot;<br># Supabase Credentials<br>NEXT_PUBLIC_SUPABASE_URL=&quot;&quot;<br>SUPABASE_SERVICE_ROLE_KEY=&quot;&quot;</pre><h3>Langkah 4: Setup Gambar Static QRIS &amp; Android Notification Listener</h3><p>Workflow utama pencairan dana 0% komisi bergantung pada pembacaan mutasi otomatis melalui perangkat Android:</p><h3>1. Unggah Gambar QRIS</h3><p>Letakkan berkas gambar QRIS statis Anda pada direktori berikut:</p><pre>public/images/qris.jpg</pre><h3>2. Konfigurasi Perangkat Android</h3><p>Gunakan aplikasi otomatisasi seperti <strong>MacroDroid</strong>, <strong>Tasker</strong>, atau <em>Notification Listener / Webhook Forwarder</em>:</p><p><strong>Trigger (Pemicu)</strong>: <em>Notification Received</em> (Pilih aplikasi m-banking atau e-wallet Anda, seperti BCA mobile, Livin by Mandiri, GoPay Merchant, ShopeePay, DANA, OVO, LinkAja).</p><p><strong>Action (Tindakan)</strong>: <em>HTTP Request (POST)</em></p><p><strong>URL</strong>: https://your-domain.vercel.app/api/webhook/qris</p><p><strong>Request Content-Type</strong>: application/json</p><p><strong>Request Headers (Opsional)</strong>: x-api-key: your_secret_key_here</p><p><strong>Request Body</strong>:</p><pre>{   &quot;title&quot;: &quot;{notif_title}&quot;,   &quot;message&quot;: &quot;{notif_message}&quot; }</pre><p>Ketika pembayaran masuk, aplikasi Android akan meneruskan isi notifikasi ke <em>webhook</em> Anda. Server secara otomatis mencocokkan nominal akurat, mengubah status pesanan menjadi <em>settled</em>, dan memicu <em>alert</em> Pusher secara instan!</p><h3>Langkah 5: Deployment ke Vercel</h3><p>Setelah seluruh konfigurasi selesai dan diuji secara lokal, lakukan <em>deploy</em> produksi menggunakan CLI Vercel atau menghubungkan repositori GitHub:</p><p>Bash :</p><pre>vercel --prod</pre><h3>🎦 Setup OBS Studio Streaming Overlays</h3><p>Twodigit menyediakan tiga templat <em>browser source</em> yang sangat ringan dan fleksibel untuk OBS Studio, Streamlabs, maupun vMix:</p><h3>1. 🔔 Real-time Donation Alert Overlay (/overlay)</h3><p>Menampilkan kartu <em>pop-up</em> animasi donasi secara langsung, lengkap dengan dukungan pemutar video YouTube (Media Share) dan pembaca suara TTS Bahasa Indonesia (<em>id-ID-GadisNeural</em>).</p><p><strong>OBS URL</strong>: [https://your-domain.vercel.app/overlay](https://your-domain.vercel.app/overlay)</p><h3>2. 🎯 Milestone / Donation Goal Overlay (/overlay/milestone)</h3><p>Menampilkan bilah progres (<em>progress bar</em>) animasi untuk melacak target pengumpulan dana dengan filter tanggal mulai.</p><p><strong>OBS URL</strong>: [https://your-domain.vercel.app/overlay/milestone?target=5000000&amp;title=Upgrade+PC+Stream&amp;startDate=2026-08-01](https://your-domain.vercel.app/overlay/milestone?target=5000000&amp;title=Upgrade+PC+Stream&amp;startDate=2026-08-01)</p><p><strong>Parameter Kueri</strong>:</p><p>target (number, Wajib): Target nominal milestone dalam IDR (contoh: 5000000).</p><p>title (string, Opsional): Judul milestone di atas <em>progress bar</em> (contoh: Beli+Mic+Baru).</p><p>startDate (string, Opsional): Filter donasi dari tanggal tertentu dengan format YYYY-MM-DD.</p><h3>3. 🏆 Top Donors Leaderboard Overlay (/overlay/top-donors)</h3><p>Menampilkan daftar peringkat pendukung terbesar berdasarkan total nominal donasi lengkap dengan medali peringkat (👑 Gold, 🥈 Silver, 🥉 Bronze).</p><p><strong>OBS URL</strong>: [https://your-domain.vercel.app/overlay/top-donors?limit=5&amp;title=Top+Donatur+Bulan+Ini&amp;startDate=2026-08-01](https://your-domain.vercel.app/overlay/top-donors?limit=5&amp;title=Top+Donatur+Bulan+Ini&amp;startDate=2026-08-01)</p><p><strong>Parameter Kueri</strong>:</p><p>limit (number, Opsional): Jumlah top donatur yang ingin ditampilkan (default: 5).</p><p>title (string, Opsional): Judul header papan peringkat.</p><p>startDate (string, Opsional): Filter tanggal awal perhitungan leaderboard.</p><h3>Kesimpulan</h3><p>Kendala penolakan dari <em>payment gateway</em> pada artikel sebelumnya justru membuka peluang untuk merancang sistem yang jauh lebih efisien dan mandiri. Dengan mengandalkan kombinasi QRIS statis (yang dibuat melalui <strong>GoPay Merchant, DANA Merchant, ShopeePay Merchant</strong>, dsb.), kode unik nominal, <em>Android Notification Listener</em>, serta arsitektur <em>serverless</em> berbiaya Rp0, seluruh pendapatan kreator dapat diterima secara utuh tanpa potongan komisi sepeser pun. Sistem ini kini siap diuji coba dalam skala nyata untuk menyambut peluncuran <strong>GTA 6</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b189235a8768" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Daripada Sibuk Drama Game, Mending Belajar Koding: Solusi Serverless 0% Komisi untuk Streamer]]></title>
            <link>https://medium.com/@padangperwirayudha/daripada-sibuk-drama-game-mending-belajar-koding-solusi-serverless-0-komisi-untuk-streamer-7dbd48039d11?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7dbd48039d11</guid>
            <category><![CDATA[saweria]]></category>
            <category><![CDATA[pusher]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[fortnite]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Fri, 28 Aug 2026 08:17:38 GMT</pubDate>
            <atom:updated>2026-08-29T19:56:52.256Z</atom:updated>
            <content:encoded><![CDATA[<p>Belakangan ini saya menyadari satu hal menarik di dunia live streaming: banyak kreator yang egonya setinggi langit saat berbicara di depan kamera, namun finansialnya masih ‘terjebak’ dan bergantung pada platform pihak ketiga karena ketidakmampuan teknis. Sebagai seorang engineer yang terbiasa berpikir logis (dan kebetulan digaji dua digit untuk itu), melihat uang mereka dipotong 5% hanya untuk fitur alert sederhana rasanya seperti melihat pemborosan yang sia-sia. Daripada sibuk menyerang personal atau melakukan tindakan emosional di media sosial seperti menyenggol gaji untuk menutupi kekurangannya, mari kita selesaikan masalah efisiensi ini dengan koding.</p><p>Daripada membuang energi untuk hal-hal emosional di media sosial, saya memilih mengekspos inefisiensi arsitektur platform donasi instan (seperti Saweria atau Trakteer) yang memotong komisi hingga 5%-6%, lalu membangun alternatif mandiri yang jauh lebih superior: <strong>Twodigit.io </strong>dengan biaya operasional server <strong>Rp0 per bulan</strong>.</p><p>Kebetulan, saya memiliki banyak teman yang juga berprofesi sebagai streamer. Bedanya, mereka adalah kreator hebat yang sehat secara mental dan tidak mengidap <em>star syndrome</em>. Saya berencana menawarkan platform open-source ini sebagai media resmi mereka agar seluruh pendapatan dari penonton bisa masuk penuh ke kantong mereka tanpa perlu ada potongan biaya komisi platform yang mencekik. Sebagai bentuk solidaritas sesama profesional, saya juga bersedia secara sukarela memberikan support penuh jika nantinya mereka membutuhkan fitur-fitur baru yang diperlukan untuk menunjang aktivitas streaming mereka.</p><p>Di artikel ini, saya akan membedah bagaimana cara membuat sistem <em>alert overlay</em> donasi live stream berbasis <em>Serverless</em> dan <em>Real-time</em> yang memangkas komisi platform menjadi <strong>murni 0%</strong>.</p><p>Berikut repository-nya:</p><p><a href="https://github.com/Pcpkomputer/twodigit.io">GitHub - Pcpkomputer/twodigit.io: An production-ready, ultra-low latency, and zero-platform-fee donation overlay engine designed for self-hosted streamers. This project replaces traditional third-party donation platforms (which charge 5-6% cuts) with a modern, serverless architecture that routes 100% of non-MDR revenue directly to the creator&#39;s bank account.</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FY4v9ULTMynM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DY4v9ULTMynM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FY4v9ULTMynM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/aca2bb35234f52f28410c7c2094662af/href">https://medium.com/media/aca2bb35234f52f28410c7c2094662af/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ecgYTL-hw1R7mNw4hTjFA.png" /></figure><h3><strong>Prasyarat Akun yang Perlu Anda Siapkan</strong></h3><p>Sebelum masuk ke baris kode, ada tiga akun platform yang wajib Anda buat terlebih dahulu. Tenang saja, ketiganya menyediakan tier gratis (Free Tier) yang sudah lebih dari cukup untuk menjalankan versi MVP ini:</p><ol><li><strong>Akun Midtrans:</strong> Bertindak sebagai jembatan payment gateway utama Anda. Akun ini diperlukan untuk mendapatkan API Key (Client Key &amp; Server Key) serta memproses berbagai metode pembayaran seperti QRIS dan e-wallet secara langsung.</li><li><strong>Akun Pusher:</strong> Layanan Pub/Sub berbasis WebSocket yang akan kita gunakan untuk menyalurkan data donasi dari backend ke overlay OBS secara instan. Anda perlu membuat akun di sini untuk mengambil App ID, Key, Secret, dan menentukan lokasi Cluster.</li><li><strong>Akun Vercel:</strong> Platform cloud hosting terbaik untuk mengeksekusi kode backend Node.js kita ke dalam lingkungan Serverless Functions. Anda cukup menghubungkan akun GitHub Anda ke Vercel untuk kebutuhan proses deployment gratis dalam sekali klik.</li><li><strong>Akun Supabase:</strong> Menyediakan database PostgreSQL berbasis cloud siap pakai yang menjadi otak persistensi data platform Anda. Di sini, Anda akan menyimpan riwayat transaksi secara aman, memproses perhitungan agregat untuk <em>leaderboard</em> donatur, hingga melacak progres target donasi (<em>milestone</em>).</li></ol><h3><strong>Arsitektur Sistem &amp; Tech-Stack MVP</strong></h3><p>Untuk membangun sistem yang tangguh, <em>scalable</em> (tahan badai saat diserbu penonton), namun gratis, kita menggunakan arsitektur <em>event-driven</em> berbasis <em>Serverless</em>:</p><ol><li><strong>Midtrans Core/Snap API:</strong> Bertindak sebagai <em>Payment Gateway</em>. Uang dari penonton langsung masuk ke rekening bank kita dengan potongan murni tarif dasar Bank Indonesia (QRIS hanya <strong>0,7%</strong>), tanpa <em>markup</em> komisi platform pihak ketiga.</li><li><strong>Node.js (Vercel Serverless Functions):</strong> Menangani <em>webhook</em> notifikasi dari Midtrans. Karena berbasis <em>serverless</em>, server hanya menyala dalam hitungan milidetik saat ada transaksi sukses, membuat biaya sewa server kita menjadi <strong>Rp0 selamanya</strong>.</li><li><strong>Pusher Channels:</strong> Jembatan <em>WebSocket real-time</em> gratis untuk mengirim data donasi dari Vercel ke browser OBS Studio dalam waktu di bawah 1 detik.</li><li><strong>HTML5 / Tailwind CSS / Web Speech API:</strong> Di sisi <em>frontend</em> (Overlay OBS), kita memanfaatkan <em>Array Queue</em> di JavaScript agar suara robot <em>Text-to-Speech</em> (TTS) Bahasa Indonesia membaca pesan donasi secara mengantre rapi tanpa saling tumpang tindih</li></ol><p><strong>⚡ Ekstensi Opsional: Supabase (Untuk Fitur Leaderboard &amp; Milestone)</strong></p><p>Jika Anda ingin platform ini tidak sekadar memunculkan notifikasi, tetapi juga memiliki visualisasi interaktif seperti di platform profesional, Anda bisa menambahkan <strong>Supabase (Free Tier)</strong> ke dalam arsitektur:</p><ul><li><strong>Persistensi Data Transaksi:</strong> Vercel Functions akan menyimpan setiap donasi sukses ke dalam database PostgreSQL Supabase. Ini memberi Anda riwayat pendapatan jangka panjang yang rapi.</li><li><strong>Fitur Leaderboard (Top Donatur):</strong> Dengan agregasi Query SQL di Supabase (SUM nominal berdasarkan nama), Anda bisa menampilkan daftar &quot;Donatur Terbanyak&quot; (<em>All-Time</em>, Bulanan, atau Mingguan) di halaman profil donasi Anda untuk memicu kompetisi sehat antar penonton.</li><li><strong>Fitur Milestone (Progress Bar Target):</strong> Supabase mempermudah pelacakan target (misal: <em>“Dana untuk Upgrade PC: Rp 5.000.000”</em>). Setiap ada donasi masuk, angka progres akan otomatis bertambah, dan Anda bisa menampilkan <em>Progress Bar</em> interaktif langsung di <em>overlay</em> OBS menggunakan query sederhana yang menghitung total donasi terkumpul saat ini.</li></ul><pre>[Penonton Bayar QRIS] ➔ [Midtrans Webhook] ➔ [Vercel API (Node.js)] ➔ [Pusher Websocket] ➔ [OBS Overlay (Alert + TTS Queue + Leaderboard)]</pre><h3><strong>Langkah 1: Backend Webhook (api/webhook/midtrans.js)</strong></h3><p>Buat file fungsi <em>serverless</em> di Vercel untuk menangkap notifikasi pembayaran dari Midtrans. Kode ini akan langsung meneruskan data donatur ke Pusher jika status transaksi dinyatakan sukses (<em>settlement</em>).</p><pre>import { NextRequest, NextResponse } from &quot;next/server&quot;;<br>import crypto from &quot;crypto&quot;;<br>import { pusherServer } from &quot;@/lib/pusher&quot;;<br><br>export async function POST(request: NextRequest) {<br>  try {<br>    const notification = await request.json();<br><br>    const {<br>      order_id,<br>      status_code,<br>      gross_amount,<br>      signature_key,<br>      transaction_status,<br>      fraud_status,<br>      custom_field1, // message<br>      custom_field2, // mediaUrl<br>      custom_field3, // name<br>      customer_details,<br>    } = notification;<br><br>    const serverKey = process.env.MIDTRANS_SERVER_KEY || &quot;&quot;;<br><br>    // 1. Verify Midtrans SHA512 Signature Key: SHA512(order_id + status_code + gross_amount + ServerKey)<br>    const expectedSignature = crypto<br>      .createHash(&quot;sha512&quot;)<br>      .update(`${order_id}${status_code}${gross_amount}${serverKey}`)<br>      .digest(&quot;hex&quot;);<br><br>    if (signature_key !== expectedSignature) {<br>      return NextResponse.json(<br>        { error: &quot;Invalid signature key&quot; },<br>        { status: 403 }<br>      );<br>    }<br><br>    // 2. Check if transaction is successful<br>    const isSettled =<br>      transaction_status === &quot;settlement&quot; ||<br>      (transaction_status === &quot;capture&quot; &amp;&amp; fraud_status === &quot;accept&quot;);<br><br>    if (isSettled) {<br>      const donorName =<br>        custom_field3 ||<br>        customer_details?.first_name ||<br>        customer_details?.customer_name ||<br>        &quot;Anonim&quot;;<br><br>      const donationData = {<br>        orderId: order_id,<br>        amount: parseInt(String(gross_amount).split(&quot;.&quot;)[0], 10),<br>        name: donorName,<br>        message: custom_field1 || &quot;&quot;,<br>        mediaUrl: custom_field2 || &quot;&quot;,<br>        createdAt: new Date().toISOString(),<br>      };<br><br>      // 3. Trigger realtime event to Pusher channel for OBS Overlay<br>      await pusherServer.trigger(&quot;donation-stream&quot;, &quot;new-donation&quot;, donationData);<br><br>      console.log(&quot;Broadcasted donation to Pusher:&quot;, donationData);<br>    }<br><br>    return NextResponse.json({<br>      status: &quot;success&quot;,<br>      message: &quot;Webhook processed&quot;,<br>      isSettled,<br>    });<br>  } catch (error: any) {<br>    console.error(&quot;Webhook processing error:&quot;, error);<br>    return NextResponse.json(<br>      { error: error?.message || &quot;Internal server error&quot; },<br>      { status: 500 }<br>    );<br>  }<br>}</pre><h3><strong>Langkah 2: OBS Overlay HTML + TTS Queue</strong></h3><p>File overlay.html ini dimasukkan ke OBS Studio sebagai <em>Browser Source</em>.</p><pre>&quot;use client&quot;;<br><br>import { useEffect, useState, useRef } from &quot;react&quot;;<br>import Pusher from &quot;pusher-js&quot;;<br><br>import { numberToIndonesianWords } from &quot;@/lib/terbilang&quot;;<br><br>interface DonationAlert {<br>  orderId: string;<br>  amount: number;<br>  name: string;<br>  message: string;<br>  mediaUrl: string;<br>  createdAt: string;<br>}<br><br>declare global {<br>  interface Window {<br>    YT?: any;<br>    onYouTubeIframeAPIReady?: () =&gt; void;<br>  }<br>}<br><br>// Helper to extract clean YouTube Video ID<br>const getYouTubeVideoId = (url: string): string | null =&gt; {<br>  if (!url) return null;<br>  const regExp =<br>    /(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&amp;]v=)|youtu\.be\/)([^&quot;&amp;?\/\s]{11})/;<br>  const match = url.match(regExp);<br>  return match &amp;&amp; match[1] ? match[1] : null;<br>};<br><br>// Dedicated YouTube Player Component<br>function YouTubeMedia({ videoId }: { videoId: string }) {<br>  // YouTube strict embed URL for iframe<br>  const embedUrl = `https://www.youtube.com/embed/${videoId}?autoplay=1&amp;mute=0&amp;controls=0&amp;loop=0&amp;rel=0&amp;modestbranding=1&amp;enablejsapi=1`;<br><br>  return (<br>    &lt;div className=&quot;w-full aspect-video rounded-2xl overflow-hidden shadow-lg border border-outline-variant mt-2 bg-black flex items-center justify-center&quot;&gt;<br>      &lt;iframe<br>        className=&quot;w-full h-full border-0&quot;<br>        src={embedUrl}<br>        title=&quot;Media Share Video&quot;<br>        allow=&quot;autoplay; encrypted-media; fullscreen; picture-in-picture&quot;<br>        allowFullScreen<br>      /&gt;<br>    &lt;/div&gt;<br>  );<br>}<br><br>export default function OverlayPage() {<br>  const [currentAlert, setCurrentAlert] = useState&lt;DonationAlert | null&gt;(null);<br>  const [queue, setQueue] = useState&lt;DonationAlert[]&gt;([]);<br><br>  // Dedicated Audio Element ref<br>  const audioRef = useRef&lt;HTMLAudioElement | null&gt;(null);<br><br>  // Initialize and unlock audio element on mount<br>  useEffect(() =&gt; {<br>    const audio = new Audio();<br>    audio.crossOrigin = &quot;anonymous&quot;;<br>    audioRef.current = audio;<br><br>    // Optional user interaction unlock listener for OBS interact window<br>    const unlockAudio = () =&gt; {<br>      if (audioRef.current) {<br>        audioRef.current.play().catch(() =&gt; { });<br>      }<br>      window.removeEventListener(&quot;click&quot;, unlockAudio);<br>      window.removeEventListener(&quot;keydown&quot;, unlockAudio);<br>    };<br><br>    window.addEventListener(&quot;click&quot;, unlockAudio);<br>    window.addEventListener(&quot;keydown&quot;, unlockAudio);<br><br>    return () =&gt; {<br>      window.removeEventListener(&quot;click&quot;, unlockAudio);<br>      window.removeEventListener(&quot;keydown&quot;, unlockAudio);<br>    };<br>  }, []);<br><br>  const playTTS = (text: string) =&gt; {<br>    if (!text || typeof window === &quot;undefined&quot;) return;<br><br>    try {<br>      const audioUrl = `/api/tts?text=${encodeURIComponent(text)}&amp;t=${Date.now()}`;<br><br>      let audio = audioRef.current;<br>      if (!audio) {<br>        audio = new Audio();<br>        audioRef.current = audio;<br>      }<br><br>      audio.pause();<br>      audio.src = audioUrl;<br>      audio.load();<br><br>      const playPromise = audio.play();<br>      if (playPromise !== undefined) {<br>        playPromise.catch((err) =&gt; {<br>          console.warn(&quot;Audio autoplay blocked by OBS/browser:&quot;, err);<br>        });<br>      }<br>    } catch (e) {<br>      console.error(&quot;TTS error:&quot;, e);<br>    }<br>  };<br><br>  // Listen to Pusher WebSocket channel<br>  useEffect(() =&gt; {<br>    const pusherKey = process.env.NEXT_PUBLIC_PUSHER_KEY || &quot;&quot;;<br>    const cluster = process.env.NEXT_PUBLIC_PUSHER_CLUSTER || &quot;ap1&quot;;<br><br>    if (!pusherKey) {<br>      console.warn(&quot;NEXT_PUBLIC_PUSHER_KEY is not defined.&quot;);<br>      return;<br>    }<br><br>    const pusher = new Pusher(pusherKey, {<br>      cluster,<br>    });<br><br>    const channel = pusher.subscribe(&quot;donation-stream&quot;);<br><br>    channel.bind(&quot;new-donation&quot;, (data: DonationAlert) =&gt; {<br>      console.log(&quot;Overlay received donation:&quot;, data);<br>      setQueue((prev) =&gt; [...prev, data]);<br>    });<br><br>    return () =&gt; {<br>      channel.unbind_all();<br>      channel.unsubscribe();<br>      pusher.disconnect();<br>    };<br>  }, []);<br><br>  // 1. Pick next donation when no alert is active<br>  useEffect(() =&gt; {<br>    if (currentAlert === null &amp;&amp; queue.length &gt; 0) {<br>      const [nextDonation, ...remainingQueue] = queue;<br>      setCurrentAlert(nextDonation);<br>      setQueue(remainingQueue);<br>    }<br>  }, [currentAlert, queue]);<br><br>  // 2. Play alert, trigger TTS, and schedule auto-dismiss<br>  useEffect(() =&gt; {<br>    if (!currentAlert) return;<br><br>    // Speak donor message with natural Indonesian TTS (terbilang for amount)<br>    const amountWords = numberToIndonesianWords(currentAlert.amount);<br>    const speechText = `${currentAlert.name} mendonasikan ${amountWords} rupiah. ${currentAlert.message ? currentAlert.message : &quot;&quot;}`;<br>    playTTS(speechText);<br><br>    // Display alert duration (15s if media attached, otherwise 8s)<br>    const alertDuration = currentAlert.mediaUrl ? 15000 : 8000;<br><br>    const timer = setTimeout(() =&gt; {<br>      setCurrentAlert(null); // Triggers next item cleanly<br>    }, alertDuration);<br><br>    return () =&gt; clearTimeout(timer);<br>  }, [currentAlert]);<br><br>  const videoId = currentAlert ? getYouTubeVideoId(currentAlert.mediaUrl) : null;<br><br>  return (<br>    &lt;div className=&quot;fixed inset-0 w-screen h-screen bg-transparent overflow-hidden flex flex-col items-center justify-center p-8 select-none font-sans pointer-events-none&quot;&gt;<br>      {currentAlert &amp;&amp; (<br>        &lt;div className=&quot;animate-in fade-in zoom-in-95 duration-500 max-w-xl w-full flex flex-col items-center&quot;&gt;<br>          {/* Main Card */}<br>          &lt;div className=&quot;w-full bg-surface/95 backdrop-blur-xl border-2 border-primary rounded-3xl p-6 shadow-2xl flex flex-col items-center text-center ring-4 ring-primary/20&quot;&gt;<br>            {/* Header / Amount Badge */}<br>            &lt;div className=&quot;inline-flex items-center gap-2 px-5 py-2 bg-gradient-to-r from-primary to-primary-container text-white font-bold rounded-full shadow-lg text-lg mb-4 animate-bounce&quot;&gt;<br>              &lt;span className=&quot;material-symbols-outlined text-[24px]&quot;&gt;<br>                favorite<br>              &lt;/span&gt;<br>              &lt;span&gt;<br>                Rp.{&quot; &quot;}<br>                {new Intl.NumberFormat(&quot;id-ID&quot;).format(currentAlert.amount)}<br>              &lt;/span&gt;<br>            &lt;/div&gt;<br><br>            {/* Donor Name */}<br>            &lt;h2 className=&quot;text-2xl font-extrabold text-on-surface mb-2&quot;&gt;<br>              &lt;span className=&quot;text-primary&quot;&gt;{currentAlert.name}&lt;/span&gt;<br>            &lt;/h2&gt;<br><br>            {/* Message */}<br>            {currentAlert.message &amp;&amp; (<br>              &lt;p className=&quot;text-lg text-on-surface-variant font-medium bg-surface-container-low px-5 py-3 rounded-2xl w-full border border-outline-variant shadow-inner mb-4&quot;&gt;<br>                &amp;ldquo;{currentAlert.message}&amp;rdquo;<br>              &lt;/p&gt;<br>            )}<br><br>            {/* Media Share YouTube Player */}<br>            {videoId &amp;&amp; &lt;YouTubeMedia videoId={videoId} /&gt;}<br>          &lt;/div&gt;<br>        &lt;/div&gt;<br>      )}<br>    &lt;/div&gt;<br>  );<br>}</pre><h3><strong>Konfigurasi Env &amp; Webhook Production</strong></h3><p>Simpan kode di atas ke repositori Anda, lalu saat melakukan <em>deploy</em> ke Vercel, masuk ke <strong>Settings -&gt; Environment Variables</strong> di Vercel Dashboard untuk memasukkan kredensial rahasia Anda (MIDTRANS_SERVER_KEY, PUSHER_SECRET, dll) dengan aman.</p><pre>```env<br>NEXT_PUBLIC_CREATOR_TITLE=&quot;&quot;<br>NEXT_PUBLIC_CREATOR_DESCRIPTION=&quot;&quot;<br># Midtrans Credentials<br>MIDTRANS_MERCHANT_ID=&quot;&quot;<br>NEXT_PUBLIC_MIDTRANS_CLIENT_KEY=&quot;&quot;<br>MIDTRANS_SERVER_KEY=&quot;&quot;<br>MIDTRANS_IS_PRODUCTION=&quot;false&quot;<br># Pusher Credentials<br>PUSHER_APP_ID=&quot;&quot;<br>NEXT_PUBLIC_PUSHER_KEY=&quot;&quot;<br>PUSHER_SECRET=&quot;&quot;<br>NEXT_PUBLIC_PUSHER_CLUSTER=&quot;ap1&quot;<br># Supabase Credentials<br>NEXT_PUBLIC_SUPABASE_URL=&quot;&quot;<br>SUPABASE_SERVICE_ROLE_KEY=&quot;&quot;<br>```</pre><p>Terakhir, masuk ke Dashboard Midtrans Anda pada menu <strong>Settings -&gt; Configuration</strong>, dan set bagian <strong>Payment Notification URL</strong> ke alamat fungsi serverless Anda:</p><blockquote><a href="https://domain-kamu.vercel.com/api/webhook/midtrans">https://domain-kamu.vercel.com/api/webhook/midtrans</a></blockquote><p>Untuk beralih ke mode <strong>Production</strong> (menerima uang asli), Anda hanya perlu melakukan verifikasi kepatuhan perbankan standar (KYC) di Midtrans dengan mengunggah foto KTP, <em>selfie</em> dengan KTP, dan memasukkan nomor rekening pribadi yang namanya sesuai dengan identitas Anda. Proses peninjauan biasanya memakan waktu 1–3 hari kerja.</p><p>Untuk jauh lebih lengkapnya lagi bagaimana step-by-step untuk mendeploy platform ini sendiri bisa baca README.md yang sudah disediakan di dalam source code</p><p><a href="https://github.com/Pcpkomputer/twodigit.io/blob/master/README.md">twodigit.io/README.md at master · Pcpkomputer/twodigit.io</a></p><h3>🎦 Mendesain OBS Studio Streaming Overlays</h3><p>Bagian paling krusial dari sebuah <em>Saweria clone</em> adalah tampilannya saat siaran langsung. Kita akan menyediakan tiga <em>overlay browser source</em> yang super ringan dan dapat dikustomisasi secara instan menggunakan <em>Query Parameters</em>. <em>Overlay</em> ini kompatibel dengan OBS Studio, Streamlabs, maupun vMix.</p><p>1. 🔔 Real-time Donation Alert Overlay (/overlay)</p><p><em>Overlay</em> ini berfungsi menampilkan kartu donasi animasi secara instan saat pembayaran sukses, lengkap dengan dukungan <em>Media Share</em> dari YouTube serta suara <em>Text-to-Speech</em> (TTS) Bahasa Indonesia menggunakan teknologi native browser (id-ID-GadisNeural).</p><h4>Contoh Tautan di OBS:</h4><p><a href="https://domain-anda.vercel.app/overlay">https://domain-anda.vercel.app/overlay</a></p><p>2. 🎯 Milestone / Donation Goal Overlay (/overlay/milestone)</p><p><em>Overlay</em> ini menampilkan <em>progress bar</em> animasi yang melacak target pengumpulan dana Anda. Tampilan ini diperbarui secara <em>real-time</em> via Pusher dan mendukung filter tanggal awal untuk mereset target secara berkala.</p><h4><strong>Contoh Tautan di OBS:</strong></h4><p><a href="https://domain-anda.vercel.app/overlay/milestone?target=5000000&amp;title=Upgrade+PC+Stream&amp;startDate=2026-08-01">https://domain-anda.vercel.app/overlay/milestone?target=5000000&amp;title=Upgrade+PC+Stream&amp;startDate=2026-08-01</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*oTDeBEKM8SkeWVRt1Njb7Q.png" /></figure><p>🏆 Top Donors Leaderboard Overlay (/overlay/top-donors)</p><p>Untuk memicu interaksi dan kompetisi sehat antar penonton, <em>overlay</em> ini menampilkan peringkat donatur terbesar. Desainnya dilengkapi dengan medali peringkat khusus (👑 Emas, 🥈 Perak, 🥉 Perunggu) dan jumlah total donasi mereka.</p><h4><strong>Contoh Tautan di OBS:</strong></h4><p><a href="https://domain-anda.vercel.app/overlay/top-donors?limit=5&amp;title=Top+Donatur+Bulan+Ini&amp;startDate=2026-08-01">https://domain-anda.vercel.app/overlay/top-donors?limit=5&amp;title=Top+Donatur+Bulan+Ini&amp;startDate=2026-08-01</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*80BsP8J46PNMo4sYCwcQZQ.png" /></figure><h3>🗄️ Langkah Setup Database (Supabase)</h3><p>Agar fitur <em>milestone goal</em> dan pencatatan riwayat <em>top donor</em> berfungsi dengan baik, kita membutuhkan satu tabel database yang tangguh dan efisien.</p><p>Buka halaman <strong>Supabase Dashboard</strong>, masuk ke menu <strong>SQL Editor</strong>, lalu jalankan skrip SQL berikut untuk membuat tabel, mengoptimalkan indeks, serta mengonfigurasi keamanan data (RLS):</p><pre>-- 1. Membuat tabel utama untuk menampung data donasi masuk<br>CREATE TABLE IF NOT EXISTS public.donations (<br>    id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,<br>    order_id TEXT UNIQUE NOT NULL,<br>    amount NUMERIC NOT NULL,<br>    donor_name TEXT DEFAULT &#39;Anonim&#39;,<br>    message TEXT DEFAULT &#39;&#39;,<br>    media_url TEXT DEFAULT &#39;&#39;,<br>    created_at TIMESTAMPTZ DEFAULT NOW() NOT NULL<br>);<br>-- 2. Membuat indeks agar pencarian berbasis tanggal dan order ID berjalan sangat cepat<br>CREATE INDEX IF NOT EXISTS idx_donations_created_at ON public.donations(created_at);<br>CREATE INDEX IF NOT EXISTS idx_donations_order_id ON public.donations(order_id);<br>-- 3. Mengaktifkan Row Level Security (RLS) demi keamanan database<br>ALTER TABLE public.donations ENABLE ROW LEVEL SECURITY;<br>-- 4. Kebijakan Keamanan: Mengizinkan publik (client-side/OBS) membaca data secara transparan<br>CREATE POLICY &quot;Allow public read access to donations&quot; <br>ON public.donations FOR SELECT <br>USING (true);<br>-- 5. Kebijakan Keamanan: Hanya server internal (Vercel Service Role) yang bisa memodifikasi data<br>CREATE POLICY &quot;Allow service role full access to donations&quot; <br>ON public.donations FOR ALL <br>TO service_role <br>USING (true)<br>WITH CHECK (true);</pre><p>Dengan mengeksekusi skrip di atas, database PostgreSQL Anda kini siap menerima data dari Midtrans sekaligus menyajikan data secara instan ke komponen <em>overlay</em> OBS Anda.</p><h3><strong>Kesimpulan: Mindset Berbasis Solusi</strong></h3><p>Melalui project <strong>Twodigit.io</strong> ini, saya ingin membuktikan satu hal: masalah teknis sebaiknya diselesaikan dengan solusi teknis, bukan dengan perdebatan yang tidak berujung.</p><p>Membuat alert donasi dasar adalah hal yang mudah dicontek dari tutorial mana saja. Namun, mengoptimasi arsitektur tersebut menggunakan skema stateless serverless dan client-side sorting queue demi mengamankan pendapatan 100% utuh tanpa potongan komisi platform pihak ketiga? Itu adalah pembuktian kualitas engineering yang nyata.</p><p>Daripada menghabiskan energi untuk berdebat atau saling menyerang di media sosial, saya memilih menjadikan itu sebagai bahan bakar untuk membangun sesuatu yang benar-benar bermanfaat bagi industri. Selamat koding, dan mari menjadi kreator yang berdaulat secara teknologi!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7dbd48039d11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Tried Being a Fortnite TikTok Clipper — So I Built an AI Tool to Stop Wasting My Time]]></title>
            <link>https://medium.com/@padangperwirayudha/i-tried-being-a-fortnite-tiktok-clipper-so-i-built-an-ai-tool-to-stop-wasting-my-time-4620468d05c5?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4620468d05c5</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[fortnite-clip]]></category>
            <category><![CDATA[clippings]]></category>
            <category><![CDATA[electron]]></category>
            <category><![CDATA[fortnite]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Sat, 27 Jun 2026 10:13:31 GMT</pubDate>
            <atom:updated>2026-06-27T10:21:38.361Z</atom:updated>
            <content:encoded><![CDATA[<h4>How my software engineering background saved me from the absolute nightmare of manual video editing.</h4><p>Hello everyone! It has been a long time since I last wrote an article for this blog. Today, I want to share my experience of being a Fortnite clipper on TikTok, and how my day job as a software engineer helped me solve some of the unique problems that clippers face.</p><p>For about a week, I tried being a Fortnite clipper on my TikTok account, <a href="https://www.tiktok.com/@yudhacode">@yudhacode</a>, just for fun. To get the footage, I used NVIDIA Highlights. Whenever I eliminated a player, the software would automatically clip the gameplay for me.</p><p>But there’s one major catch with NVIDIA Highlights: it records <em>too</em> many eliminations. It clips everything, whether it’s a literal AI bot or just an inexperienced player. Imagine finishing a match with 25 kills… that means I’m stuck with 25 separate video clips mixed with bots and low-skill players. When I’m in the zone, I don’t have the time to stop, sort through them, and decide which clips are actually worth keeping. I just want to move on to the next match.</p><p>On average, I play about 15 matches a night, averaging anywhere from 8 to 15 kills per match. That adds up to a staggering number of files… around 150 videos in a single session!</p><p>Checking 150 separate clips manually, one by one, is an absolute waste of time. My first experience as a Fortnite clipper was honestly the worst because I had to sort through all of them completely by hand. Oh my god, it was exhausting.</p><p>Facing that nightmare, my software engineer brain kicked in: <em>“What if I just build a program to automate this?”</em> I shouldn’t have to manually sort through and hunt down clips one by one. Let the computer handle that tedious grunt work.</p><p>That became the core philosophy behind the software I created: <strong>ElimCut</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tn4PeLeM1OmamOoJ172KTw.png" /></figure><p>I built the initial prototype of this program in just two days. The concept is straightforward: it programmatically sorts and cuts down your Fortnite elimination footage. When I searched Google to see if something similar already existed, I couldn’t find a single tool designed specifically for this purpose. Literally nothing else out there does this, making ElimCut a totally fresh concept.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*prRtIH2Ljm1Si1HZB_eTWQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6zjOX8M4pP0qeYKr2Ob77w.png" /></figure><p>Once you drag and drop your footage into the upload box, the videos are added to a processing queue. From there, you simply click the <strong>“Proceed to Configure”</strong> button. This opens up an <strong>“OCR Configuration”</strong> modal where you can customize exactly what the software looks for.</p><p>For example, you can set it to capture your username or any specific keyword that appears in the bottom-middle of the screen where the elimination badge pops up. Additionally, you can configure <strong>clip padding (in seconds)</strong> to decide exactly how many seconds of footage to keep before and after the elimination badge appears.</p><p>Once everything is configured, you just hit process. The engine then handles the video processing and dumps the final, trimmed clips straight into your designated output folder.</p><p>To show you how it works in action, I ran a test clip through ElimCut. Here is the original, full-length video before processing:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPJOFiIoFhdg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPJOFiIoFhdg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPJOFiIoFhdg%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/04588f0c41186609c3543635f7c3fcf9/href">https://medium.com/media/04588f0c41186609c3543635f7c3fcf9/href</a></iframe><p>For this test, I configured the software with a <strong>start padding of 3 seconds</strong>, an <strong>end padding of 1.5 seconds</strong>, and targeted the keywords <strong>“Eliminated”</strong> and <strong>“Knocked”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*Z_pGHwpZ3gTJPF6quxMoag.png" /></figure><p>Here is the final, perfectly trimmed result:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FxB4m3kc5OxQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DxB4m3kc5OxQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FxB4m3kc5OxQ%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/15c533720245ffdde7acf062104ed570/href">https://medium.com/media/15c533720245ffdde7acf062104ed570/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFYe1EFJRWJc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFYe1EFJRWJc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFYe1EFJRWJc%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8b37d5db21a69137317dd23ef7d9b22f/href">https://medium.com/media/8b37d5db21a69137317dd23ef7d9b22f/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fn0f2XTdtiI4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dn0f2XTdtiI4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fn0f2XTdtiI4%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/09a2405e3b962e975ed970d1cb0638d6/href">https://medium.com/media/09a2405e3b962e975ed970d1cb0638d6/href</a></iframe><p>Look at how perfectly the software isolates the clips into their own categories based on whether they were “knocked” or “eliminated”! Of course, you could also use this feature to target the username of a specific rival you love to target and eliminate in-game. Hahaha!</p><p>Now, let’s dive into the technical details.</p><p>When deciding how to build ElimCut, I chose to develop a <strong>desktop application</strong> rather than a web app. Here is why a web-based approach just wouldn’t cut it:</p><ul><li><strong>Heavily Resource-Intensive Browsers:</strong> There is no native FFmpeg plugin that runs efficiently in a browser. While there is a WebAssembly port of FFmpeg, processing multiple heavy video files directly in a browser environment would absolutely tank user system performance</li><li><strong>High Cloud Infrastructure Costs:</strong> Because video processing and OCR are incredibly GPU-heavy tasks, processing the videos in the cloud would require high-spec, expensive servers. Leveraging the user’s local hardware was the most practical and cost-effective choice.</li><li><strong>File System Limitations:</strong> Web applications have strict limitations when it comes to the file system. Every time a video is processed, it has to be held in browser memory, forcing the user to manually download each clip one by one. A desktop app gives me native file system access to seamlessly dump the final clips right into a local directory.</li><li><strong>Suboptimal Client-Side AI/OCR Experience:</strong> Running heavy AI or OCR models directly in a browser is inefficient. Even though models like ONNX make client-side execution lighter, the overall performance, speed, and user experience remain far superior natively on desktop.</li></ul><p>Once I committed to building a desktop app, the next step was choosing the architectural tech stack.</p><p>Initially, I wanted to use <strong>Tauri</strong> since I already have a strong background in HTML, CSS, and JavaScript. However, I didn’t have enough experience with Rust to make that viable. I also considered <strong>PyQt</strong>, but the learning curve felt too steep for a quick two-day project. Ultimately, I decided to build the user interface using <strong>Electron and Node.js</strong>, while powering the core heavy-lifting engine with <strong>Python</strong>.</p><p>Because Electron and Python use entirely different ecosystems, I had to bundle the Python engine into a standalone executable command-line tool (CLI) and package it as a sidecar inside the Electron app.</p><p>I’ve made this project completely open-source! You can check out the full source code on my GitHub profile, or head straight over to the <strong>“Releases”</strong> tab to download the software and try it yourself.</p><p><a href="https://github.com/Pcpkomputer/ElimCut">GitHub - Pcpkomputer/ElimCut: Fornite Easy Elimination Cut</a></p><p>So, what is actually powering the engine under the hood?</p><p>The core engine uses <strong>OpenCV</strong> to process the video frame by frame. It extracts and preprocesses specific regions of the video frames, preparing them so that <strong>PaddleOCR</strong> can accurately read the text. By scanning the frames sequentially, the software detects the exact timestamp when an elimination badge appears on the screen. Once that precise moment is flagged, the engine calculates the boundaries and cuts the footage exactly where the elimination happened.</p><p>Once the engine catches the exact timestamps for every keyword match, it applies the cutting logic using <strong>MoviePy</strong>, factoring in our custom start and end padding to slice the footage perfectly.</p><p>It’s a simple but incredibly powerful solution.</p><p>This entire project was such a fun experience. Not only did I enjoy being a Fortnite clipper for a week, but I also got to experience the actual day-to-day struggles of a content creator firsthand and build a solution to solve my own problem.</p><p>Being a software engineer is honestly such a blessing. We have the unique skill set to take something tedious and difficult, make it effortless through automation, and then give back to a community facing those exact same hurdles.</p><p>ElimCut is completely free and available for both <strong>Windows</strong> and <strong>macOS</strong>. You can download it directly from the link below. If you run into any bugs or have feature requests you’d love to see implemented, just hit me up on social media!</p><p><a href="https://github.com/Pcpkomputer/ElimCut/releases">https://github.com/Pcpkomputer/ElimCut/releases</a></p><p>Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4620468d05c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Portfolio Disappeared, So I Built a Mobile AI Design Platform to Replace It]]></title>
            <link>https://medium.com/@padangperwirayudha/my-portfolio-disappeared-so-i-built-a-mobile-ai-design-platform-to-replace-it-390882136f8d?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/390882136f8d</guid>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Fri, 13 Feb 2026 10:54:32 GMT</pubDate>
            <atom:updated>2026-02-13T10:54:32.255Z</atom:updated>
            <content:encoded><![CDATA[<p>From 2021 to 2022, I served as a Software Engineer at MediatechIndo, where I led the development of a cross-platform design suite similar to Canva. I engineered a custom rendering engine that allowed users to transform templates into high-fidelity images for social media and professional use. To showcase the evolution of this architecture and integrate modern capabilities, I recently developed <strong>Lumio</strong> — a generative AI design platform. Lumio improves upon the original concept by using LLM-driven prompt engineering to generate fully editable, layered templates rather than static images.</p><p>While my original work on this platform (developed 2021–2022 at MediatechIndo) is no longer publicly accessible due to its discontinued lifecycle, I recognized the enduring value of its core architecture. As a software engineer dedicated to continuous growth, I chose to rebuild the entire ecosystem from scratch. This allowed me to not only demonstrate my previous expertise in canvas engines but also to evolve the product by integrating modern LLM capabilities that weren’t possible four years ago.</p><p>I decided to rebuild the entire ecosystem — from the web-based admin portal to the mobile app’s core renderer. The difference this time? I’ve supercharged the original logic with <strong>Modern AI</strong>.</p><p>Meet <strong>Lumio</strong>: a mobile generative-AI platform. It offers a dual-mode experience where admins can curate templates manually via a dashboard, while users can leverage AI to automatically generate professional layouts. It’s not just about making a design; it’s about using AI to bring a vision to life in seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*flf9aU82Wwe-RC3wpspZHA.png" /><figcaption>Lumio Preview</figcaption></figure><p>The ecosystem is powered by a robust <strong>Admin Dashboard</strong> designed for template curation. It features an integrated canvas engine built with <strong>FabricJS</strong>, enabling the creation of diverse design categories such as posters and logos. Once finalized, these templates are seamlessly ‘fed’ into the Lumio mobile app, providing a library of professional starting points for users to customize.</p><p>In contrast to the mobile app’s counterpart, I engineered a <strong>proprietary mobile canvas engine from the ground up</strong> to handle real-time element manipulation. While many current AI solutions — including models like Google’s Nano Banana — are limited to generating static raster images, Lumio’s architecture is fundamentally different. Standard models require complex re-prompting or ‘in-painting’ to make changes; my engine treats AI output as <strong>structured, editable objects</strong>, allowing users to modify text, layers, and assets directly without further prompting.</p><p>To demonstrate the engine’s capability, I provided a high-intent prompt: <em>“Tolong buatkan poster untuk gerakan demo menurunkan presiden”</em> (Requesting a protest poster).</p><p>Unlike a standard image generator that would return a flat .jpg, <strong>Lumio</strong> interpreted this prompt to generate a thematic layout with specific typography, hierarchy, and imagery. Below is the live-rendered result within the mobile engine:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*V_LsF-Puhm3prGMtFKJ6oA.png" /></figure><p>Once the layout is generated, the user isn’t locked into a static image. Lumio provides a <strong>full-featured editor</strong> where users can freely modify text, adjust typography, or import additional images to align the design perfectly with their preferences. This bridges the gap between AI inspiration and professional-grade customization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*6z06phQhoSw63ZwNP3wXKQ.png" /></figure><p>To complete the design workflow, I implemented a seamless <strong>export and persistence layer</strong>. By tapping the share icon, users can render their final compositions into high-resolution images or save their progress directly to <strong>local storage</strong>. This ensures that their creative work is both portable and retrievable for future sessions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*Knxw_nHIfz0I9fdF8FHjjA.png" /></figure><p><strong>The Motivation: From Legacy to Innovation</strong> My primary goal for building <strong>Lumio</strong> was to breathe new life into a significant project from my past that was no longer accessible. In the software industry, a portfolio is only as strong as its tangible proof; I believe in showing, not just telling.</p><p>While the market is saturated with AI tools, Lumio stands apart through its <strong>architectural philosophy</strong>. Instead of relying on “black-box” image generation models that produce static pixels, I utilized <strong>LLMs and advanced Prompt Engineering</strong> to generate structured, layered data. This gives the user surgical control over the outcome — turning a prompt into a living, modifiable workspace rather than just a final image.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=390882136f8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reviving a College Dream: How I Built a Modern AI Captioning SaaS]]></title>
            <link>https://medium.com/@padangperwirayudha/reviving-a-college-dream-how-i-built-a-modern-ai-captioning-saas-84b0690345df?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/84b0690345df</guid>
            <category><![CDATA[subtitles]]></category>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[captioning]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Sun, 08 Feb 2026 11:10:54 GMT</pubDate>
            <atom:updated>2026-02-08T11:35:57.967Z</atom:updated>
            <content:encoded><![CDATA[<p>This is how I transition my college concepts into market-ready products.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NvbrRyr18dxi1Wj3p3IEpw.png" /></figure><p>It has been nearly nine years since I fell in love with programming. During college, I had countless ideas, but most remained just that — ideas. However, one concept stuck with me: an AI captioning tool.</p><p>Before 2017, I was deeply immersed in anime and admired the art of &quot;fansubbing.&quot; I realized that subtitling is an art form—blending translation, timing, and typesetting to explain a story. But for five years, I experienced the struggle of doing this manually. It was a painstaking process of timing and grammar checks.</p><p>I spent five years — from middle school until 2020 — dedicated to the world of fansubbing. Through that experience, I learned firsthand the immense effort required to translate a project from scratch. Transforming a raw video with no metadata into a fully captioned story is a meticulous process. It requires strict adherence to technical principles like precise timing, grammatical accuracy, and readability.</p><p>In 2017, fueled by the rise of frontend frameworks like React and Vue, I decided to build a solution. I created <strong>aegCanvas</strong>, a web app for subtitling. Looking back at the original interface on my GitHub, it was — to put it mildly — rough. But it was my first real project, and it kickstarted my career.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MVyfi41AXrW9sQT7Z3q6lQ.png" /><figcaption>2017 aegCanvas Project</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_bu3Q7ffU2q287cFdSzRGQ.png" /><figcaption>2017 aegCanvas Project</figcaption></figure><p>My first iteration of this tool was built using Vue nearly nine years ago. While the original repository is now deprecated, it served as the catalyst for my professional journey. Comparing that early, rudimentary interface to the modern version I’ve built today is a testament to nearly a decade of growth as a software engineer.</p><p>Since graduating in 2020, I have transitioned from academic projects to a career in professional software engineering. Over the past five years, I have focused on delivering scalable, industry-standard solutions, building upon the foundations of my early portfolio to grow into an experienced engineer.</p><p>My journey has taken me from software agencies to the complex world of InsurTech, where I’ve spent the last five-plus years sharpening my engineering skills. Currently, I’m in a career transition — or, as I like to call it, I’m a ‘professionally unemployed’ software engineer. Rather than just waiting for the next role, I’ve decided to use this time to revisit and realize my college dream.</p><p>To get straight to the point: during my fansubbing days, I was obsessed with automation. Back then, everything — from timing to translation — had to be done manually. I even attempted to build an API for Aegisub to integrate Google Translate, but it fell short; the accuracy wasn’t there yet, and it still required a pre-existing English script.</p><p>Fast forward to today’s AI revolution. What used to require hours of manual labor can now be handled by machine learning. I realized I could finally leverage modern AI to solve the problems I faced years ago. This is how I evolved my old project into a high-performance, automated tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JSW7ovi7B3uzBcdg7xy6aQ.png" /><figcaption>AegCanvas — AI Powered Subtitle</figcaption></figure><p>I have successfully rebuilt my old project, essentially giving it a ‘maximum steroid’ boost in terms of polish and functionality. While the 2017 version was limited to basic line edits and loading external files, the new AegCanvas is a powerhouse. It provides a comprehensive suite of tools for manipulating timing and text.</p><p>To achieve a desktop-grade experience in a web browser, I utilized <strong>WebAssembly (WASM)</strong> to port <strong>libASS</strong> — the industry-standard subtitle rendering engine. I also integrated <strong>FFmpeg</strong> for high-efficiency, client-side media extraction. The result is a web application that rivals the performance and precision of a native desktop app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4iYngqpY165K5m19uOYpmA.png" /><figcaption>AegCanvas — AI Powered Subtitle ( Style Manager )</figcaption></figure><p>The platform includes a robust Style Manager, giving users complete creative control over subtitle appearance. To ensure the tool met professional standards, I stress-tested the entire workflow by translating and timing ten 10-minute anime clips. The experience was seamless — having that level of desktop-grade control directly in a web browser is a total game-changer for the subtitling workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*idkCnDX76ERJKh58039IcA.png" /><figcaption>AegCanvas — AI Powered Subtitle ( AI Pipeline Flow )</figcaption></figure><p>The true core of AegCanvas — and its biggest selling point — is the automated AI pipeline. Users can simply drag and drop a video, and our AI model handles the heavy lifting by transcribing the audio and generating a precise subtitle track. Once the AI finishes, the lines are rendered directly into the editor, where you have total freedom to refine the timing, adjust the translation, or polish the styling. It’s the perfect synergy between machine speed and human creativity. Let’s take a look at the AI magic in action.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHEHb2ZoOPzM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHEHb2ZoOPzM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHEHb2ZoOPzM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1ac26401ad4cb0161228b0e8fd6b7a9f/href">https://medium.com/media/1ac26401ad4cb0161228b0e8fd6b7a9f/href</a></iframe><p>To get you started, every new user receives 10 free coins to experience the AI transcription firsthand. While the AI features use a credit system, the core engine and editor are completely free to use.</p><p>For a long time, I watched others launch impressive SaaS products on LinkedIn and thought, ‘I can do that.’ But I didn’t just want to build another ‘me-too’ product; I wanted to solve a problem I actually understood. Reviving this college dream as a functional SaaS has been incredibly fulfilling.</p><p><strong>I am currently looking for my next challenge.</strong> If you are looking for a Senior Software Engineer who can build complex, impactful applications from the ground up — or if you’re interested in investing in this project — let’s connect.</p><p>Check out the app here: <a href="https://aegcanvas.vercel.app/">https://aegcanvas.vercel.app</a> I’d love to hear your feedback or bug reports. Thank you for following my journey!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84b0690345df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Copy-Pasted Random Business Ideas into Code Until I Got a Job.]]></title>
            <link>https://medium.com/@padangperwirayudha/i-copy-pasted-random-business-ideas-into-code-until-i-got-a-job-0e071db801c8?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e071db801c8</guid>
            <category><![CDATA[proptech]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[nuxtjs]]></category>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Sun, 01 Feb 2026 21:20:35 GMT</pubDate>
            <atom:updated>2026-02-01T21:39:32.247Z</atom:updated>
            <content:encoded><![CDATA[<h3>I Copy-Pasted Random Business Ideas into Code Until I Got a Job. Chapter 2: B2B Real Estate MVP, With Vibe😎</h3><p>So, while I was still tweaking my<a href="https://medium.com/@padangperwirayudha/i-copy-pasted-random-business-ideas-into-code-until-i-got-a-job-fe7e258e178d"> Japanese proxy platform</a> and hunting for a solid SE role, a WhatsApp message popped up. It was a vendor with an offer to bridge me into a <strong>PropTech (Real Estate Tech)</strong> company.</p><p>She shared the requirements and company details with me, and I’ve already knocked out the screening interview! I’m genuinely interested in this role and really want to wow the stakeholders in the next round. Since I have about a week or two until the second interview, I’d love to map out a timeline with you to make sure I’m fully prepared to impress them. Let’s get to work!</p><p>First things first, I need to really dig into the company background. The description gave me a good starting point for what they do and the specific products they’re pitching to the real estate industry. Understanding that ‘why’ is going to be key to how I position myself.</p><p>I’ve checked out their current product line, but for our prep, let’s focus on a specific scenario: they’re looking to expand into Indonesia and need to build a product tailored for local tenants. I want to show them I know exactly how to adapt their business to succeed in that market.</p><p>Next, I’m going to huddle with an LLM agent to brainstorm product ideas. We’ll dive deep into the core business model and figure out exactly what kind of localized solutions would make the most sense for this expansion.</p><p>After a few deep-dive sessions, I’ve narrowed down the strategy into four distinct product pillars. This ecosystem doesn’t just manage properties — it scales the business for the Indonesian market:</p><ul><li><strong>Asset Portfolio Dashboard:</strong> High-level financial health tracking, including Net Operating Income (NOI), occupancy rates, and valuation trends across multiple properties.</li><li><strong>Automated Leasing &amp; Finance:</strong> Tools for digital tenancy agreements, automated invoicing, and integrated payment gateways.</li><li><strong>Governance &amp; Compliance Tracker:</strong> A module specifically for “governance,” ensuring all building certifications, fire safety codes, and insurance policies are up to date.</li><li><strong>IoT Integration:</strong> Connecting to building hardware (elevators, HVAC, water sensors) to monitor health in real-time.</li><li><strong>Predictive Analytics:</strong> Using AI to alert managers <em>before</em> a pump fails or an energy bill spikes, fulfilling the “efficient management” promise.</li><li><strong>Mobile Work-Order App:</strong> A dedicated app for on-site technicians to receive tasks, take photos of repairs, and update the central system instantly.</li><li><strong>Facility Booking:</strong> Seamless booking for gyms, meeting rooms, or loading bays.</li><li><strong>Visitor Management:</strong> QR-code-based entry for guests to enhance security and “seamless experience.”</li><li><strong>Feedback &amp; Helpdesk:</strong> A direct line for residents to report issues</li><li><strong>Executive Transparency Hub:</strong> A view where the client can see exactly what their account executives are working on, including pending “solutioning” requests and custom development progress.</li></ul><p>Since the strategy is solid and the ideas are all there, I’m ready to move from brainstorming into the design phase. I’m heading over to Figma to map out the product design and bring these concepts to life visually.</p><p>We’re going to tackle these in order, starting with the <strong>Core Product</strong> since it’s the foundation of everything else. Just like before, I’ve been brainstorming with my LLM agent to hash out the details, and I’ve already got a solid prototype design ready to go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LdYv5TttsnuLJO0R72hCAg.png" /></figure><p>I’ve started slicing the designs and mapping out the tech stack. Following their requirements, I’ll be using <strong>Nuxt 4</strong> for the frontend and <strong>Laravel with MySQL</strong> for the backend. Personally, I think Go or Node.js are great for ERPs, but I’m going to maximize this stack’s efficiency.</p><p>To keep the deployment lean, I’m building the Nuxt frontend as a <strong>Single Page Application (SPA)</strong>. This allows me to embed the frontend build directly into the PHP backend so everything runs on a single server. By the way, I’ve named the company <strong>Acrea</strong> — a techy play on ‘Acre.’”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ATyhhTKm4ceNOh6gsIABaA.png" /></figure><p>I spent the last day slicing the designs and fine-tuning the UI. It was a productive session, and I’ve successfully translated the concepts into a clean, functional frontend. Here’s a look at the final slicing result for <strong>Acrea</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o_PWljV8Rfrdi5lEf6I6SA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iOVkrPWH5g2uAwrW3D7JIg.png" /><figcaption>Dashboard Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OcqTvPxmc8NdaKpf6cKgtg.png" /><figcaption>Properties Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tsLpiIYJshBa_oLfUbr7Xw.png" /><figcaption>Detail Properties</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8rkwr_13iEZmSq_GbEmZIQ.png" /><figcaption>Detail Unit</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nt43LBrphy_-ziMtYEw-Tw.png" /><figcaption>Manage Lease Contract</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a9XteP22lqBbk6vlM_c8rg.png" /><figcaption>Tenant Registry</figcaption></figure><p>The properties page had some pretty complex logic, but I managed to knock it out in just two days. I went with <strong>Leaflet</strong> for the map integration since it’s powerful, open-source, and keeps us flexible.</p><p>I’ll have a demo video ready once the backend is hooked up, but for now, the frontend is officially done! Next up: the <strong>Laravel</strong> backend. I’m sticking to the classic <strong>MVC pattern</strong> (Models, Controllers, and API Views). After a solid day of brainstorming the architecture, I’ve mapped out the database schema — check it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*uUuq_a1LsH-hJ6E-AjMGBA.png" /><figcaption>Model</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*j0s8bcwtUhi3ja8ToFJtgw.png" /><figcaption>Controller</figcaption></figure><p>I won’t bore you with the full schema here since it’s pretty extensive, but it covers all the essential Models and Controllers needed for the MVP. I’ve focused on keeping the architecture lean and scalable to ensure it handles the core business logic efficiently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qLrn6vzorI2CTrxLkCZjyA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bLzG4p_l4wUMzzjJURN_5Q.png" /></figure><p>Here are the API routes for the MVP, specifically focused on the <strong>Asset Portfolio Dashboard</strong>. It took me two days to build out the backend and fully integrate it with the frontend.</p><p>For features like automated alerts, I’ve planned to use <strong>Cron Jobs</strong> for weekly or monthly data updates, though we could eventually scale to something more robust like <strong>Apache Airflow</strong> as the data grows. With the <strong>Core Product </strong>now wrapped up, we’re ready to dive into Point 2: <strong>Automated Leasing &amp; Finance</strong></p><p>I’ve got a clear vision for this, so I’m skipping Figma and going straight into VS Code to build it. For the mobile side, I’m using <strong>React Native</strong>. By leveraging <strong>React Native Web</strong>, I can hit three platforms — Web, Android, and iOS — simultaneously.</p><p>The web version is our priority for instant access, but the native builds are locked and loaded for anyone wanting that premium experience — complete with push notifications and deep hardware integration. After a marathon coding session, here’s the interface I’ve built to bring the product to life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v9EFRZCBAKVP5NaOp0TEmQ.png" /></figure><p>Now that the interface is ready, here’s a look at the backend routes and logic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GCU_8IZUjPFpKT6k3khU-A.png" /></figure><p>For the payment flow, I’m using a simulated environment for the demo since my Midtrans account is currently tied up. However, the system is designed to plug into third-party APIs like <strong>Xendit</strong> or <strong>Midtrans</strong> seamlessly — whether through a direct API integration or a Snap webview.</p><p>With the ‘Smart Service’ logic and payment flows established, let’s move on.</p><ul><li>A module specifically for “governance,” ensuring all building certifications, fire safety codes, and insurance policies are up to date.</li></ul><p>Actually, I’ve decided we don’t need a whole new app for this. Instead, I’m adding a dedicated <strong>Compliance Module</strong> directly into the Asset Portfolio Dashboard. This will allow managers to upload and track essential PDF documents — like building certifications, fire safety permits, and insurance policies — all in one place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wnCrtuuln4c8D710zGX-0A.png" /></figure><p>At this point, I’ve officially wrapped up the <strong>Core Product, </strong>including the Asset Portfolio Dashboard, Automated Leasing/Finance, and the Compliance Tracker.</p><p>For the other app, while the IoT hardware isn’t available for testing right now, the foundation is ready. I’m putting the Work-Order App and the customer-centric features into the next iteration — these are straightforward builds that can be rolled out in a standard 1–2 month phase. After six days of crushing the code, the Core Engine is live. Let’s look at the final checklist of what’s been delivered.</p><ul><li><strong>Asset Portfolio Dashboard:</strong> High-level financial health tracking, including Net Operating Income (NOI), occupancy rates, and valuation trends across multiple properties. ✅</li><li><strong>Automated Leasing &amp; Finance:</strong> Tools for digital tenancy agreements, automated invoicing, and integrated payment gateways. ✅</li><li><strong>Governance &amp; Compliance Tracker:</strong> A module specifically for “governance,” ensuring all building certifications, fire safety codes, and insurance policies are up to date. ✅</li><li><strong>IoT Integration:</strong> Connecting to building hardware (elevators, HVAC, water sensors) to monitor health in real-time. ❌</li><li><strong>Predictive Analytics:</strong> Using AI to alert managers <em>before</em> a pump fails or an energy bill spikes, fulfilling the “efficient management” promise. ❌</li><li><strong>Mobile Work-Order App:</strong> A dedicated app for on-site technicians to receive tasks, take photos of repairs, and update the central system instantly. ❌ <strong><em>Next Iteration</em></strong></li><li><strong>Facility Booking:</strong> Seamless booking for gyms, meeting rooms, or loading bays. ❌ <strong><em>Next Iteration</em></strong></li><li><strong>Visitor Management:</strong> QR-code-based entry for guests to enhance security and “seamless experience.” ❌ <strong><em>Next Iteration</em></strong></li><li><strong>Feedback &amp; Helpdesk:</strong> A direct line for residents to report issues ✅</li><li><strong>Executive Transparency Hub:</strong> A view where the client can see exactly what their account executives are working on, including pending “solutioning” requests and custom development progress. ✅</li></ul><p>There is so much potential since I create this whole project in only for 6 days,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DQlJsSxQWfqRgcL4y_FB_w.png" /></figure><p>For the next iteration, I’ll be diving into the mobile work-order app, facility booking, and visitor management — all while layering in those AI capabilities. But first, I’m getting this portfolio out into the public eye and will refine the rest as I go. I’m also putting together a quick demo video to show the app in action.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FeRE1F596UL0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeRE1F596UL0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeRE1F596UL0%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e3b150562fec0c55e2970ab0fbbe9448/href">https://medium.com/media/e3b150562fec0c55e2970ab0fbbe9448/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F9EQWSVTWCls%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9EQWSVTWCls&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9EQWSVTWCls%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7ccc60e7486fdf4fa6edec9921de536c/href">https://medium.com/media/7ccc60e7486fdf4fa6edec9921de536c/href</a></iframe><p><a href="https://youtube.com/shorts/X1mx51Rr8g0?si=UVh3kIZRgzAFQqdV">https://youtube.com/shorts/X1mx51Rr8g0?si=UVh3kIZRgzAFQqdV</a>’</p><p>^ bruh</p><p><strong>Business Logic in a Nutshell:</strong></p><ol><li><strong>The Deal:</strong> A tenant wants to lease a property and connects with the property manager.</li><li><strong>The Digital Shift:</strong> The manager uses the <strong>Acrea Dashboard</strong> to flip messy paperwork into a streamlined digital workflow.</li><li><strong>Onboarding:</strong> The system automatically generates a tenant account, and they sign their lease right from their own dashboard.</li><li><strong>Payments:</strong> The tenant pays the initial charges via their preferred method (Cash or Digital).</li><li><strong>Performance &amp; Trust:</strong> The manager monitors asset health on their side, while the tenant gets full transparency into their cash flow and data.</li><li><strong>Support:</strong> If anything breaks, the tenant requests maintenance with a single tap.</li></ol><p>This project has been a massive learning curve. Beyond the code, I’ve had to dive deep into real estate analytics and financial calculations to make it realistic. I’m hoping this level of detail nails the next interview and helps me land the role quickly. Thanks for following the journey — see you at the next update!</p><p>I’d love to get this into production so you can all take it for a spin, but I’m still scouting for a solid free hosting option that supports the Laravel/MySQL backend. I’m going to put the live deployment on hold for now to keep the momentum going on the demo video and final prep. Stay tuned for the walkthrough!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nSkO_4Nf9BY118WINEjkmA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e071db801c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Copy-Pasted Random Business Ideas into Code Until I Got a Job.]]></title>
            <link>https://medium.com/@padangperwirayudha/i-copy-pasted-random-business-ideas-into-code-until-i-got-a-job-fe7e258e178d?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe7e258e178d</guid>
            <category><![CDATA[supabase]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Sun, 25 Jan 2026 18:02:21 GMT</pubDate>
            <atom:updated>2026-01-25T18:32:24.552Z</atom:updated>
            <content:encoded><![CDATA[<h3>I Copy-Pasted Random Business Ideas into Code Until I Got a Job. Chapter 1: The 48-Hour MVP, With Vibe😎</h3><p>As a <strong>professionally unemployed software engineer</strong>, I refuse to let my “free time” go to waste. Instead of grinding <em>Fortnite</em> and hitting a massive losing streak, I’ve decided to use my potential to attract companies and HR managers. 🙏😪 <em>(Please, I actually need a job).</em></p><p>The other day, I was doing what unemployed people do: hunting for work on job platforms. I applied to a company and, a few hours later, they emailed me with a screening question. Since it was a remote position, they asked if I was comfortable <strong>screen-sharing my entire workstation from clock-in to clock-out.</strong></p><p>🙏😪 <strong>I can’t do it, bro.</strong> What if I need to watch a quick anime episode <em>(please watch frieren and fate strange fake ) </em>to keep my brain from melting? Or what if I need to do… <em>uhuk-uhuk things</em>? I value my privacy. If it’s about software development or meeting deadlines, I’ll deliver high-quality code faster than anyone — but I won’t do it under a 24/7 surveillance camera. 🥺</p><p>So, here is my new rule: <strong>Every company that rejects me or isn’t a fit, I’m stealing their business idea and turning it into code.</strong> 😈 <em>(As if they care).</em></p><p>For this chapter, I took a company’s description and built an MVP in a single day. The company is a <strong>digital gateway</strong> that bridges logistical and language barriers between the Japanese/Global market and consumers in Indonesia.</p><p>The only clue I got,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*bKLlXWg9OX0taYWc3BypNA.png" /></figure><p>I asked my “assistant” (an LLM) to draft a feature list. We settled on two main services:</p><p><strong>1. Customer Dashboard</strong></p><ul><li><strong>Order Request via Link:</strong> A form where buyers paste a product link from Japanese stores (Mercari, Yahoo Auctions, Rakuten).</li><li><strong>Real-Time Tracking:</strong> Warehouse status updates from Japan → Customs → Domestic Shipping.</li><li><strong>Cost Calculator:</strong> Estimates Item Price + Japanese Tax + Service Fees + Logistics.</li></ul><p><strong>2. Warehouse Management System (WMS)</strong></p><ul><li><strong>Inspection Reports:</strong> The Japan-based team can upload photos of items so customers can confirm the condition before shipping.</li><li><strong>Inventory Monitoring:</strong> A system to track products ready for distribution.</li></ul><p>With the requirements piling up, I ‘hired’ an LLM agent to be my dedicated AI Product Designer. 🤓</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e_6lKBCLwpJWxAFfo9wUVA.jpeg" /></figure><p>Enough talk — let’s dive into the technical details. My game plan was simple: build the frontend first, then the backend. I tasked my AI UI Designer with creating the interface, and here is what it cooked up:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0YKz3nennii-U64hLrFJeA.png" /><figcaption>AI Generated</figcaption></figure><h3>The Technical Stack 🛠️</h3><p>To keep things fast and “vibey,” I went with a simple but powerful stack:</p><ul><li><strong>Frontend:</strong> Next.js (React)</li><li><strong>Backend:</strong> Next.js Server Actions (to keep it monolithic and fast)</li><li><strong>Database &amp; Auth:</strong> Supabase (Because it’s free, why not?)</li><li><strong>Payment Gateway:</strong> Midtrans</li></ul><p>Normally, people take a month to build this. <strong>I did it in 48 hours.</strong></p><p>Result :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P35gT46ezGNDq4c-bfoypg.png" /><figcaption>Company Profile</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*taGz3TEiJ_kFZ4iDXJVNyQ.png" /><figcaption>Login Page / Register Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3R0k3wq5XpD3g7gAMrIeWg.png" /><figcaption>My Orders Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QDootpTnv7a-2rSy3Tg-yQ.png" /><figcaption>Detail Order Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ebbnx9EMqz8UnpwSurdJVg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zY4ThHkp5jMPmkAaqKd-pA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C4yfg4GTsEYEdz1Dq1r-rg.png" /><figcaption>Order Flow Pages</figcaption></figure><p>Prototype done. Next step: API and integration. I used Next.js server-side features for the backend to keep the stack simple. For the database? Supabase — because it’s powerful, fast, and most importantly, free.</p><p>The roadmap for integrating the frontend and backend included:</p><ul><li><strong>Schema Design:</strong> Initializing Supabase tables for users and orders.</li><li><strong>Authentication:</strong> Full-stack implementation of login and registration.</li><li><strong>Customer Dashboard:</strong> Building the business logic for the user interface.</li><li><strong>Logistics Engine:</strong> Developing the order request system and web scraping functionality.</li><li><strong>Payment Integration:</strong> Implementing Midtrans as the primary gateway</li><li><strong>Data Management:</strong> Finalizing order history and detailed tracking views.</li></ul><p>While this scope typically takes a full development cycle, I’ve optimized my workflow to deliver the MVP in under 2 days.”</p><p>With the customer-facing side finished, it was time to move on to the <strong>Operation/Warehouse Dashboard</strong>. The process was the same: I had my AI agent draft the UI, and then I hammered out the logic. This is the interface we generated for the operations team:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*fDIEfu7fOLj_TOx4kCMxzA.png" /><figcaption>AI Generated</figcaption></figure><p>Normally, you’d build a separate application for this, but to keep things fast and deployable for this demo, I opted for a <strong>Monolithic architecture</strong> instead of Microservices. I handled the separation of concerns by differentiating the authentication logic and nesting the warehouse tools under the /operation/ path. This makes it easy for you to try the demo directly on Vercel. Here’s the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XOIAxFRLDRyjsztAAitEtw.png" /><figcaption>Login Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d9Znsk7bUXwvrqqhET0-pQ.png" /><figcaption>List Orders Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rSIivSuuONGeoN_Hr0uNwA.png" /><figcaption>Detail Order &amp; Inspection Page</figcaption></figure><p>The integration for the operations side was straightforward since it only required two main views. Here’s the breakdown:</p><ul><li><strong>User Management:</strong> Created a dedicated database for ops_users.</li><li><strong>Data Management:</strong> Built the backend and frontend logic to handle dynamic datatables in the dashboard.</li><li><strong>Inspection Workflow:</strong> Developed the logic for item inspections and order processing in the detail view.</li></ul><p>And just like that, the project was live in 48 hours! You can test the deployment on Vercel yourself, but first, let’s break down the core business logic and user flow:</p><ol><li><strong>Onboarding:</strong> Users visit the platform and register an account to access our Japan-to-Indonesia concierge service.</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dundefined&amp;type=text%2Fhtml&amp;schema=youtu&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fundefined" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e4bcd4993928146e80551f9065c64f4e/href">https://medium.com/media/e4bcd4993928146e80551f9065c64f4e/href</a></iframe><p>2. <strong>The Request Engine:</strong> Once logged in, users can request any item simply by pasting a URL. For this MVP, I focused on supporting <strong>jp.mercari</strong> links, though the architecture is ready to scale to other Japanese marketplaces.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dundefined&amp;type=text%2Fhtml&amp;schema=youtu&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fundefined" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b30f6fd7d0693c460aa5e85422ae2a7e/href">https://medium.com/media/b30f6fd7d0693c460aa5e85422ae2a7e/href</a></iframe><p>3. <strong>Fulfillment &amp; Operations:</strong> Once an order is placed, the Japan-based operations team receives a notification. They manage the entire lifecycle — from warehouse intake to final delivery in Indonesia — all through the dedicated Warehouse Dashboard.</p><p>This covers the end-to-end logic from the initial customer ‘want’ to the final logistics ‘delivery’.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F5SybBx731bg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D5SybBx731bg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F5SybBx731bg%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/97589dc2d88cec997c1f81e885257872/href">https://medium.com/media/97589dc2d88cec997c1f81e885257872/href</a></iframe><p>In a standard marketplace app, I would definitely include an ‘Item Received’ button on the customer side. However, for this 48-hour sprint, I prioritized the <strong>core logistics engine</strong>, leaving the confirmation hooks for the next iteration (v2).</p><p>So, that is the result of me, my delusional Product Designer, and my imaginary Product Manager crushing this project in just two days.</p><p>The summary of all this is simple: <strong>Please give me a job.</strong> 😭😭😭😢🥹</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i62elxB9evbkWHfnoVylxA.jpeg" /></figure><p><strong>Thank you for reading!</strong></p><p>Oh, and before you go — you can access the live demos right here. Feel free to break things (but be nice):</p><blockquote><strong>Company Profile / Landing Page</strong> <a href="https://jastip-jepang-vercel.vercel.app/">View Landing Page</a></blockquote><blockquote><strong>Customer Dashboard</strong> <a href="https://jastip-jepang-vercel.vercel.app/login">Login Here</a></blockquote><p><strong>Email:</strong> testing@gmail.com</p><p><strong>Password:</strong> testing</p><blockquote><strong>Operation Dashboard</strong> <a href="https://jastip-jepang-vercel.vercel.app/operations/login">Login Here</a></blockquote><p><strong>Email:</strong> padangperwirayudha@gmail.com</p><p><strong>Password:</strong> testing</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe7e258e178d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native at Prodigi: Ensuring Mobile Application Security]]></title>
            <link>https://medium.com/@padangperwirayudha/react-native-at-prodigi-ensuring-mobile-application-security-da3bc1b97772?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/da3bc1b97772</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[proteksi-digital]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[expo]]></category>
            <category><![CDATA[prodigi]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Tue, 31 Dec 2024 02:04:54 GMT</pubDate>
            <atom:updated>2025-01-01T01:58:27.194Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This is our experience implementing network security in our mobile application</em></p><p><em>This is the fifth in a </em><a href="https://medium.com/@padangperwirayudha"><em>series of blog posts</em></a><em> in which we outline our experience with React Native and what is next for mobile at Prodigi.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*PC20tqPFFlYTfZ9xBJua7A.png" /></figure><p>For most insurtech app, security is number one priority, and it also applies to Prodigi, we as insurtech app in insurance broker field want to give our customer high sense of security when using our service or apps</p><p>In mobile apps, there is some approach to make our apps more safe in terms of security, and I will share my thoughts about it</p><h3>Handling sensitive data</h3><p>One of the consideration in mobile app security is how you handle sensitive data such as access token, at Prodigi we are save our customer sensitive data in encryption and securely store it locally on the device and not save it as plain text</p><p>We are using <a href="https://docs.expo.dev/versions/latest/sdk/securestore/">expo-secure-store </a>which provides a way to encrypt and securely store key-value pairs locally on the device. This is ideal for storing tokens, passwords, and other sensitive information that shouldn’t be kept in plain text.</p><pre>import * as SecureStore from &quot;expo-secure-store&quot;;<br><br>async function save(key, value) {<br>  await SecureStore.setItemAsync(key, value);<br>}<br><br>async function getValueFor(key) {<br>  let result = await SecureStore.getItemAsync(key);<br>  if (result) {<br>    alert(&quot;🔐 Here&#39;s your value 🔐 \n&quot; + result);<br>  } else {<br>    alert(&quot;No values stored under that key.&quot;);<br>  }<br>}</pre><h3>Network Security: Safe API Communication</h3><p>In mobile apps especially in insurtech app where sensitive data is frequently exchanged between the app and the server, data need to be secured to prevent interception and tampering, all data communication must be served only in https. Additionally, consider implementing certificate pinning to mitigate the risk of man-in-the-middle attacks</p><p>At Prodigi, we are implementing both of it, HTTPS should be the baseline for all API communication at Prodigi, in mobile apps we only allowed https protocol and disallowed http protocol, by deleting android:useClearTextTraffic in Android and NSAllowsArbitraryLoads in iOS, we only served https for all our api communication</p><pre>&lt;application android:networkSecurityConfig=&quot;@xml/network_security_config&quot; android:name=&quot;.MainApplication&quot; android:label=&quot;@string/app_name&quot; <br>  android:icon=&quot;@mipmap/ic_launcher&quot; android:roundIcon=&quot;@mipmap/ic_launcher_round&quot; android:allowBackup=&quot;true&quot; <br>  android:supportsRtl=&quot;true&quot;&gt;</pre><pre>&lt;key&gt;NSAppTransportSecurity&lt;/key&gt;<br>&lt;dict&gt;<br>    &lt;key&gt;NSAllowsArbitraryLoads&lt;/key&gt;<br>    &lt;false/&gt;<br> &lt;/dict&gt;</pre><p>And to mitigate the risk of man-in-the-middle attack or data tampering, we are implement SSL Pinning in our both app android and iOS</p><pre>package com.ptperdanawahanasentosa.employee.dashboard<br><br>import com.facebook.react.modules.network.OkHttpClientFactory<br>import com.facebook.react.modules.network.OkHttpClientProvider<br>import okhttp3.CertificatePinner<br>import okhttp3.OkHttpClient<br><br>class SSLPinningFactory : OkHttpClientFactory {<br>    override fun createNewNetworkModuleClient(): OkHttpClient {<br>        val certificatePinner = CertificatePinner.Builder()<br>            .add(&quot;prodiginow.com&quot;, &quot;sha256/BIZoqEYsnj6WqCXx7qCZBnqNq48l0njYhEuE0Ou9GjY=&quot;)<br>            .build()<br>        val clientBuilder = OkHttpClientProvider.createClientBuilder()<br>        return clientBuilder.certificatePinner(certificatePinner).build()<br>    }<br>}</pre><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;network-security-config&gt;<br><br>  &lt;base-config&gt;<br>    &lt;trust-anchors&gt;<br>      &lt;certificates src=&quot;system&quot; /&gt;<br>      &lt;certificates src=&quot;user&quot; /&gt;<br>    &lt;/trust-anchors&gt;<br>  &lt;/base-config&gt;<br><br>   &lt;domain-config&gt;<br>        &lt;domain includeSubdomains=&quot;true&quot;&gt;prodiginow.com&lt;/domain&gt;<br>        &lt;pin-set&gt;<br>            &lt;pin digest=&quot;SHA-256&quot;&gt;BIZoqEYsnj6WqCXx7qCZBnqNq48l0njYhEuE0Ou9GjY&lt;/pin&gt;<br>        &lt;/pin-set&gt;<br>    &lt;/domain-config&gt;<br><br>    &lt;debug-overrides&gt;<br>        &lt;trust-anchors&gt;<br>            &lt;!-- Trust user added CAs while debuggable only --&gt;<br>            &lt;certificates src=&quot;user&quot; /&gt;<br>            &lt;certificates src=&quot;system&quot; /&gt;<br>        &lt;/trust-anchors&gt;<br>    &lt;/debug-overrides&gt;<br><br>&lt;/network-security-config&gt;</pre><p>On android we are using both approach by modifying OKHttpClient as the default network client for react-native and using &lt;network-security-config&gt; as config in &lt;application&gt; tags</p><p>the result is user can’t tamper to our networking communication</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wTuKUVJZxfzwQaFamc3dyA.png" /><figcaption>Proxyman</figcaption></figure><p>On iOS we are using TrustKit</p><pre><br>#import &lt;TrustKit/TrustKit.h&gt;<br><br>@implementation AppDelegate<br><br>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions<br>{<br>  [FIRApp configure];<br>  NSDictionary *trustKitConfig =<br>   @{<br>     kTSKSwizzleNetworkDelegates: @YES,<br>     kTSKPinnedDomains: @{<br>         @&quot;prodiginow.com&quot; : @{<br>             kTSKIncludeSubdomains: @YES,<br>             kTSKEnforcePinning: @YES,<br>             kTSKDisableDefaultReportUri: @YES,<br>             kTSKPublicKeyHashes : @[<br>               @&quot;BIZoqEYsnj6WqCXx7qCZBnqNq48l0njYhEuE0Ou9GjY=&quot;,     <br>               @&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,          <br>             ],<br>         },<br>    }};<br>  [TrustKit initSharedInstanceWithConfiguration:trustKitConfig];<br><br>  self.moduleName = @&quot;main&quot;;<br><br>  // You can add your custom initial props in the dictionary below.<br>  // They will be passed down to the ViewController used by React Native.<br>  self.initialProps = @{};<br><br>  return [super application:application didFinishLaunchingWithOptions:launchOptions];<br>}</pre><p>The result is same like above, we are testing it on real device and user can’t tamper to our networking communication</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8y-YiaLhpKPYZNJ0ebZUg.png" /></figure><p>Additionally we also using network library like axios to enhance our api communication protocol, we create middleware to handling invalid token and another cases, so our app is safe and only allowed user that can access to the app</p><h3>Authentication and Authorization: Secure User Access</h3><p>Implementing robust authentication is necessary at Prodigi, for that reason if we have client or third party apps that needs to integrate with Prodigi, we are ready to implement it using oauth with the helps of expo-secure-auth and expo-web-browser</p><h3>Regular Updates and Dependency Management</h3><p>Keeping Expo SDK and all dependencies up to date is vital for security. Regularly update to the latest versions, as they often include security patches and improvements. At Prodigi we regularly update our app to latest SDK and latest dependencies</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q0sMG0vI6iqHwBj0lcutCA.png" /></figure><h3>Final Thoughts</h3><p>Security in mobile app development is not a one-off task but a continuous process.</p><p>At Prodigi we continuous improve our security not only on mobile side but also on frontend and backend to bring sense of security to our customer and our engineer have done it well</p><p>So what are you waiting for, make Prodigi your business partner 💯💯💯💯</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da3bc1b97772" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native at Prodigi: Over The Air Update Is It Important?]]></title>
            <link>https://medium.com/@padangperwirayudha/react-native-at-prodigi-over-the-air-update-is-it-important-1dcf5b2f635d?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1dcf5b2f635d</guid>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Mon, 25 Dec 2023 16:11:52 GMT</pubDate>
            <atom:updated>2023-12-26T01:29:15.212Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This is our experience implementing over the air update in our mobile application</em></p><p><em>This is the fourth in a </em><a href="https://medium.com/@padangperwirayudha"><em>series of blog posts</em></a><em> in which we outline our experience with React Native and what is next for mobile at Prodigi.</em></p><blockquote>We are a digital brokerage in the insurtech space utilizing technology to connect and protect our customers.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*btxAh5OdrkROGUdKjHeoCw.png" /></figure><p>From the start of the development, we choose React Native as our main power of the MVP app, so we also decided to use one of the powerful feature that react native has which is over the air update</p><p>By default react native doesn’t have this feature, this feature is opt-in feature that community develop, there’s two in the market that offer this feature that’s<a href="https://microsoft.github.io/code-push/"> CodePush</a> from Microsoft, and<a href="https://docs.expo.dev/eas-update/introduction/"> EAS Updates</a> from Expo</p><p>As mentioned in the <a href="https://medium.com/@padangperwirayudha/react-native-at-prodiginow-introduction-6c55a52ccb19">React Native at Prodigi: An Introduction</a>, we use Expo as our main architecture of the app, so the options to use OTA feature is from EAS Updates</p><h3>Is Over The Air Updates Important For Prodigi?</h3><p>From our experience around 1 years after v0.0.1 is released (right now is v0.0.8) there’s exactly a time where we need this feature, because we want to deliver updates fast and quickly to customers, wether it’s just minor bug, or just minor cosmetics issues.</p><p>for example there’s some issue in iOS and Android where there’s different padding in iOS than android, so the UI in iOS is more less padding than in android, with that minor cosmetics issues is we need to going through a lengthy process? Creating a new build, submitting it to the app stores (Apple App Store or Google Play Store), and waiting for review and approval. This could take days or even weeks.</p><p>With over the air updates we can deliver that fix just within a minutes, that how important over the air updates is for Prodigi</p><p>Imagine if in the future there’s major bugs that can affect the business process in the app, with over the air updates we can quickly fix and deliver the updates</p><p>Also, we think this feature should be a must feature that mobile application has, not only it’s behave like instant fix in a web app has, even Flutter Ex-Founder Eric Seidel is focusing on creating this feature in Flutter (<a href="https://shorebird.dev/#home">Shorebird</a>), that how powerful this feature is</p><h3>How we implement it at Prodigi?</h3><p>Traditionally, in EAS Update it’s simply just use methods Updates.checkForUpdateAsync(), Updates.fetchUpdateAsync(), and Updates.reloadAsync()</p><p>But at Prodigi, we think that this process is not UX friendly, imagine user open the app, and out of the blue the app is reload / restarted.</p><p>So we think we need to create an indicator to show this update process, and this is what we come up to</p><p><a href="https://youtube.com/shorts/3ABhe5MRfI0?feature=share">OTA</a></p><p>Also we use a incremental integer version to marking our update in application and to easily track the user update</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*4IB3TjhYL9_DjaHgGWK8vg.jpeg" /></figure><p>We have 3 channels for updates in our app, that’s for Development, Staging and Production. We also make use of this feature to development and staging environment not only production, it’s make our QA team easy update and easy see changes to our app without redownload the .apk or the .ipa files. So QA team simply just</p><p><em>Tes Process → Report A Bug → Dev Fix A Bug → Push OTA → QA Download the OTA &amp; Test Again</em></p><p>Convenient right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o76KyMowbtnZJFxp4XkQrA.png" /></figure><h3>What is the const and issues?</h3><p>There’s no const in our side using this feature, even this feature very help us a lot, maybe the const is only the quota of the EAS update have, if we use the free tier account, we got 1000 updates quota per month, this quota can be increase when we upgrade our account at Expo. Also if you don’t want to use the expo service update, you can also create your own server (<a href="https://github.com/expo/custom-expo-updates-server">expo/custom-expo-updates-server</a>), so it’s not limited as that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zi0a6_JvRWtEivQuffXhTg.png" /></figure><p>We hope in the future, this feature is more enhanced and more help us when issue occur in the weekend or even in the holiday, and we need to deliver bug fix fast and quick to customer, for now our client is not exceed of 1000 updates per month, even if it’s exceed that we can create our own server or upgrade our expo account, that’s it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TFBEXAkoWdkaADnDrsKmnQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1dcf5b2f635d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native at Prodigi: Small Things that Matter]]></title>
            <link>https://medium.com/@padangperwirayudha/react-native-at-prodigi-small-things-that-matter-927dc69345d0?source=rss-903e7386fc3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/927dc69345d0</guid>
            <category><![CDATA[hybrid-mobile-app]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[expo]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[ux]]></category>
            <dc:creator><![CDATA[Padang Perwira Yudha]]></dc:creator>
            <pubDate>Thu, 29 Jun 2023 16:13:36 GMT</pubDate>
            <atom:updated>2023-08-20T14:16:04.240Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Small things but make a big difference 🧙🏻‍♂️🪄</em></p><blockquote>We are a digital brokerage in the insurtech space utilizing technology to connect and protect our customers.</blockquote><p><em>This is the third in a </em><a href="https://medium.com/@padangperwirayudha"><em>series of blog posts</em></a><em> in which we outline our experience with React Native and what is next for mobile at Prodigi.</em></p><p>As a hybrid mobile developer since starting my professional career in 2020, I often inspect and view different mobile apps from other companies and find what I can adapt, learn and improvise and find what they are lacking for, whether it’s native, hybrid (react-native, flutter) or web (PWA).</p><p>I find it interesting to know another (person || team ) work and what is their capability, moreover we can learn from them.</p><p>From that point of view, I will share what are small things that matter in terms of experience of the user, and the beautifully crafted ui should be in mobile aspects</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*O1xxv3JqPM7SfQhQI7do5w.png" /></figure><h3>1. Splashscreen</h3><p>There are many types of splashscreen that Indonesian mobile apps use. What I can mention is 3 types.</p><ol><li>Native splashscreen</li></ol><ul><li><a href="https://youtube.com/shorts/dCXfAeNl7qk?feature=share">WhatsApp Video 2023 06 29 at 8 47 54 PM</a></li><li><a href="https://youtube.com/shorts/FSzWcAIlPRk?feature=share">WhatsApp Video 2023 06 29 at 8 47 54 PM 1</a></li></ul><p>Native splash behaves like our splash is inside our app from the start and the transition in the system is smooth after click the app they show immediately from their icon (iOS and Android same)</p><p>2. Animated splashscreen</p><p><a href="https://youtube.com/shorts/soudeApoyDw?feature=share">Nanovest</a></p><p>This animated can feel like native splash in iOS <strong>(with native animation driver) </strong>but in Android there’s limitation, if you want complex animation so there’s a delay when opened app before the animated splashscreen showed <strong>(whether make it using native animation driver, or using third parties like Lottie or Rive)</strong>, but you can achieve<em> native-feeling-like</em> with android new splash screen api which is android 12, but it’s only have area on the middle that can animated (<a href="https://developer.android.com/develop/ui/views/launch/splash-screen">Splash screens | Android Developers</a>)</p><p>3. Delayed splashscreen</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FjiwxhP6yTJ4&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DjiwxhP6yTJ4&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/95dbe2e98e487afc76cdab10a8ce365c/href">https://medium.com/media/95dbe2e98e487afc76cdab10a8ce365c/href</a></iframe><p>This splashscreen is used because mobile apps need a custom splash or image that they must fetch from their remote server and provide to the user as a splash screen, because native splashscreen can be achieved by binary image inside app, so they can’t modified the splashscreen in the air, whether they want it or not, they must provide a delayed splash that contain loading indicator or just a solid color</p><p>Also many indonesian mobile apps not take advantage of color of <em>System Navigation Bar </em>to match their splashscreen (Android) especially for splash that have solid color around their logo, this <strong><em>small things</em></strong> can make different in terms of how beautifully an app launching in your smartphone, we can see the example above (tokopedia, shop by shopify)</p><h4><strong>What Prodigi approach for this aspect?</strong></h4><p>Actually, the decision depends on ui ux designer that provide assets for the splashscreen, currently our ui ux designer has decided to create static splash (full color and assets) that show our product logo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8XDDF_vivNRFWTNmjqG5hQ.png" /><figcaption>(Login UI-UX Figma)</figcaption></figure><p>So the best approach is native splashscreen with adjusted system navigation bar color</p><p><a href="https://youtube.com/shorts/z_RJApuS6tU?feature=share">Prodigi</a></p><h3>2. System Navigation Bar (Android) &amp; Status Bar (Android/iOS)</h3><p>People often don’t want to bother with system navigation bar or status bar in android or iOS, beside these small changes or interaction can make a big difference in mobile application, let’s see an example of apps that doesn’t want to bother with system navigation bar and status bar</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*FvsA3TlhLhtGhgNo6JoGwQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*ok26R0dyyWavYSHGoD6n0g.jpeg" /></figure><p>From above application <em>(Easycash)</em> they don’t want to bother with statusbar or system navigation bar and just painted as black overlay and black system navigation bar, there’s many application out there that use this method or ui, although its based on their own preferences, but imagine if we also make that small things is interactive based on what interaction occuring in apps</p><p>at Prodigi we embrace those small things and make it as important as other element, you can take a look at our implementation</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Ff5AXoK4dVv4&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Df5AXoK4dVv4&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2Ff5AXoK4dVv4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d0c906fc84fea7237f2ee3e7a5916e7c/href">https://medium.com/media/d0c906fc84fea7237f2ee3e7a5916e7c/href</a></iframe><p>(tldr; that toast show because invalid token freshchat in staging just ignore it 😁)</p><p>From that video we can see that we playing with statusbar color and system navigation bar color, because of that, it’s like our application is feel more modern because the entire application is full present at the screen and changes based on what happen in the screen</p><h3>3. Keyboard Panning / WindowSoftInputMode</h3><p>By default android use type of keyboard panning AdjustResize and iOS use type of AdjustPan, what is the difference between both and what is the cost?</p><p>Mobile application is not far from input text and keyboard show hide, we must make this interaction as smooth as possible, by the default android use windowSoftInputMode with type of adjustResize this make the hidden area of keyboard is filled with height so user can scroll element inside until bottom</p><p>Unlike adjustResize, adjustPan doesn’t fill the hidden area of the keyboard, so the we can’t scrolling until bottom and the component in the bottom will hidden by keyboard, this is the lack of adjustPan</p><p>But is the adjustResize is best choice? For apps that has one dominant color, adjustResize is good choice because it will not make the layout break often, but if you use many color in your apps and especially you wrap everything in ScrollView, this behaviour often occurs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/0*P9FKaPdKLnMo_gBN.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/0*-q_6ZU6FNdIHH2fP.png" /></figure><p>When the keyboard is dismissed, then there’s white color flashing and popup especially in android, in recent Prodigi apps 0.0.2, this behaviour is happen especially in sheet form that we make in submit claim and reimbursement, so we change the windowSoftInput in both android and iOS toadjustPan.</p><p>So there’s one cost, that is we can’t scroll until bottom, a<strong>t Tokopedia they use approach like, when user intended to scroll until bottom and reached end so the keyboard is automatically dismiss</strong>, but in Prodigi we don’t use that approach beside we create our dynamic panning component</p><p>This method use Reanimated &amp; Keyboard Listener in react native, reanimated have hooks that listen to height of the keyboard</p><p><a href="https://docs.swmansion.com/react-native-reanimated/docs/api/hooks/useAnimatedKeyboard/">useAnimatedKeyboard | React Native Reanimated (swmansion.com)</a></p><p>We use that to dynamically create gap inside the scrollview and make it can scrolling until bottom, also we use custom gap that listen to keyboard changes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*vtB3oN-Suj8sq-Jwav3KGQ.png" /></figure><p>This make the drawback of adjustPan is solved, result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*dMkxKFO_pQG8qioL_4fpbg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*vSZnCZzeFRRnFY2jkdQ15A.jpeg" /></figure><h3>Summary</h3><p>So these are small things that maybe matter (or not?) that Prodigi adapt and improve, maybe there’s still many flaws that happen in our apps but in meantime we are going to more improve and open to any feedback regarding this cosmetic issues…</p><p>If you have any feedback or comment, or there’s mistake in my article just comment below, I open to any feedback, and thank you for reading 🧙🏻‍♂️🪄</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=927dc69345d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>