<?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: Ramsudharsan Manoharan</title>
    <description>The latest articles on DEV Community by Ramsudharsan Manoharan (@ramsudharsan75).</description>
    <link>https://dev.to/ramsudharsan75</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%2F2467218%2Fa267aa5d-d1b2-45c8-9701-481c38fbfe45.jpg</url>
      <title>DEV Community: Ramsudharsan Manoharan</title>
      <link>https://dev.to/ramsudharsan75</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ramsudharsan75"/>
    <language>en</language>
    <item>
      <title>How I auto-prioritize page content on a static site (no backend)</title>
      <dc:creator>Ramsudharsan Manoharan</dc:creator>
      <pubDate>Mon, 08 Jun 2026 18:31:14 +0000</pubDate>
      <link>https://dev.to/ramsudharsan75/how-i-auto-prioritize-page-content-on-a-static-site-no-backend-1e79</link>
      <guid>https://dev.to/ramsudharsan75/how-i-auto-prioritize-page-content-on-a-static-site-no-backend-1e79</guid>
      <description>&lt;p&gt;I run a static site with a growing pile of small tools on it. The homepage shows a "Popular" row near the top, and for a while I just hand-picked what went in it. That worked until it didn't — the picks went stale, my guesses about what people actually used were usually wrong, and every new tool meant re-ranking a list by hand.&lt;/p&gt;

&lt;p&gt;The catch is that a static site has no server at request time to do the deciding. So people reach for one of two bad options: hardcode the order and let it rot, or bolt on a backend and stop being static.&lt;/p&gt;

&lt;p&gt;There's a third option that's simpler than both: &lt;strong&gt;decide the order at build time, from real data, and bake it into the HTML.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  One ranking, computed once
&lt;/h2&gt;

&lt;p&gt;You don't need per-visitor personalization to do a good job here. A single &lt;em&gt;global&lt;/em&gt; ranking — what's popular across everyone — gets you most of the value at zero runtime cost. Compute it during the build; the CDN serves plain HTML after.&lt;/p&gt;

&lt;p&gt;The ranking is two signals added together: an editorial seed I set by hand, plus a traffic score from analytics.&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;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;rankByPopularity&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nx"&gt;tools&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;readonly&lt;/span&gt; &lt;span class="nx"&gt;ToolMeta&lt;/span&gt;&lt;span class="p"&gt;[],&lt;/span&gt;
  &lt;span class="nx"&gt;gaScores&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;PopularityScores&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;number&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="k"&gt;readonly&lt;/span&gt; &lt;span class="nx"&gt;ToolMeta&lt;/span&gt;&lt;span class="p"&gt;[]&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[...&lt;/span&gt;&lt;span class="nx"&gt;tools&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;tool&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="nx"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;score&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;popularity&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;gaScores&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;slug&lt;/span&gt;&lt;span class="p"&gt;]&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="p"&gt;}))&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;score&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;score&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;localeCompare&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;scored&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;scored&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tool&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;tool.popularity&lt;/code&gt; is the seed baked into each tool's metadata. &lt;code&gt;gaScores[slug]&lt;/code&gt; is the real traffic number. New tools have no traffic yet, so &lt;code&gt;?? 0&lt;/code&gt; lets the seed carry them until the data shows up — cold-start solved in one operator. The alphabetical tiebreak keeps the order stable so it never flickers between builds.&lt;/p&gt;

&lt;p&gt;It's a pure function: no DOM, no fetch, no clock. That means I can unit-test the ranking with a fake &lt;code&gt;gaScores&lt;/code&gt; object instead of rendering a browser to find out what came out.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the traffic number comes from
&lt;/h2&gt;

&lt;p&gt;Once a week a small script hits the Google Analytics API, pulls 28 days of pageviews per tool page, normalizes the busiest to 1000, and writes a flat JSON file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"age-calculator"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"apr-calculator"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;182&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"base64"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;91&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then I commit it. The build imports it like any other module — no network call in CI, no API key in the critical path. If GA is down, the build doesn't care; it uses the last committed numbers.&lt;/p&gt;

&lt;p&gt;This is the part I'd argue about. Don't call the API at build time — commit the JSON. You get reproducible builds, traffic shifts you can read in a git diff, and rollback like any other file. The freshness you give up is a week, which does not matter for a popularity list.&lt;/p&gt;

&lt;p&gt;Viola! You have a automatic prioritization mechanism that works in static sites.&lt;/p&gt;

&lt;p&gt;See it in action here - &lt;a href="https://toolstray.com" rel="noopener noreferrer"&gt;ToolsTray&lt;/a&gt;, a free set of browser tools — the homepage ordering there is exactly this pipeline running. Explore it yourself and leave a like if you enjoyed it.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>astro</category>
      <category>seo</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Toolstray - Free and fast web tools, no-signup, no-watermark</title>
      <dc:creator>Ramsudharsan Manoharan</dc:creator>
      <pubDate>Sat, 06 Jun 2026 16:27:00 +0000</pubDate>
      <link>https://dev.to/ramsudharsan75/i-built-25-free-no-signup-browser-tools-heres-what-and-why-47fk</link>
      <guid>https://dev.to/ramsudharsan75/i-built-25-free-no-signup-browser-tools-heres-what-and-why-47fk</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;a href="https://toolstray.com" rel="noopener noreferrer"&gt;ToolsTray&lt;/a&gt;&lt;/strong&gt; is a collection of 40+ small web tools — calculators, converters, generators and formatters — each built to do one job quickly and get out of your way.&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%2Fqrze4ygpxqcq7gcba2i6.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%2Fqrze4ygpxqcq7gcba2i6.png" alt="toolstray screenshot" width="799" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why I built it&lt;/strong&gt;: I kept hitting the same friction — search basic, land on a slow page buried by paywalls (known after processing), watermark addition and forced logins for something that should take two seconds.&lt;/p&gt;

&lt;p&gt;So I made the opposite: open the tool, use it, leave. No signup, no install, no paywall.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A few of the tools live today:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;QR code generator (PNG/SVG)&lt;/li&gt;
&lt;li&gt;Image compressor + resizer&lt;/li&gt;
&lt;li&gt;Base64 / URL / HTML-entity encoders, hash + UUID generators, number-base converter&lt;/li&gt;
&lt;li&gt;JSON formatter, regex tester&lt;/li&gt;
&lt;li&gt;Loan/EMI, mortgage, SIP, compound-interest, percentage and age calculators&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tech&lt;/strong&gt;: static Astro (islands) on Cloudflare, Tailwind v4 + Basecoat (no React) — adding a tool is adding one module, Typescript, Biome, Vitest.&lt;/p&gt;

&lt;p&gt;Try it, bookmark it! It's young, so the catalog has gaps. What tool would you want next, and what felt rough?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>productivity</category>
      <category>sideprojects</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
