<?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: Rishav Deshwal</title>
    <description>The latest articles on DEV Community by Rishav Deshwal (@quantume_5f8b040fe6d5447e).</description>
    <link>https://dev.to/quantume_5f8b040fe6d5447e</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%2F4019518%2F2d8efe26-fc16-43a5-9bd0-f0030874b071.jpeg</url>
      <title>DEV Community: Rishav Deshwal</title>
      <link>https://dev.to/quantume_5f8b040fe6d5447e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/quantume_5f8b040fe6d5447e"/>
    <language>en</language>
    <item>
      <title>All the tools you need, right in your browser.</title>
      <dc:creator>Rishav Deshwal</dc:creator>
      <pubDate>Tue, 07 Jul 2026 12:26:17 +0000</pubDate>
      <link>https://dev.to/quantume_5f8b040fe6d5447e/all-the-tools-you-needright-in-your-browser-2n3a</link>
      <guid>https://dev.to/quantume_5f8b040fe6d5447e/all-the-tools-you-needright-in-your-browser-2n3a</guid>
      <description>&lt;p&gt;How I Built a Free iLovePDF Alternative That Never Uploads Your Files&lt;/p&gt;

&lt;p&gt;As developers, we handle sensitive documents all the time—invoices, API documentation, and confidential contracts. Yet, when we need to quickly merge, split, or compress a PDF, we usually resort to uploading our sensitive data to third-party cloud servers like iLovePDF or Adobe. &lt;/p&gt;

&lt;p&gt;As a Cyber Security student, that always felt wrong to me. I wanted a tool that was lightning fast, completely free, and most importantly: &lt;strong&gt;processed everything entirely in the browser.&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;So, I built &lt;a href="https://fluxtools.app" rel="noopener noreferrer"&gt;FluxTools&lt;/a&gt;, a suite of 60+ developer utilities and document analyzers that never touch a backend server. Here is how I built the PDF processing engine using React, Vite, and &lt;code&gt;pdf-lib&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Architecture: Moving the Backend to the Frontend
&lt;/h3&gt;

&lt;p&gt;Traditionally, PDF manipulation requires heavy backend processing using tools like Ghostscript or Poppler. But modern browsers are incredibly powerful. &lt;/p&gt;

&lt;p&gt;By leveraging &lt;strong&gt;WebAssembly (WASM)&lt;/strong&gt; and the &lt;code&gt;pdf-lib&lt;/code&gt; JavaScript library, I was able to move the entire processing pipeline to the client side. &lt;/p&gt;

&lt;p&gt;Here is a simplified snippet of how FluxTools merges multiple PDFs directly in your browser's memory without a single network request:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
javascript
import { PDFDocument } from 'pdf-lib';

async function mergePDFsLocally(fileArray) {
  // 1. Create a new, blank PDF in the browser memory
  const mergedPdf = await PDFDocument.create();

  // 2. Loop through the user's local files
  for (const file of fileArray) {
    const fileBytes = await file.arrayBuffer();
    const pdf = await PDFDocument.load(fileBytes);
    const copiedPages = await mergedPdf.copyPages(pdf, pdf.getPageIndices());

    // 3. Append pages to our new document
    copiedPages.forEach((page) =&amp;gt; {
      mergedPdf.addPage(page);
    });
  }

  // 4. Save and trigger a local download!
  const mergedPdfBytes = await mergedPdf.save();
  return mergedPdfBytes; 
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>react</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
