<?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: Vitaly Doroshenko</title>
    <description>The latest articles on DEV Community by Vitaly Doroshenko (@prius_lab).</description>
    <link>https://dev.to/prius_lab</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3883784%2F5fbc7288-b29f-48a3-b824-4a2ba6b6caba.jpg</url>
      <title>DEV Community: Vitaly Doroshenko</title>
      <link>https://dev.to/prius_lab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prius_lab"/>
    <language>en</language>
    <item>
      <title>How I Wrote a Client-Side Annotate PDF tool Without a Backend and Messed It Up in Pursuit of Improvements</title>
      <dc:creator>Vitaly Doroshenko</dc:creator>
      <pubDate>Fri, 17 Apr 2026 13:56:17 +0000</pubDate>
      <link>https://dev.to/prius_lab/how-i-wrote-a-client-side-annotate-pdf-tool-without-a-backend-and-messed-it-up-in-pursuit-of-49lg</link>
      <guid>https://dev.to/prius_lab/how-i-wrote-a-client-side-annotate-pdf-tool-without-a-backend-and-messed-it-up-in-pursuit-of-49lg</guid>
      <description>&lt;h2&gt;
  
  
  Hey DEV community! 👋
&lt;/h2&gt;

&lt;p&gt;I want to share a story about how my simple IT bootcamp project unexpectedly gained organic traction on Google, and why sometimes "simplicity" wins over complex architecture. The project is &lt;strong&gt;Annotate PDF&lt;/strong&gt; — a minimalist tool for working with documents directly in the browser.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fudcgi0xi3farvttqnif1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fudcgi0xi3farvttqnif1.png" alt=" " width="800" height="499"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 The Idea: Why build another PDF editor?
&lt;/h2&gt;

&lt;p&gt;Let's be honest: working with PDFs is often annoying. Someone sends you a contract, an invoice, or a textbook. To just highlight some text, redact a passport number, or add a signature, you either have to download heavy software like Adobe Acrobat or rely on "free" online tools. &lt;/p&gt;

&lt;p&gt;But we all know how those online services work: you spend 10 minutes carefully editing your file, click "Download," and suddenly get hit with a popup saying &lt;em&gt;"Pay $9.99 to export"&lt;/em&gt; or your document gets stamped with a massive watermark. &lt;/p&gt;

&lt;p&gt;For my bootcamp project, I decided to build an honest, 100% free alternative for regular users like me.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠 The Tech Stack: Nothing extra
&lt;/h2&gt;

&lt;p&gt;I didn't reinvent the wheel. Under the hood, it's pretty straightforward:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework:&lt;/strong&gt; Next.js&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Styling:&lt;/strong&gt; Tailwind CSS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export &amp;amp; Generation:&lt;/strong&gt; &lt;code&gt;pdf-lib&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Canvas &amp;amp; Drawing:&lt;/strong&gt; &lt;code&gt;fabric.js&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxqhwwlf28tmmt5ntjrfl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxqhwwlf28tmmt5ntjrfl.png" alt=" " width="670" height="308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Integrating &lt;code&gt;fabric.js&lt;/code&gt; made it easy to create a layer on top of the document where users can draw shapes, type text, add freehand signatures, and highlight text seamlessly. &lt;/p&gt;

&lt;h2&gt;
  
  
  🔒 The Killer Feature: No Backend (Privacy by Design)
&lt;/h2&gt;

&lt;p&gt;Initially, I just didn't want to deal with setting up a server, a database, and file storage. But this constraint turned out to be the project's biggest advantage!&lt;/p&gt;

&lt;p&gt;The application is completely &lt;strong&gt;client-side&lt;/strong&gt;. When a user uploads a file (like an NDA, a financial report, or an ID scan), it is never sent over the network.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The document is parsed locally in your browser.&lt;/li&gt;
&lt;li&gt;You make your edits (add text, black out sensitive data).&lt;/li&gt;
&lt;li&gt;When you hit save, &lt;code&gt;pdf-lib&lt;/code&gt; generates the new PDF directly in the browser's RAM and triggers a download.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No servers. No data leaks. 100% privacy out of the box.&lt;/p&gt;

&lt;h2&gt;
  
  
  📉 My Lesson in SEO
&lt;/h2&gt;

&lt;p&gt;Over time, the project started getting organic traffic from Google. I guess the algorithms (and the users) appreciated that the service is actually free and solves a problem in just a couple of clicks. &lt;/p&gt;

&lt;p&gt;At one point, I decided it was time to make the project "grown-up" and tried to roll out a much more serious, complex version. It was a complete failure. Search engines heavily penalized the site — it turns out Google really doesn't like it when a domain's content and structure change drastically all at once. &lt;/p&gt;

&lt;p&gt;In the end, I realized an important lesson: &lt;strong&gt;sometimes people just need a tool that works&lt;/strong&gt;. I rolled everything back to the basic version, just slightly polishing the UI.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;I perfectly understand that today, AI could write similar code in a couple of hours. But Annotate PDF lives on and brings value precisely because it has zero friction: drop a file -&amp;gt; sign/redact -&amp;gt; download. No registrations, no hidden fees.&lt;/p&gt;

&lt;p&gt;If you ever need to quickly edit a PDF without the risk of leaking your data to a third-party server, feel free to bookmark it: &lt;a href="https://annotatepdf.io/" rel="noopener noreferrer"&gt;annotatepdf.io&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;I’d love to hear your feedback or answer any questions in the comments! What libraries do you prefer for handling PDFs?&lt;/p&gt;

</description>
      <category>pdf</category>
      <category>browser</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
