nikosmpi blog
Built a chat app with Pocketbase & Svelte
17/11/2025
PM2: Keeping your applications always on
17/11/2025

Imagine PM2 as a tireless "maestro" or a "guardian angel" for your web applications, especially those running in a JavaScript (Node.js) environment. Its main purpose is simple: to ensure that your application—whether it's a website or an API service—remains always available to your users, 24/7. What does it do in practice? If your application "crashes" (stops working) for any reason, PM2 instantly detects it and restarts it automatically, often before the end-user even notices a problem. But it doesn't stop there. PM2 helps your application handle many visitors at the same time (what we technically call "load balancing") by intelligently distributing the workload. Simultaneously, it keeps a detailed "diary" (logs) of everything that happens, helping developers find and fix issues. In short, PM2 is the tool that transforms a simple application into a robust, professional service ready for the real world.

Create an Executable EXE File From JavaScript Code Using Node.js and PKG
16/11/2025
How to Make a Custom Mouse Cursor with CSS and JavaScript
16/11/2025

This guide shows two ways to change the look of your mouse pointer on a website. The first is a simple method to replace the standard arrow with any image you choose. The second, more advanced method, involves hiding the original pointer and creating a custom shape or image that follows your mouse's movement.

Chris Titus Tech's Windows Utility
15/11/2025

WinUtil (Chris Titus Tech's Windows Utility) is a highly popular open-source tool designed to simplify the management, cleaning, and optimization of Windows 10 and 11. Instead of navigating through dozens of confusing settings menus or downloading separate programs, WinUtil consolidates everything into a lightweight, easy-to-use interface.

  • Mass Installs¨Functioning similarly to Ninite, it allows you to select and bulk-install the most essential applications (such as Chrome, Discord, 7zip, VS Code) in one go, utilizing the native **Winget** package manager.
  • Debloating & Tweaks: This is its strongest feature. It enables you to safely remove pre-installed Microsoft "bloatware," disable telemetry for enhanced privacy, and apply system tweaks that reduce background processes to make your PC faster and lighter.
  • Maintenance & Updates: It provides tools to manage Windows Updates (such as delaying them or setting them to "Security Only") and quick system fixes.

The best part is that it requires no traditional installation. Simply open PowerShell (or Terminal) as an administrator and run the following command:

irm "https://christitus.com/win" | iex

It is the ideal tool for setting up a new computer from scratch in minutes or breathing new life into an old machine, saving you hours of manual configuration.

Chrome DevTools MCP server
15/11/2025

Google has officially launched the public preview of the Chrome DevTools Model Context Protocol (MCP) server, a groundbreaking tool designed to give AI coding assistants "sight." Previously, AI agents wrote code without knowing how it performed in a real browser environment—effectively programming blindfolded. With this new integration, AI assistants can now connect directly to Chrome DevTools. This allows them to debug web pages, inspect CSS layouts, analyze network errors, and audit performance traces in real-time. By bridging the gap between code generation and runtime execution, the Chrome DevTools MCP server significantly improves an AI's accuracy in diagnosing issues and verifying fixes. Developers can get started immediately by adding the package to their MCP client configuration.

Porting a vanilla JavaScript library to Svelte 5
14/11/2025
How To Make Amazing Range Inputs With CSS
14/11/2025
Welcome to my blog!
10/11/2025

This is my personal space for sharing quick thoughts, code snippets, and interesting links. Expect to find a lot about technology, programming, and web development. Hope you find something useful!