<?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: RevPulse</title>
    <description>The latest articles on DEV Community by RevPulse (@revpulse).</description>
    <link>https://dev.to/revpulse</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%2F4260268%2F4bf9ad13-5877-4cb9-bf11-10ab316d088a.jpg</url>
      <title>DEV Community: RevPulse</title>
      <link>https://dev.to/revpulse</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/revpulse"/>
    <language>en</language>
    <item>
      <title>How I built a local-only Etsy review exporter in Manifest V3 (no server, no API key)</title>
      <dc:creator>RevPulse</dc:creator>
      <pubDate>Mon, 23 Nov 2026 10:09:49 +0000</pubDate>
      <link>https://dev.to/revpulse/how-i-built-a-local-only-etsy-review-exporter-in-manifest-v3-no-server-no-api-key-5gg8</link>
      <guid>https://dev.to/revpulse/how-i-built-a-local-only-etsy-review-exporter-in-manifest-v3-no-server-no-api-key-5gg8</guid>
      <description>&lt;p&gt;Etsy sellers do a surprising amount of research by reading other shops' reviews. The 1–3★ ones are the useful part: "chain broke in a week", "size chart is wrong", "took three weeks to arrive". Each is a product or listing fix someone else hasn't made yet.&lt;/p&gt;

&lt;p&gt;Etsy lets you download your &lt;em&gt;own&lt;/em&gt; shop's reviews (Shop Manager → Settings → Options → Download Data). It doesn't help with a competitor's listing, it doesn't include buyer photos, and it doesn't summarize anything. So I built &lt;strong&gt;RevPulse&lt;/strong&gt;, a Manifest V3 extension that reads the public reviews on the Etsy page you have open and turns them into a CSV/JSON file, a rough "pain point" summary and a ZIP of buyer photos.&lt;/p&gt;

&lt;p&gt;The one hard constraint I set: &lt;strong&gt;no backend.&lt;/strong&gt; Reviews, photos and the list of shops you research never leave the browser. Here's how that shaped the build.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Architecture: a side panel and a content script
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"storage"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"activeTab"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"scripting"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"sidePanel"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nl"&gt;"host_permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="s2"&gt;"https://www.etsy.com/*"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s2"&gt;"https://*.etsystatic.com/*"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s2"&gt;"https://api.gumroad.com/*"&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;service worker&lt;/strong&gt; does almost nothing. It sets &lt;code&gt;chrome.sidePanel.setPanelBehavior({ openPanelOnActionClick: true })&lt;/code&gt; so clicking the toolbar icon opens a panel next to the page instead of a popup that closes when you click away. Long scans need a UI that stays open.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;content script&lt;/strong&gt; is declared for &lt;code&gt;etsy.com/listing/*&lt;/code&gt; and &lt;code&gt;etsy.com/shop/*&lt;/code&gt; (plus the localized &lt;code&gt;etsy.com/&amp;lt;locale&amp;gt;/...&lt;/code&gt; paths). For tabs that were already open before install, the panel asks the worker to inject it on demand with &lt;code&gt;chrome.scripting.executeScript&lt;/code&gt;, so users don't have to reload.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;side panel&lt;/strong&gt; owns state, analysis, exports and the photo download.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Host permissions are limited to Etsy, Etsy's image CDN (for photos) and Gumroad's license endpoint. There is no host permission for any server of mine because there isn't one.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Pagination without an API
&lt;/h2&gt;

&lt;p&gt;Etsy renders reviews in pages. The content script reads what's on screen, then finds the &lt;em&gt;next&lt;/em&gt; control rather than guessing URLs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Look for a "load more"-style button (short label, matched by a regex).&lt;/li&gt;
&lt;li&gt;Otherwise look inside the pagination &lt;code&gt;nav&lt;/code&gt;, find the active page (&lt;code&gt;aria-current="page"&lt;/code&gt; or the selected class), and click the button whose &lt;code&gt;data-page&lt;/code&gt; or text is N+1.&lt;/li&gt;
&lt;li&gt;Fall back to &lt;code&gt;rel="next"&lt;/code&gt; or an &lt;code&gt;aria-label&lt;/code&gt; containing "next" (with a couple of non-English variants).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Two lessons from testing on real pages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Seller replies load lazily.&lt;/strong&gt; Scraping immediately after a page change missed most of them. The script now waits for the reply blocks before reading.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reset between scans.&lt;/strong&gt; If a previous run left the pagination on page 7, a new scan starts there. The script jumps back to page 1 first.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There's also a stop button, because a 2,000-review shop takes a while and people change their minds.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Dates in nine languages
&lt;/h2&gt;

&lt;p&gt;Etsy shows dates in the visitor's language: "Oct 14, 2026", "14. Okt. 2026", "14 de octubre de 2026". A spreadsheet can't sort those. The parser has a month-name table for the languages Etsy commonly displays and a few regexes for "Month D, YYYY" and "D. Month YYYY" orders, and every date is written out as &lt;code&gt;YYYY-MM-DD&lt;/code&gt;. Boring, but it's the column people sort by first.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. A CSV that opens cleanly in Excel
&lt;/h2&gt;

&lt;p&gt;Three small details matter more than they should:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Prepend a &lt;strong&gt;UTF-8 BOM&lt;/strong&gt; (&lt;code&gt;\uFEFF&lt;/code&gt;), or Excel on Windows mangles accented and CJK text.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;\r\n&lt;/code&gt; line endings and quote any cell containing &lt;code&gt;"&lt;/code&gt;, &lt;code&gt;,&lt;/code&gt; or a newline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guard against formula injection.&lt;/strong&gt; A review that starts with &lt;code&gt;=&lt;/code&gt;, &lt;code&gt;+&lt;/code&gt;, &lt;code&gt;-&lt;/code&gt; or &lt;code&gt;@&lt;/code&gt; would be executed as a formula. Cells starting with those characters (but not plain negative numbers) get a leading &lt;code&gt;'&lt;/code&gt;.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;escapeCsvCell&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;val&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;val&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="s1"&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="o"&gt;/^&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;=+&lt;/span&gt;\&lt;span class="o"&gt;-&lt;/span&gt;@\&lt;span class="n"&gt;t&lt;/span&gt;\&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="o"&gt;!/^-?&lt;/span&gt;\&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&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;d&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;$&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sb"&gt;`'${s}`&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="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;",\n\r]/.test(s)) return `"&lt;/span&gt;&lt;span class="nv"&gt;${s.replace(/"/g, '""')}&lt;/span&gt;&lt;span class="s2"&gt;"`;
  return s;
}
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There's also a "Copy for Excel" button that writes tab-separated text to the clipboard, since many people just want to paste into Google Sheets.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. "Pain points" without an AI call
&lt;/h2&gt;

&lt;p&gt;I didn't want to send reviews to an LLM API (that would break the no-server rule and cost money per scan). The panel does something simpler:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A star breakdown, average and the share of 1–3★ reviews.&lt;/li&gt;
&lt;li&gt;Word frequency over the low-star reviews: lowercase, strip punctuation, drop stopwords and short tokens, and count each word &lt;strong&gt;once per review&lt;/strong&gt; so one long rant doesn't dominate. For Chinese text it counts two-character bigrams with a small stoplist.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's crude, but on a real listing it surfaces words like &lt;em&gt;broke&lt;/em&gt;, &lt;em&gt;sizing&lt;/em&gt;, &lt;em&gt;chart&lt;/em&gt;, &lt;em&gt;days&lt;/em&gt;, which is enough to tell you where to read. For deeper analysis there's a "Copy Prompt" button that bundles up to 150 reviews (lowest rating first) with instructions, so the user can paste it into whatever AI tool they already use. The data only goes there if they choose to paste it.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. A ZIP writer in ~100 lines
&lt;/h2&gt;

&lt;p&gt;Buyer photos were the most requested feature, and I didn't want a ZIP library. Photos are already JPEG-compressed, so &lt;strong&gt;store-only (method 0)&lt;/strong&gt; ZIP is fine: no deflate needed. A ZIP file is just, for each file, a local header + the bytes, then a central directory and an end record. The only real work is a CRC-32 table:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;crcTable&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;Uint32Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;256&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;256&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mh"&gt;0xedb88320&lt;/span&gt; &lt;span class="o"&gt;^&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1&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="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;crcTable&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&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;Downloads run with 4 concurrent fetches and a 15-second timeout each. Large sets are split into volumes of 80 photos (&lt;code&gt;part 1/3&lt;/code&gt;, …) because building one huge &lt;code&gt;Uint8Array&lt;/code&gt; in a side panel is a good way to run out of memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Licensing with no account system
&lt;/h2&gt;

&lt;p&gt;The free tier exports 50 reviews and 10 photos per scan. Pro is a one-time purchase on Gumroad; the panel verifies the license key against Gumroad's &lt;code&gt;/v2/licenses/verify&lt;/code&gt; endpoint, allows 3 activations, and re-checks silently every 7 days so refunds are respected. That license key is the only thing that ever leaves the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd tell someone building a similar extension
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Ask for the narrowest host permissions you can justify; it keeps the store review simple and the privacy story easy to explain.&lt;/li&gt;
&lt;li&gt;Test on real pages early. My mock DOM tests passed long before real seller replies did.&lt;/li&gt;
&lt;li&gt;Don't build an "AI feature" you have to pay for per user if a good prompt the user pastes themselves does the job.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;RevPulse is on the &lt;a href="https://chromewebstore.google.com/detail/ngbjpebfpoepaifgcflnhcbacaijgpld?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;Chrome Web Store&lt;/a&gt; (free tier, Pro is $19 one-time). Questions or bug reports: &lt;a href="mailto:outnnn@gmail.com"&gt;outnnn@gmail.com&lt;/a&gt;. And if you scrape anything, be a good citizen: read only public pages, don't republish reviewer names or photos, and don't use the data to contact buyers.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;RevPulse is an independent tool and is not affiliated with Etsy, Inc.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;More guides (CSV export, buyer-photo ZIP, competitor research): &lt;a href="https://revpulse.gameyn.cc/?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;https://revpulse.gameyn.cc/?utm_source=devto&amp;amp;utm_medium=article&lt;/a&gt;&lt;/p&gt;

</description>
      <category>chromeextension</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>privacy</category>
    </item>
  </channel>
</rss>
