<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alexandre PENOMBRE on Medium]]></title>
        <description><![CDATA[Stories by Alexandre PENOMBRE on Medium]]></description>
        <link>https://medium.com/@alexandre.penombre?source=rss-da7c294d5294------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*J03oVdPWMPskhFJYWt4Pnw.jpeg</url>
            <title>Stories by Alexandre PENOMBRE on Medium</title>
            <link>https://medium.com/@alexandre.penombre?source=rss-da7c294d5294------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 03:38:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alexandre.penombre/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I monitor my Claude Code usage on a 3.5-inch screen]]></title>
            <link>https://ai.plainenglish.io/how-i-monitor-my-claude-code-usage-on-a-3-5-inch-screen-d6eeb058fe14?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6eeb058fe14</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Sun, 07 Jun 2026 10:36:31 GMT</pubDate>
            <atom:updated>2026-06-07T10:36:31.594Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, I bought a small 3.5 inch monitoring display.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*8BPIvQuPxRpc05dMUKKSgw.jpeg" /><figcaption>3.5&quot; USB-C Monitor</figcaption></figure><p>A fun little gadget from AliExpress that turned out to be surprisingly useful.</p><p>Insert monitor image here</p><p>I paid just €17 for it and honestly have no regrets. It connects through USB C and works flawlessly on Linux.</p><p>Product link <a href="https://s.click.aliexpress.com/e/_c4KG9IvJ">here</a> (this is an affiliate link).</p><p>I’m currently using it on my server through an open source project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8PdCZtWrG9ZfiAp4hkGy1Q.jpeg" /><figcaption>default project screen</figcaption></figure><p>Out of the box, the project already exposes a lot of useful metrics:</p><p>- CPU temperature<br>- CPU usage<br>- CPU frequency<br>- GPU temperature<br>- GPU usage<br>- GPU frequency<br>- RAM usage<br>- Disk usage</p><h3>How I use it</h3><p>Since I spend a significant part of my day working with Claude Code, I wanted something a bit more specific than standard hardware monitoring.</p><p>So I forked the project and added a custom module dedicated to tracking my Claude Code consumption.</p><p>The new screen displays:</p><p>- Token consumption over the current 5 hour window (%)<br>- Weekly token consumption (%)<br>- Sonnet usage (%)<br>- Additional credits consumed beyond the subscription plan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RnloBtHk80IP22fKlR5pdw.jpeg" /><figcaption>New custom screen</figcaption></figure><p>Tada 🎉🎉</p><p>Repository link <a href="https://github.com/aluzed/turing-smart-screen-python">here</a>.</p><p>The result is surprisingly practical. While working, I can instantly see how much of my Claude plan I’ve consumed without opening dashboards, browser tabs, or checking usage pages.</p><p>It’s always visible right next to my workstation.</p><h4>Shortcuts</h4><pre>CTRL + SHIFT + END <br><br>CTRL + SHIFT + HOME</pre><p>Use these shortcuts to switch between screens.</p><p>Enjoy 😉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6eeb058fe14" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/how-i-monitor-my-claude-code-usage-on-a-3-5-inch-screen-d6eeb058fe14">How I monitor my Claude Code usage on a 3.5-inch screen</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rethinking the Clipboard: Why I Built Power Clipboard]]></title>
            <link>https://medium.com/@alexandre.penombre/rethinking-the-clipboard-why-i-built-power-clipboard-4c9d9db4e116?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c9d9db4e116</guid>
            <category><![CDATA[clipboard]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[tauri]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Tue, 24 Mar 2026 17:42:12 GMT</pubDate>
            <atom:updated>2026-03-24T17:42:12.676Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7XmSoujJu_H0kLYD92mnzQ.gif" /></figure><p>We copy and paste constantly.</p><p>Code snippets, logs, URLs, prompts, pieces of documentation — small fragments of information that we move across tools all day long. It’s such a fundamental interaction that we barely think about it anymore.</p><p>And yet, the tool we rely on for all of this is still incredibly primitive.</p><p>The clipboard, as it exists today, is essentially a single-slot memory. You copy something, and whatever was there before is gone. Copy again, and the previous value disappears. There is no structure, no persistence, no real way to navigate what you’ve handled just moments ago.</p><p>For something so central to modern workflows, it’s surprisingly limiting.</p><h3>The Hidden Cost of a “Simple” Tool</h3><p>At first glance, this doesn’t seem like a big deal. Copy, paste, move on.</p><p>But in practice, the limitations of the clipboard introduce constant micro-frictions:</p><ul><li>You copy something, then overwrite it unintentionally</li><li>You need to go back to an app just to copy the same value again</li><li>You lose track of something you had just a few seconds ago</li><li>You break your flow to recover information you already handled</li></ul><p>Individually, these moments are small. But repeated dozens or hundreds of times a day, they add up — not just in time, but in cognitive load.</p><p>You’re not just losing seconds. You’re losing focus.</p><h3>From Disposable Buffer to Usable Memory</h3><p>That’s the idea behind <strong>Power Clipboard</strong>:</p><p>👉 <a href="https://github.com/aluzed/power-clipboard">https://github.com/aluzed/power-clipboard</a></p><p>Instead of treating the clipboard as a temporary buffer, the goal is to turn it into something closer to a <strong>usable memory</strong>.</p><p>A place where what you copy doesn’t just disappear, but remains accessible, navigable, and actually helpful.</p><p>Not overloaded with features. Not trying to do everything. Just solving the core problem properly.</p><h3>A Small Detail That Changes Everything: Uniqueness</h3><p>One of the key design decisions in Power Clipboard is simple:</p><blockquote><em>The same value should never appear twice in the history.</em></blockquote><p>This might sound trivial, but it has a big impact.</p><p>Most clipboard managers end up cluttered very quickly. If you copy the same command or snippet multiple times, your history fills with duplicates. Finding what you need becomes harder, not easier.</p><p>By enforcing uniqueness:</p><ul><li>The history stays clean</li><li>Navigation becomes faster</li><li>Signal replaces noise</li></ul><p>It turns the clipboard from a log into something closer to a curated memory.</p><h3>What It Actually Changes in Practice</h3><p>Consider a typical workflow:</p><p>You’re moving between a terminal, an IDE, documentation, and maybe an AI assistant. You copy a command, then a response, then a piece of configuration.</p><p>Without any history, every new copy overwrites the previous one. If you need something again, you have to go back and fetch it manually.</p><p>With a managed clipboard:</p><ul><li>You keep everything you’ve copied</li><li>You can navigate through it instantly</li><li>You don’t need to retrace your steps</li></ul><p>The result is simple but powerful: fewer interruptions, less context switching, and a much smoother flow.</p><h3>Why Another Clipboard Manager?</h3><p>It’s a fair question. Clipboard managers already exist, and some of them are quite advanced.</p><p>But many of them tend to go in the same direction:</p><ul><li>More features</li><li>More complexity</li><li>More configuration</li><li>Heavier interfaces</li></ul><p>They often solve the problem on paper, but introduce new friction in practice.</p><p>Power Clipboard takes a different approach:</p><ul><li>Keep it lightweight</li><li>Focus on speed</li><li>Prioritize clarity over feature accumulation</li></ul><p>It’s not about doing more. It’s about doing the essential thing better.</p><h3>A Project Built Around Friction Reduction</h3><p>This project is rooted in a simple observation:</p><blockquote><em>Small, repeated frictions compound into significant costs.</em></blockquote><p>Copy-paste is one of those invisible layers of interaction that we rarely question, even though we use it constantly.</p><p>If each interaction costs just a bit more attention than it should, the overall impact on productivity and focus becomes very real.</p><p>Power Clipboard is an attempt to reduce that cost.</p><h3>Open Source by Design</h3><p>This is an open source project for a reason.</p><p>Clipboard usage is deeply personal. Everyone has different workflows, different tools, different habits. There isn’t a single “perfect” solution.</p><p>By keeping it open:</p><ul><li>Anyone can adapt it to their needs</li><li>Contributions can shape its evolution</li><li>It can integrate into a wide range of environments</li></ul><h3>Closing Thoughts</h3><p>The clipboard hasn’t really evolved in decades, despite being one of the most frequently used tools in computing.</p><p>Power Clipboard doesn’t try to reinvent everything. It simply questions one assumption:</p><p>What if the clipboard wasn’t disposable?</p><p>Sometimes, improving a workflow isn’t about adding something new. It’s about fixing something we’ve stopped noticing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c9d9db4e116" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Light Whisper, global voice to text, built to move faster]]></title>
            <link>https://medium.com/@alexandre.penombre/light-whisper-global-voice-to-text-built-to-move-faster-fefc973ec95e?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/fefc973ec95e</guid>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[nvidia]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[whisper]]></category>
            <category><![CDATA[transcription]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Thu, 19 Feb 2026 22:58:46 GMT</pubDate>
            <atom:updated>2026-02-19T22:58:46.269Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*eRv16aCT3SmrAdv9GeRTig.gif" /></figure><p><strong>Light Whisper</strong> is an open source desktop application that turns your voice into text anywhere on your system. The idea is straightforward. You trigger a global shortcut, speak naturally, and the transcribed text is automatically inserted into the active application. There is no manual copy paste, no switching between windows, and no extra friction in your workflow.</p><p>The project is built with Tauri, combining a <strong>Rust</strong> backend for performance with a lightweight frontend. The focus from day one was clarity and efficiency, not complexity.</p><p>For speech recognition, <strong>Light Whisper</strong> integrates two engines.</p><p>It supports <strong>Whisper</strong> through whisper.cpp, which is stable and well known for its accuracy. You can choose different model sizes depending on whether you prioritize speed or precision.</p><p>It also integrates <strong>Parakeet</strong> TDT v3 through ONNX Runtime, with automatic language detection and support for multiple European languages.</p><h3>How it works in practice</h3><p>When you press the global shortcut, which is Alt + Space by default, recording starts immediately. Once you finish speaking, the audio is transcribed locally on your machine. The resulting text is then injected directly into the active application.</p><p>Everything happens in place. You stay in your IDE, your editor, your browser, or your email client. <strong>Light Whisper</strong> simply adds a voice layer on top of your existing tools.</p><h3>Cross platform support</h3><p><strong>Linux</strong> and <strong>macOS</strong> are currently supported and working.</p><p><strong>Windows</strong> support is planned next. I have not yet taken the time to properly test and validate the <strong>Windows</strong> version, but the architecture is ready. What remains is real world testing and polishing.</p><h3>Yes, it is vibecoded</h3><p><strong>Light Whisper</strong> is vibecoded, and that is a deliberate choice.</p><p>The goal was not to build an over engineered platform or introduce unnecessary abstractions. The goal was to ship something useful, quickly, and keep it focused on solving a concrete problem. The code is pragmatic, the architecture is simple, and the scope is controlled.</p><p>Sometimes the best tools are the ones that do not try to do everything.</p><h3>Why I built it</h3><p>The objective is simple, to help people move faster.</p><p>Most of us think faster than we type. Whether you are drafting documentation, writing emails, capturing ideas, or interacting with AI systems, voice can be a natural productivity multiplier.</p><p><strong>Light Whisper</strong> does not try to replace your existing tools. It integrates into them and removes friction from text input. You keep your stack, you keep your habits, and you gain speed.</p><p>The project is released under the <strong>MIT</strong> license, so you are free to fork it, adapt it, or integrate parts of it into your own projects.</p><p>If you appreciate focused tools that solve a real problem and stay out of your way, <strong>Light Whisper</strong> was built with you in mind.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fefc973ec95e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install and run BitNet locally on your machine]]></title>
            <link>https://medium.com/@alexandre.penombre/how-to-install-and-run-bitnet-locally-on-your-machine-b597ca493212?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/b597ca493212</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[bitnet]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Thu, 05 Jun 2025 11:47:04 GMT</pubDate>
            <atom:updated>2025-06-05T11:47:04.489Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S6BrYEcOsUYnYEJlD_gKzw.png" /></figure><h3>What exactly is BitNet?</h3><p>BitNet is a major leap forward in the world of LLMs: models quantized to <strong>1.58 bits</strong>, able to run <strong>locally</strong> on CPU or GPU with <strong>surprisingly good performance</strong>, without compromising generation quality.</p><p>It’s the result of cutting-edge <strong>Microsoft research</strong>, with a clear goal: <strong>make LLMs more accessible, more energy-efficient, and more portable</strong>.</p><p>And despite how it sounds, this isn’t just a proof of concept. BitNet can already run multi-billion parameter models <strong>on a laptop, no GPU required</strong>.</p><p>Some key highlights:</p><ul><li><strong>1.58-bit quantization</strong> = way lighter than 8-bit or 4-bit LLMs</li><li>Runs on <strong>ARM (Mac M1/M2), x86</strong>, GPU and soon NPU</li><li>Up to <strong>6× faster</strong>, <strong>70–80% less energy usage</strong></li><li>Built on <strong>llama.cpp foundations</strong>, but optimized for 1-bit inference</li></ul><p>Before <strong>BitNet</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QKKI_52DaaRQP_nJ.jpg" /></figure><p>After <strong>BitNet</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vDyena0i521P_aPM.jpg" /></figure><p>In short, the ambition is to run AI on small devices (yes, even a <strong>Raspberry Pi</strong>).</p><p>And here’s the best part: <strong>it works locally!</strong><br> Your machine’s specs will impact execution speed, but running the model doesn’t require a powerful setup.</p><h3>Installation</h3><p>I still recommend a reasonably capable machine. I’m running <strong>Linux</strong>, but it should work just fine on <strong>Windows</strong> or <strong>macOS</strong>.</p><p>My setup: <strong>R9 3950x, 32GB RAM, RTX 2080 Ti 11GB</strong></p><p>Start by installing <strong>Python 3</strong>; I’m using <strong>3.10</strong>.</p><p>We’ll set up a virtual environment to avoid dependency issues:</p><pre># If you don&#39;t have venv installed<br>sudo apt install python3-venv<br><br>python3 -m venv bitnet-env</pre><p>Then activate the virtual environment:</p><pre>source bitnet-env/bin/activate</pre><p>Install the required dependencies:</p><pre>pip install torch==2.3.0 transformers==4.40.1 numpy==1.26.4 accelerate<br>pip install git+https://github.com/huggingface/transformers.git@096f25ae1f501a084d8ff2dcaf25fbc2bd60eba4</pre><h3>Running BitNet locally</h3><p>Microsoft shared BitNet on <strong>Hugging Face</strong>, along with a sample script to get started quickly.</p><p>Let’s create a simple script.py file with a slightly customized version to make it interactive:</p><pre>import torch<br>from transformers import AutoModelForCausalLM, AutoTokenizer<br><br>model_id = &quot;microsoft/bitnet-b1.58-2B-4T&quot;<br># Load tokenizer and model<br>tokenizer = AutoTokenizer.from_pretrained(model_id)<br>model = AutoModelForCausalLM.from_pretrained(<br>    model_id,<br>    torch_dtype=torch.bfloat16<br>)<br># Apply the chat template<br>messages = [<br>    {&quot;role&quot;: &quot;system&quot;, &quot;content&quot;: &quot;You are a comedian AI assistant.&quot;},<br>    {&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Can you tell me a joke?&quot;},<br>]<br>prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)<br>chat_input = tokenizer(prompt, return_tensors=&quot;pt&quot;).to(model.device)<br># Generate response<br>chat_outputs = model.generate(**chat_input, max_new_tokens=50)<br>response = tokenizer.decode(chat_outputs[0][chat_input[&#39;input_ids&#39;].shape[-1]:], skip_special_tokens=True)<br>print(&quot;\nAssistant Response:&quot;, response)</pre><p><strong>Run it</strong> 🚀</p><pre>python3 script.py</pre><p>And voilà 🎉:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*or6sio64vVgBdi3u.png" /></figure><p>Happy coding 😉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b597ca493212" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Next.js + Strapi + PostgreSQL Boilerplate for SSR Projects]]></title>
            <link>https://javascript.plainenglish.io/a-next-js-strapi-postgresql-boilerplate-for-ssr-projects-ec1c3bad3099?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec1c3bad3099</guid>
            <category><![CDATA[strapi]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[boilerplate]]></category>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Wed, 28 May 2025 09:27:47 GMT</pubDate>
            <atom:updated>2025-05-29T00:01:03.808Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RiFtwY473nDdRlX6_F-deA.png" /></figure><p>Recently, I shared a real-time boilerplate using Vite, React, TypeScript and Supabase. This time, I’m releasing another starter kit, one designed specifically for projects that require <strong>server-side rendering (SSR)</strong>.</p><p>The stack? <strong>Next.js 15 + Strapi 5 + PostgreSQL</strong>, wrapped in a clean <strong>PNPM monorepo</strong>, with Docker to speed things up.</p><p>🔗 <a href="https://github.com/aluzed/next-strapi-monorepo">GitHub repo here</a></p><h3>Why this boilerplate?</h3><p>Because not everything needs to be real-time. When you’re building blogs, e-commerce sites or anything that needs to be SEO-ready, SSR becomes essential. This boilerplate gives you a solid structure, a clean TypeScript-based Strapi backend, and a well-separated front and back.</p><p><em>📦 </em><strong><em>Tech stack</em></strong><em>:</em></p><ul><li>Next.js 15 (App Router + React Query)</li><li>Strapi 5 (in TypeScript)</li><li>PostgreSQL with PGAdmin via Docker</li><li>JWT auth + full CRUD</li><li>PNPM Monorepo + Docker Compose</li></ul><h3>Quick setup with Docker and PGAdmin</h3><p>I kept it simple.</p><p>Install pnpm:</p><pre>npm i -g pnpm</pre><p>Clone the repo, run Docker Compose (Postgres + PGAdmin) with your environment vars, add your environment files (.env files for <strong>apps/frontend</strong> and <strong>apps/backend</strong>).</p><p>Install the dependencies:</p><pre>pnpm i</pre><p>And you’re good to go.</p><p>Everything’s documented in the <strong>README</strong>.</p><h3>The backend: minimal but powerful Strapi TS</h3><p>The backend runs Strapi in TypeScript, no JavaScript. It includes a basic task collection and a user system. You can easily extend your models through Strapi’s admin panel to fit your use case.</p><blockquote><em>⚙️ Bonus: OpenSSL commands are provided to generate the required keys. No headaches.</em></blockquote><h3>The frontend: Next.js as your gateway</h3><p>The frontend is a Next.js app that acts as a <strong>gateway to Strapi</strong>. That means you <strong>never expose Strapi’s API endpoints directly</strong>.</p><p>All requests go through custom API routes in Next.js (/api/login, for instance), which then call the Strapi backend. It’s secure and modular—perfect for production where you&#39;d rather keep your backend isolated.</p><blockquote><em>✅ JWT-based authentication<br>✅ Token stored in localStorage<br>✅ Custom React hooks for auth, tasks, etc.</em></blockquote><h3>CRUD powered by React Query</h3><p>The app includes a simple todo-list to demonstrate full <strong>CRUD</strong>. It uses React Query for fetching and caching, so you get smooth UX and automatic revalidation when something changes. No manual refetching required.</p><h3>Project structure</h3><ul><li>components/: reusable UI parts</li><li>hooks/: login, tasks, and more</li><li>types/: TypeScript definitions from Strapi</li><li>lib/: query client and global utils</li><li>pages/: login, logout, and the main task page</li></ul><h3>Modular and scalable</h3><p>This boilerplate is built to grow.</p><p>Want a new model like Product? Create it in Strapi, define your fields, and your backend is ready.</p><p>You already have the hooks and structure to wire it up on the frontend fast.</p><h3>In short</h3><p>If you’re building a project that <strong>needs SSR,</strong> like a blog, a storefront or a portfolio, this is a clean, modular, and ready-to-ship base.</p><p>I personally use a similar structure for my own blog. Think of it like a modern, real-world alternative to Create React App, but for <strong>Next.js and Strapi</strong>.</p><p>🔗 <a href="https://github.com/aluzed/next-strapi-monorepo">GitHub repo here</a></p><p><strong>🚀 Grab the boilerplate, run it, tweak it, ship it.</strong><br>If you found it useful, feel free to give it a few claps, it really helps support the work and keeps me motivated to share more like this 🙌</p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://differ.blog/inplainenglish"><strong>Differ</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec1c3bad3099" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/a-next-js-strapi-postgresql-boilerplate-for-ssr-projects-ec1c3bad3099">A Next.js + Strapi + PostgreSQL Boilerplate for SSR Projects</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A real-time-ready boilerplate with Vite, React and Supabase]]></title>
            <link>https://javascript.plainenglish.io/a-real-time-ready-boilerplate-with-vite-react-and-supabase-cb593a2d8be7?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb593a2d8be7</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[vitejs]]></category>
            <category><![CDATA[supabase]]></category>
            <category><![CDATA[boilerplate]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Tue, 20 May 2025 19:26:01 GMT</pubDate>
            <atom:updated>2025-05-21T00:32:34.066Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VPbKubOVzQQzhlqTdSl0Hg.png" /></figure><p>If you’re like me, you’ve probably typed npx create-react-app more times than you&#39;d like to admit, only to spend the next hour setting up routing, authentication, Tailwind, and state management... again.</p><p>So at some point, I decided to stop wasting time and built myself a proper boilerplate.</p><p>Today I’m sharing it with you.</p><p>It’s a lightweight starter kit based on:</p><ul><li>Vite (for blazing-fast dev setup)</li><li>React + TypeScript</li><li>Supabase (PostgreSQL + real-time + Auth)</li><li>Tailwind, React Query, React Hook Form, React Router</li></ul><blockquote><em>🔗 </em><a href="https://github.com/aluzed/vite-react-ts-supabase"><em>GitHub repo here</em></a></blockquote><p>It’s the kind of project I personally clone when I want to test an idea, ship a dashboard, or build a small internal tool without dealing with boilerplate setup. It comes with real-time features out of the box, private routes, toast notifications, and a simple to-do CRUD to help you get started fast.</p><p>Let’s dive into what’s inside.</p><h3>What’s included</h3><p>Here’s a quick overview of what the repo sets up for you:</p><ul><li><strong>Authentication</strong> with Supabase (email + password)</li><li><strong>Real-time subscriptions</strong> to PostgreSQL changes (insert/delete)</li><li><strong>Protected routes</strong> using a custom layout and context</li><li><strong>Reusable hooks</strong> for your queries and mutations</li><li><strong>A sample table + SQL script</strong> to create your schema instantly</li><li><strong>Basic CRUD app</strong> to get started: tasks are stored in Supabase and updated in real-time with subscriptions</li></ul><p>The project uses Tailwind for styling, Toastify for notifications, and React Router DOM to handle navigation between login, dashboard, and homepage. Everything is structured to help you move fast while keeping your code clean and maintainable.</p><h3>Real-time made easy with Supabase</h3><p>You have a <strong>sample-db.sql</strong> that you’ll have to run in your <strong>Supabase Studio</strong>.</p><p>One of the highlights is the real-time integration. In your Supabase dashboard, just make sure to enable <strong>“Realtime”</strong> on the task table. Once that’s done, any insert/delete will automatically trigger an event.</p><p>In the hook that fetches the tasks, I set up a subscription to listen for these changes. When an event occurs, we directly update the <strong>query cache</strong> using React Query’s client. This keeps the UI in sync without needing to refetch manually.</p><p>This setup is great if you plan on adding animations or cascading updates based on specific DB changes.</p><h3>Architecture and folder structure</h3><p>A few choices that reflect my dev workflow:</p><ul><li><strong>Hooks folder</strong>: I never write queries directly in the pages. Hooks encapsulate logic, make it reusable, and reduce the risk of duplication. Following the DRY principle here is a huge win when maintaining features across multiple views.</li><li><strong>Context</strong>: Used for auth state and route protection. Simple, efficient, and enough for most cases.</li><li><strong>Routing</strong>: Basic setup with three routes (home, login, dashboard). ProtectedRoute checks if the user is authenticated, and redirects otherwise.</li><li><strong>Env setup</strong>: Just drop your Supabase URL and anon key in the .env file and you’re good to go. No server-side rendering or SSR setup here — this is a pure SPA.</li></ul><h3>What it’s for — and what it’s not</h3><p>This starter kit isn’t designed for SEO-heavy apps or public websites. There’s no server-side rendering. If you want to rank on Google, you’ll need a separate public-facing landing page.</p><p>What it <strong>is</strong> perfect for:</p><ul><li>Admin dashboards</li><li>Internal tools</li><li>Real-time apps with simple auth</li><li>MVPs and fast prototyping</li></ul><p>For example: a POS system, a collaborative editor, or any app where users interact in real time and SEO doesn’t matter.</p><h3>Final thoughts</h3><p>This is the kind of boilerplate I reuse on most of my side projects. It helps me skip the boring setup phase and focus on building actual features.</p><p>Feel free to fork it, strip it down, or extend it depending on your needs. You’ve already got pagination, real-time subscriptions, auth, and a clean architecture to build upon.</p><blockquote><em>GitHub repo: </em><a href="https://github.com/aluzed/vite-react-ts-supabase"><em>https://github.com/aluzed/vite-react-ts-supabase</em></a></blockquote><p>Let me know if you find it useful, and if you’d like to see a version with Next.js SSR in the future, hit me up in the comments.</p><p>Happy coding.</p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://differ.blog/inplainenglish"><strong>Differ</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb593a2d8be7" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/a-real-time-ready-boilerplate-with-vite-react-and-supabase-cb593a2d8be7">A real-time-ready boilerplate with Vite, React and Supabase</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This website is worth $100M]]></title>
            <link>https://medium.com/@alexandre.penombre/this-website-is-worth-100m-64c1323b74ba?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/64c1323b74ba</guid>
            <category><![CDATA[ideas]]></category>
            <category><![CDATA[make-money-online]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Mon, 19 May 2025 13:35:48 GMT</pubDate>
            <atom:updated>2025-05-19T13:35:48.181Z</atom:updated>
            <content:encoded><![CDATA[<p>Sometimes we overthink our next project idea.</p><p>As tech people, we’re even more prone to hesitation, our technical skills make everything possible, which often leads us to build things that are… way too complex.</p><p>But there are projects out there that don’t overthink. They start with something simple, even basic.</p><p>Does that simplicity hurt their chances of success?</p><p>By success, I mean being <strong>truly useful</strong> to users while also managing to <strong>generate revenue</strong> by delivering value.</p><h3>The calculator.net case</h3><p>Hold on folks.</p><p>We’re out here building <strong>SaaS</strong>, experimenting with <strong>AI</strong>, launching <strong>collaborative webapps</strong>, and <strong>mobile apps, </strong>meanwhile, <a href="https://calculator.net/">this website</a> is worth nearly $100M:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fNIb-nGIkoMqNS7k.png" /></figure><p>Sounds like a joke?</p><p>Hate to break it to you, but it’s absolutely not a joke, and I can explain how it’s possible.</p><p>Take a look:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e-tMiEOj6YNXeR_N.png" /></figure><p>Ever heard of this tool?</p><p>Worth of Web is a well-known and reliable site evaluation tool.</p><p>Now that you know the exact estimate for <strong>calculator.net</strong>, let me tell you, this isn’t just a lucky strike. Behind this seemingly simple site lies a <strong>real strategy</strong>.</p><h3>How do you make $17M/year?</h3><h3>What actually brings in the money?</h3><p>First, and this might surprise a few people: <strong>they don’t sell anything</strong> on the entire site.</p><p>You can browse every single page, flip it upside down, <strong>there’s nothing for sale</strong>, no crazy 300% margin product, nothing.</p><blockquote><em>So how the hell do they make money?</em></blockquote><p>They do generate income, just not from products. They do it <strong>entirely through advertising</strong>.</p><p>Now, if you’re thinking “Ads don’t make money anymore, everyone uses Adblock,” think again.</p><p><strong>Adblock only works on desktop.</strong></p><p>Sure, some people install ad blockers on mobile and tablets, but most of those apps are riddled with <strong>spyware, </strong>I wouldn’t recommend them.</p><p>So yes, ads do get served. And crucially, <strong>no one’s forcing you to buy anything</strong>. You just get on with what you came for.</p><p>On calculator.net, ads are tucked away in a corner, not disruptive at all, nothing like the media websites overloaded with popups and autoplay videos.</p><p>Personally, I’ve stopped using those content-hostile media sites. I blacklist anything unreadable (you can even tell Google not to suggest them anymore). In some cases, less than 10% of the screen is actual content, the rest is junk.</p><p>Here’s an example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*TF6pF-duTf5aBY_Q.jpg" /></figure><p>☝️ that’s the kind of site I avoid like the plague.</p><p>What <strong>calculator.net</strong> does right is <strong>respecting the user</strong>. And I believe that when you respect your users, they reward you for it.</p><h3>Why does this ad strategy work so well here?</h3><p>As I said earlier, nothing about this is random. The success of <strong>calculator.net</strong> is almost predictable because it checks several very strategic boxes.</p><p>What sets it apart is its <strong>SEO strategy</strong>.</p><p>Now, when I say SEO, most people think “Yeah, they’re on Google,” or “They probably bought traffic” (which is <strong>SEA</strong>, by the way), or maybe “They published blog articles.”</p><p>No. What they had was a <strong>real SEO play</strong>.</p><h4>Exact Match Domain</h4><p>They used an <strong>EMD</strong> (Exact Match Domain). That means the website’s URL <em>is</em> the function it provides.</p><p>So when someone lands on this site, they’re clearly <strong>looking for a calculator</strong>.</p><p>That’s exactly what they get. Which is why calculator.net shows up first when you Google “calculator.” Google is watching.</p><p>If someone landed there and didn’t find what they expected, they’d hit “back” immediately, and Google would drop the site in the rankings. But in this case, people <em>do</em> find a calculator, and <em>stay</em>.</p><p>An <strong>EMD</strong> only works if it aligns with intent.</p><p>Take a domain like <strong>buy-movie-tickets.com</strong>. If you list affiliate links or write a top-5 article about where to buy tickets, but <strong>don’t actually sell tickets, </strong>you won’t rank long term.</p><p>Yes, the domain fits the keyword, but <strong>not the intent</strong>.</p><p>If you want a high-performing EMD, it must match <strong>both the keyword and the user’s intent</strong>.</p><h4>Semantic coverage</h4><p>What calculator.net does exceptionally well is <strong>covering a broad semantic field</strong> around its core function.</p><p>It doesn’t just rank for “calculator”, it ranks for tons of related keywords like:</p><ul><li>calculate a date</li><li>BMI calculator</li><li>retirement planning calculator</li><li>loan interest calculator</li><li>and so on…</li></ul><blockquote><em>That’s just brilliant execution.</em></blockquote><p>They’ve become the go-to destination for anything remotely related to “calculation.”</p><p>And that’s why <strong>they dominate search rankings with this kind of strategy</strong>.</p><h3>Final thoughts</h3><p>As you can see, calculator.net isn’t just a simple tool, and it’s not lucky timing either.</p><p><strong>The site was designed to drive massive traffic and, as a consequence, serious revenue.</strong></p><p>Through smart positioning, they secured the perfect high-value keyword <em>and</em> built out a semantic network that boosts their visibility across related searches.</p><p>They didn’t go for aggressive advertising. Instead, they <strong>respected their users</strong>, delivered real utility, and built long-term trust.</p><p>Bottom line: <strong>calculator.net had all the right ingredients to become a $17M/year website.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64c1323b74ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Local useQuery vs Custom Hook]]></title>
            <link>https://javascript.plainenglish.io/local-usequery-vs-custom-hook-8861fd599772?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/8861fd599772</guid>
            <category><![CDATA[react-query]]></category>
            <category><![CDATA[dry]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Wed, 14 May 2025 19:42:28 GMT</pubDate>
            <atom:updated>2025-05-15T05:58:00.388Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Hello fellow React developers,</strong></p><p>I keep seeing posts on LinkedIn from developers who are thrilled to discover life itself (kidding)… or rather <strong>React Query </strong>and that’s great news!</p><p>I’m genuinely glad the tool is gaining traction because it opens up a lot of possibilities:</p><ul><li>better <strong>network request optimization and caching</strong></li><li>a cleaner, <strong>DRY-first</strong> approach</li><li>even a <strong>real-time-like UX</strong> if you play your cache strategy right</li></ul><p>But too many developers still make the same mistake: using <strong>React Query directly inside their pages</strong>. And while it technically works, it’s far from the most scalable way to use it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IfJMhhoXhd3W5jxoH1fwIQ.png" /></figure><h3>The typical React page issue</h3><p>Let’s assume you already know React Query and you’ve set up your custom <strong>QueryProvider</strong>.</p><p>Here’s what a classic usage looks like:</p><pre>&#39;use client&#39;<br><br>import { useQuery } from &#39;@tanstack/react-query&#39;<br>type Fruit = {<br>  id: number<br>  name: string<br>}<br>export default function FruitsPage() {<br>  const { data, isLoading, error } = useQuery({<br>    queryKey: [&#39;fruits&#39;],<br>    queryFn: async (): Promise&lt;Fruit[]&gt; =&gt; {<br>      await new Promise((r) =&gt; setTimeout(r, 500))<br>      return [<br>        { id: 1, name: &#39;Apple&#39; },<br>        { id: 2, name: &#39;Banana&#39; },<br>        { id: 3, name: &#39;Strawberry&#39; },<br>      ]<br>    },<br>  })<br>  if (isLoading) return &lt;p&gt;Loading...&lt;/p&gt;<br>  if (error) return &lt;p&gt;Error loading data&lt;/p&gt;<br>  return (<br>    &lt;div&gt;<br>      &lt;h1&gt;Fruits list&lt;/h1&gt;<br>      &lt;ul&gt;<br>        {data?.map((fruit) =&gt; (<br>          &lt;li key={fruit.id}&gt;{fruit.name}&lt;/li&gt;<br>        ))}<br>      &lt;/ul&gt;<br>    &lt;/div&gt;<br>  )<br>}</pre><p>It works, it renders. Everything seems fine. So why change anything?</p><p>Because you’re missing out on a core architectural principle.</p><h3>Applying good practices with React</h3><p>In any project that consumes an API, endpoints are often reused across components and pages.</p><p>Sooner or later you’ll face these questions:</p><ul><li>How do we ensure <strong>Separation of Concerns</strong> so that the view and the data fetching logic stay decoupled?</li><li>How do we follow <strong>DRY</strong> principles across the app?</li></ul><p>And if your goal is <strong>maintainable code</strong>, you’ll want to start abstracting and isolating concerns early.</p><p><strong>React gives us the tools to do it through custom hooks.</strong></p><p>Let’s refactor this into something scalable and clean.</p><p>We extract the query into a dedicated file:</p><pre>// hooks/useGetFruits.ts<br>import { useQuery } from &#39;@tanstack/react-query&#39;<br><br>type Fruit = {<br>  id: number<br>  name: string<br>}<br>export function useGetFruits() {<br>  return useQuery({<br>    queryKey: [&#39;fruits&#39;],<br>    queryFn: async (): Promise&lt;Fruit[]&gt; =&gt; {<br>      await new Promise((r) =&gt; setTimeout(r, 300))<br>      return [<br>        { id: 1, name: &#39;Apple&#39; },<br>        { id: 2, name: &#39;Banana&#39; },<br>        { id: 3, name: &#39;Strawberry&#39; },<br>      ]<br>    },<br>  })<br>}</pre><p>Now, in our page component:</p><pre>&#39;use client&#39;<br><br>import { useGetFruits } from &#39;@/hooks/useGetFruits&#39;<br>export default function FruitsPage() {<br>  const { data, isLoading, error } = useGetFruits()<br>  if (isLoading) return &lt;p&gt;Loading...&lt;/p&gt;<br>  if (error) return &lt;p&gt;Error loading data&lt;/p&gt;<br>  return (<br>    &lt;div&gt;<br>      &lt;h1&gt;Fruits list&lt;/h1&gt;<br>      &lt;ul&gt;<br>        {data?.map((fruit) =&gt; (<br>          &lt;li key={fruit.id}&gt;{fruit.name}&lt;/li&gt;<br>        ))}<br>      &lt;/ul&gt;<br>    &lt;/div&gt;<br>  )<br>}</pre><p>You’ve just achieved the exact same result, <strong>but now your code respects two critical principles for long-term maintainability</strong>.</p><p>And later, if you need the same data in a pagination component or somewhere else, you just reuse the useGetFruits() hook. No duplicated logic, no mess.</p><p>This might seem like a detail, but junior devs often underestimate this. Once your codebase hits 15,000+ lines, you’ll be glad you started this way.</p><p><strong>Happy coding!</strong></p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://differ.blog/inplainenglish"><strong>Differ</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8861fd599772" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/local-usequery-vs-custom-hook-8861fd599772">Local useQuery vs Custom Hook</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying a Next.js Project on a VPS: The Full Guide]]></title>
            <link>https://javascript.plainenglish.io/deploying-a-next-js-project-on-a-vps-the-full-guide-b0d9624b402f?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0d9624b402f</guid>
            <category><![CDATA[vps]]></category>
            <category><![CDATA[deploy]]></category>
            <category><![CDATA[system]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Tue, 13 May 2025 06:06:44 GMT</pubDate>
            <atom:updated>2025-05-15T06:31:30.927Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2eDPOPKCq8sqOA_dw5JniQ.jpeg" /></figure><p>A hands-on guide to deploying your <strong>Next.js</strong> project on a bare VPS. No bloat, just pure performance and full control.</p><p>Too many developers rely on managed platforms — often overpriced and throttled. You might be paying 4x more for shared infra and limited performance.</p><blockquote><em>Time to take back control.</em></blockquote><h3>Overview</h3><p>In this article, I’ll walk you through deploying a <strong>Next.js</strong> project on a clean VPS, from scratch. We’ll only install what’s necessary.</p><p>The payoff? Performance, control, and savings, guys.</p><p>Here’s the roadmap:</p><ul><li>Install system dependencies</li><li>Clone and set up the <strong>Next.js</strong> project</li><li>Create a <strong>systemd</strong> service for automatic startup</li><li>Set up <strong>Nginx</strong> as a reverse proxy</li><li>Generate an <strong>SSL</strong> certificate using <strong>Certbot</strong></li></ul><h3>Installing Essential Packages</h3><p>Let’s take a concrete example: a quad-core VPS from <strong>Pulseheberg</strong> at €6/month running <strong>Ubuntu 24</strong>.</p><p>Start by updating and installing the basic tools:</p><pre>sudo apt update<br>sudo apt install curl nginx<br>sudo apt install certbot python3-certbot-nginx</pre><h3>Installing Node.js with NVM</h3><p>Use <strong>nvm</strong> to install <strong>Node.js</strong> for better flexibility:</p><pre>curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash</pre><p>Activate <strong>NVM</strong>:</p><pre>export NVM_DIR=&quot;$([ -z &quot;${XDG_CONFIG_HOME-}&quot; ] &amp;&amp; printf %s &quot;${HOME}/.nvm&quot; || printf %s &quot;${XDG_CONFIG_HOME}/nvm&quot;)&quot;<br>[ -s &quot;$NVM_DIR/nvm.sh&quot; ] &amp;&amp; \. &quot;$NVM_DIR/nvm.sh&quot;</pre><p>Then install <strong>Node 24</strong>:</p><pre>nvm install 24</pre><p>And install <strong>pnpm</strong> globally:</p><pre>npm i -g pnpm</pre><h3>Clone Your Project and Install Dependencies</h3><p>Clone your repo into <strong>/var/www</strong>:</p><pre>cd /var/www<br>git clone https://&lt;token&gt;@github.com:&lt;user&gt;/&lt;repo&gt;.git project<br>cd project<br>pnpm i</pre><p>Don’t forget to build your app, guys:</p><pre>pnpm build</pre><p>And create your <strong>.env</strong> file if needed:</p><pre>nano .env</pre><h3>Creating a systemd Service</h3><p>A service allows your app to run as a system process that restarts automatically.</p><p>Depending on your setup (e.g. you’re root or using a user like ubuntu), check your group by running:</p><pre>id</pre><p>Common examples include <strong>ubuntu</strong> or <strong>docker</strong> — depends on your host.</p><p>You can check the current Node.js version with:</p><pre>which node</pre><p>For me, it returned: 24.0.1</p><p>For <strong>ExecStart</strong>, the pnpm path depends on the user:</p><ul><li>As <strong>root</strong>: /root/.nvm/versions/node/v24.0.1/bin/pnpm</li><li>As <strong>ubuntu</strong>: /home/ubuntu/.nvm/versions/node/v24.0.1/bin/pnpm</li></ul><p>We’ll run the app on <strong>port 8080</strong>.</p><p>Create the service file:</p><pre>sudo nano /etc/systemd/system/project.service</pre><p>Paste this config, adjusting <strong>User</strong>, <strong>Group</strong>, and the <strong>pnpm</strong> path:</p><pre>[Unit]<br>Description=Project<br><br>[Service]<br>WorkingDirectory=/var/www/project<br>ExecStart=/&lt;execstart path&gt;/pnpm start -p 8080<br>ExecReload=/bin/kill -s SIGUSR2 $MAINPID<br>Restart=always<br>User=&lt;user&gt;<br>Group=&lt;group&gt;<br>StandardOutput=syslog<br>StandardError=syslog<br>SyslogIdentifier=Project<br>Environment=NODE_ENV=production<br>[Install]<br>WantedBy=multi-user.target</pre><p>Reload and start the service:</p><pre>sudo systemctl daemon-reload<br>sudo systemctl start project</pre><p>Check the status:</p><pre>sudo systemctl status project</pre><p>If it’s running, you’re good. If not, check logs:</p><pre>journalctl -xe</pre><p>Enable auto-start on reboot:</p><pre>sudo systemctl enable project</pre><h3>Configuring Nginx</h3><p>First, point your domain name to the <strong>VPS IP</strong> from your domain registrar.</p><p>Create the Nginx config:</p><pre>sudo nano /etc/nginx/sites-available/project.conf</pre><p>Here’s a sample config (replace <strong>&lt;domain&gt;</strong> with your actual domain, e.g. project.fr):</p><pre>upstream nextapp {<br>    server 127.0.0.1:8080;<br>}<br><br>server {<br>    server_name &lt;domain&gt;;<br>    listen 443 ssl;<br>    location / {<br>        proxy_set_header X-Real-IP $remote_addr;<br>        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>        proxy_set_header Host $http_host;<br>        proxy_pass http://nextapp;<br>        proxy_redirect off;<br>    }<br>}<br>server {<br>    server_name www.&lt;domain&gt;;<br>    listen 443 ssl;<br>    return 301 https://&lt;domain&gt;$request_uri;<br>}<br>server {<br>    server_name &lt;domain&gt; www.&lt;domain&gt;;<br>    listen 80;<br>    return 301 https://&lt;domain&gt;$request_uri;<br>}</pre><p>Enable the config:</p><pre>sudo ln -s /etc/nginx/sites-available/project.conf /etc/nginx/sites-enabled/project.conf<br>sudo systemctl restart nginx</pre><p>At this point, your site should be live over <strong>HTTP</strong>, but without SSL yet. Your browser might show a warning.</p><h3>Enable SSL with Certbot</h3><p>Run Certbot:</p><pre>certbot --nginx</pre><p>The first time, it’ll ask for your <strong>email</strong> (used for renewal notices, etc.).</p><p>It will list your domain(s), choose the correct one, and validate.</p><p>Now your site should be live with <strong>HTTPS</strong>!</p><h3>Conclusion</h3><p>Boom. You just deployed a <strong>Next.js</strong> project from scratch like a real sysadmin.</p><p>An optimized <strong>VPS</strong>, a self-managed <strong>Next.js</strong> app, a clean reverse proxy, and solid <strong>SSL</strong>.</p><p>You don’t need <strong>Vercel</strong> or another €25/month managed platform just to serve a landing page.</p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://differ.blog/inplainenglish"><strong>Differ</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0d9624b402f" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/deploying-a-next-js-project-on-a-vps-the-full-guide-b0d9624b402f">Deploying a Next.js Project on a VPS: The Full Guide</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Hotjar is going to die]]></title>
            <link>https://medium.com/@alexandre.penombre/why-hotjar-is-going-to-die-7bbe5d2c273e?source=rss-da7c294d5294------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bbe5d2c273e</guid>
            <category><![CDATA[hotjar]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[recording]]></category>
            <dc:creator><![CDATA[Alexandre PENOMBRE]]></dc:creator>
            <pubDate>Mon, 12 May 2025 06:26:38 GMT</pubDate>
            <atom:updated>2025-05-12T06:26:38.024Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l4HpAp-3ChlKxfF--X5l_A.jpeg" /></figure><p>When I discovered Hotjar, it felt like magic.</p><p>Being able to <strong>record real sessions</strong>, understand <strong>user behavior</strong>, and analyze <strong>heatmaps</strong> in a few clicks was revolutionary.</p><blockquote><em>A heatmap is a visual tool that highlights the most clicked or hovered areas of a page. The “hotter” it gets, the more it’s used.</em></blockquote><p>It was a goldmine for improving our interfaces.</p><p>You could watch users <strong>frantically click on non-interactive zones</strong>, instantly revealing where to <strong>add a button or a link</strong>. It turned intuition into evidence.</p><p><strong>Hotjar felt like a UX superpower.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dYLbUsCRP0xOx5Md.jpg" /></figure><p>But that was then.</p><h3>Less insight, more price</h3><p>The business model changed. The number of available recordings <strong>dropped like snow in the sun.</strong></p><p>Today, if you don’t pay, you get <strong>almost nothing.</strong></p><p>And honestly, I get it: yhey’ve worked hard and need to keep the business alive.</p><p>But let’s be clear.</p><p><strong>The free plan is no longer viable for real usage</strong> unless you pull out the credit card.</p><p>All the valuable features are now hidden behind a <strong>paywall.</strong></p><p><em>Here’s a screenshot so you can see just how locked down everything is:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ns2PFRDQoDGPLtjg.png" /></figure><blockquote><em>Everything inside those boxes is paid.</em></blockquote><h3>Microsoft Clarity, the Hotjar killer</h3><p>And that’s when <strong>Microsoft Clarity</strong> enters the scene.</p><blockquote><em>Clarity is a UX analytics tool similar to Hotjar, built by Microsoft, and entirely </em><strong><em>free.</em></strong></blockquote><p>Same setup process, just drop a snippet of script into your page.</p><p>And instantly you get access to:</p><ul><li><strong>live user presence</strong></li><li><strong>unlimited heatmaps</strong></li><li><strong>session recordings</strong></li><li>a clean and modern interface</li><li><strong>no visible limits</strong> so far</li></ul><p><strong>Clarity</strong> might not check every single box that Hotjar does. But for <strong>90 percent of real-world needs</strong>, it’s more than enough.</p><p>I wanted to understand how users behaved. Clarity gave me that, <strong>at zero cost.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HuSPEke581t9lfKE.jpg" /></figure><p>By the way, if you’re looking for a feature that <strong>Hotjar</strong> charges for, chances are you’ll find the exact same thing in <strong>Analytics</strong>… <strong>for free</strong>.</p><p>So yeah, it’s worth weighing things up, you’ll find an alternative for pretty much everything.</p><p>And if you’re thinking <strong>Hotjar</strong> had the advantage of everything in one place, know that <strong>Clarity</strong> got that covered too.</p><p>The platform lets you sync external accounts, including <strong>Google Analytics</strong>, so you get everything centralized. <strong>Checkmate</strong>.</p><h3>What the market is really saying</h3><p>It’s great for devs, PMs, designers, freelancers, but it also highlights <strong>a systemic threat.</strong></p><p><strong>A GAFAM can kill your SaaS overnight.</strong></p><p>All it takes is to clone your product, match the core features, and offer it for free.</p><p>The playbook is simple:</p><p><strong>Match or beat the value, remove the cost</strong>, and leverage infrastructure firepower.</p><p>In that kind of asymmetric war, <strong>Hotjar stands no chance.</strong></p><p>They need to monetize, <strong>Microsoft doesn’t.</strong><br>The fight is unfair, and to me, the battle is already lost.</p><h3>Conclusion</h3><p><strong>Hotjar</strong> was a game changer, but <strong>Clarity</strong> is now stealing the spotlight.</p><p>The product is still good but the business model no longer works.</p><p>And it reminds us that when building a SaaS, you need to deliver <strong>real unique value</strong> or accept the risk of being <strong>crushed by someone bigger.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bbe5d2c273e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>