// writing

Notes and write-ups

everything tagged scripting

tag map
6 min

Extending your application with Lua scripts

Lua is a lightweight scripting language well-suited for embedding directly into applications to handle custom logic. By integrating a Lua VM, host programs gain the ability to execute user scripts while controlling access to system resources. This approach allows developers to extend application functionality without increasing overall architectural complexity.

golang scripting lua
2 min

Novus just got better (again)

The latest release of Novus introduces a new command designed to streamline administrative tasks by enabling passwordless sudo access with security constraints. This update also adds improved operational transparency, helpful UI feedback for long-running processes, and support for quick domain definitions. These enhancements aim to refine the development workflow for those managing local server environments.

api novus frontend
7 min

How to use sudo without a password in your programs

Automating tasks that require elevated privileges often leads to repetitive and annoying password prompts. By configuring specific entries in the sudoers file, developers can enable password-less execution for targeted scripts or binaries. This approach requires careful implementation to prevent security vulnerabilities and privilege escalation risks.

golang scripting
5 min

Novus v0.0.4 released 🚀

This release of the local HTTPS proxy tool introduces a web-based dashboard and improved service management to simplify development workflows. The update resolves configuration validation issues and refines how background services are monitored and restarted. Users can now enjoy a more robust interface and better error handling when setting up local development domains.

api novus frontend
2 min

Introducing Novus - a local HTTPS proxy for better developer experience

Managing multiple local development services often requires complicated handling of ports, DNS settings, and SSL certificates. This utility simplifies that process by automatically configuring local proxies to serve development projects over custom HTTPS domains. It reduces environment configuration overhead, allowing for a more consistent and production-like experience during local testing.

api novus frontend
3 min

Showing the active Firebase project in the command line

Managing multiple Firebase environments can be error-prone when relying on manual commands to verify the current context. A custom shell integration provides a persistent visual indicator of the active project directly within the command prompt. This approach prevents accidental deployments to the wrong environment by referencing local configuration files automatically.

firebase scripting utilities
12 min

How We Migrated All User Files to AWS S3

Migrating a large volume of user files between cloud providers requires careful planning to maintain service stability and data integrity. This process explores the transition from initial sequential scripts to a highly parallelized architecture capable of handling millions of records efficiently. The final approach demonstrates how optimizing infrastructure and leveraging worker-based processing can significantly improve performance and resource utilization.

aws nodejs scripting
1 min

Automatically pausing Spotify on macOS

Managing media playback timing on desktop devices often requires custom solutions for automated interruptions. This approach uses shell scripting to bridge system controls with application commands. It provides a straightforward method to ensure audio playback ceases after a specified duration on macOS.

scripting utilities
1 min

Watching your UNIX scripts

Maintaining long-running background processes can be a challenge in restricted hosting environments where traditional supervisor tools are unavailable. A lightweight bash script can effectively monitor command execution and ensure processes restart automatically upon failure. This approach provides a simple, dependency-free method to maintain service reliability without requiring extra infrastructure.

scripting