<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Irham Tri</title>
    <description>The latest articles on DEV Community by Irham Tri (@irham3).</description>
    <link>https://dev.to/irham3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4280117%2Ff3134d60-0f0b-4a41-b235-bbe19f3d1c54.jpg</url>
      <title>DEV Community: Irham Tri</title>
      <link>https://dev.to/irham3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/irham3"/>
    <language>en</language>
    <item>
      <title>Xenkio: 130 tool open source untuk PDF, gambar dan video yang jalan di browser</title>
      <dc:creator>Irham Tri</dc:creator>
      <pubDate>Thu, 03 Dec 2026 09:29:50 +0000</pubDate>
      <link>https://dev.to/irham3/xenkio-130-tool-open-source-untuk-pdf-gambar-dan-video-yang-jalan-di-browser-36p</link>
      <guid>https://dev.to/irham3/xenkio-130-tool-open-source-untuk-pdf-gambar-dan-video-yang-jalan-di-browser-36p</guid>
      <description>&lt;p&gt;Kebanyakan situs "gabung PDF" atau "hapus latar foto" meminta file kita diunggah ke server mereka, lalu meminta akun setelah beberapa kali pakai. Xenkio mengerjakan hal yang sama langsung di tab browser.&lt;/p&gt;

&lt;p&gt;Isinya 130 tool: gabung, pisah dan tanda tangan PDF, PDF ke Word, kompres gambar dan video, hapus latar, sampai tool developer seperti JSON formatter, JWT debugger dan regex tester.&lt;/p&gt;

&lt;p&gt;Cara kerjanya: situs ini hasil static export Next.js tanpa backend. Mesin berat seperti ffmpeg.wasm, Pyodide dan transformers.js baru dimuat di halaman tool yang memakainya. Beberapa tool perlu mengunduh kode atau model saat pertama dipakai, dan ada yang harus memanggil layanan luar (misalnya DNS lookup). Semuanya tercantum di README.&lt;/p&gt;

&lt;p&gt;Coba di &lt;a href="https://xenkio.com" rel="noopener noreferrer"&gt;https://xenkio.com&lt;/a&gt;, atau jalankan sendiri:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run -d -p 8080:80 ghcr.io/irham3/xenkio:latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Kode: &lt;a href="https://github.com/irham3/xenkio" rel="noopener noreferrer"&gt;https://github.com/irham3/xenkio&lt;/a&gt; (AGPL-3.0). Kontribusi terbuka, ada beberapa issue "good first issue" untuk yang mau menambah tool.&lt;/p&gt;

</description>
      <category>indonesia</category>
      <category>opensource</category>
      <category>webdev</category>
      <category>nextjs</category>
    </item>
    <item>
      <title>Private wallet login on Stellar with Noir: verify a rule without seeing the address</title>
      <dc:creator>Irham Tri</dc:creator>
      <pubDate>Thu, 03 Dec 2026 09:00:09 +0000</pubDate>
      <link>https://dev.to/irham3/private-wallet-login-on-stellar-with-noir-verify-a-rule-without-seeing-the-address-1ee1</link>
      <guid>https://dev.to/irham3/private-wallet-login-on-stellar-with-noir-verify-a-rule-without-seeing-the-address-1ee1</guid>
      <description>&lt;p&gt;Most "login with wallet" and token-gating flows on Stellar work the same way: the app asks for your G... address, reads your balance from Horizon, and decides. That works, but now every app you use holds the same public identifier, and anyone can join those records with each other and with your on-chain history.&lt;/p&gt;

&lt;p&gt;I built VeilPass to test a narrower deal. The app learns that a user passed a rule, for example "holds at least 1 XLM", and gets a stable ID for returning users. It never receives the address.&lt;/p&gt;

&lt;p&gt;VeilPass runs on Stellar Testnet today. It is not an anonymity system, and I will say below what it still leaks.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the host app receives
&lt;/h2&gt;

&lt;p&gt;A successful login resolves to this and nothing else:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nc"&gt;VerifiedLogin&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;eligible&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;privateAppId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// stable per credential, origin and gate epoch&lt;/span&gt;
  &lt;span class="n"&gt;gateId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;epoch&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;origin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;expiresAt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;privateAppId&lt;/code&gt; is scoped to the app's exact origin. Log in to app A and app B with the same wallet and you get two unrelated IDs, so the apps cannot compare notes.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Enrollment. The user connects Freighter once on the VeilPass login origin and signs a message. The issuer checks the rule against the public wallet and issues a credential that stays in the browser.&lt;/li&gt;
&lt;li&gt;Login. The host page opens a popup to the login origin. In the browser, a Noir circuit proves the credential is in the issuer's Merkle tree and binds the proof to the host's origin and a one-time challenge.&lt;/li&gt;
&lt;li&gt;Verification. The host server checks the UltraHonk proof against a pinned verification key, checks the gate policy (root, epoch, revocation) read from a Soroban contract, and consumes the challenge and a nullifier atomically so a proof cannot be replayed.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Client code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;VeilPass&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;VeilPassError&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@veilpass/sdk"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;veilpass&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;VeilPass&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;loginOrigin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://login.veilpass.dev"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;loginButton&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addEventListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"click"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;veilpass&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;login&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;gateId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"premium-holder"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ok&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;eligible&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;location&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assign&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"/account"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt; &lt;span class="k"&gt;instanceof&lt;/span&gt; &lt;span class="nc"&gt;VeilPassError&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nf"&gt;showLoginError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Call it from a user gesture, or the popup is blocked.&lt;/p&gt;

&lt;h2&gt;
  
  
  Server code
&lt;/h2&gt;

&lt;p&gt;Your backend owns two routes, &lt;code&gt;POST /api/challenges&lt;/code&gt; and &lt;code&gt;POST /api/verify&lt;/code&gt;. The second one calls the verifier:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;verifyVeilPassProof&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@veilpass/server"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;verifyVeilPassProof&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;proofResult&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;requestBody&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;expectedOrigin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://app.example.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;expectedGateId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"premium-holder"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;store&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;durableChallengeStore&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;policy&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;verifyProof&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;verifyWithPinnedNoirKey&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;requestId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;crypto&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;randomUUID&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Be honest with yourself about this part: &lt;code&gt;durableChallengeStore&lt;/code&gt;, the policy reader and the proof verifier are yours to provide. The package checks origin, gate, expiry, root, epoch and revocation, but it does not ship a database or a key. To skip that work, clone the &lt;a href="https://github.com/irham3/veilpass/tree/master/frontend/examples/host-starter" rel="noopener noreferrer"&gt;host starter&lt;/a&gt;: about 200 lines of Express and Postgres that implement both routes, the Soroban policy read and the proof check. It is Testnet only and not hardened, and its README lists what to change before you ship something like it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What stays visible
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The issuer sees your address and public balance once, at enrollment.&lt;/li&gt;
&lt;li&gt;IP address, timing and browser fingerprint are not hidden.&lt;/li&gt;
&lt;li&gt;Anything you later do on-chain with the same wallet is still public.&lt;/li&gt;
&lt;li&gt;The credential lives in one browser. Clearing site data means enrolling again.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Interactive demo (a labeled simulation): &lt;a href="https://veilpass.dev/demo" rel="noopener noreferrer"&gt;https://veilpass.dev/demo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Live apps on separate origins: &lt;a href="https://app-a.veilpass.dev" rel="noopener noreferrer"&gt;https://app-a.veilpass.dev&lt;/a&gt; and &lt;a href="https://app-b.veilpass.dev" rel="noopener noreferrer"&gt;https://app-b.veilpass.dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Code, MIT: &lt;a href="https://github.com/irham3/veilpass" rel="noopener noreferrer"&gt;https://github.com/irham3/veilpass&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Host starter: &lt;a href="https://github.com/irham3/veilpass/tree/master/frontend/examples/host-starter" rel="noopener noreferrer"&gt;https://github.com/irham3/veilpass/tree/master/frontend/examples/host-starter&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Packages: &lt;code&gt;@veilpass/sdk&lt;/code&gt;, &lt;code&gt;@veilpass/server&lt;/code&gt;, &lt;code&gt;@veilpass/shared&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I am looking for two or three Stellar apps with a gating rule to integrate against, and for people who will tell me where this payload is not enough. The feedback form is at the bottom of veilpass.dev.&lt;/p&gt;

</description>
      <category>stellar</category>
      <category>soroban</category>
      <category>privacy</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
