Thomas Reggi's Profile Image

@thomasreggi 🌸

Tech Articles

About | Syndicated From dev.to

When to use an Astro component over a Web Component.

For my personal website (built with Astro) I wanted a way to abstract out something I call a heading...


Editing Videos Using ffmpeg + TypeScript and Deno.

TLDR: I wrote a module using typescript / deno that wraps ffmpeg and offers a better developer...


Recreating Mastodons Audio Player as a Web Component

TLDR: I recreated mastodons audio player as a web component, available...


In Defense of Having All Code in a Single File.

I recently wanted to split of a series of scripts I made for a postgres project I was working on into...


Why Can't I Just Use This Function? The Struggles with Code Reusability in JS

We've all been there. You know an open-source project does something you need, deeply nested in the...


The "Postgres First" Trend

TLDR: Because of serverless, the need for database wrapper api's like PostgREST have become...


Hosting Services List

This is a list of hosting services I find I want to keep all in one place. Static-Site...


Framework Interoperable Component Libraries Using Lit Web Components.

TLDR: This post is made to rave about repo I found called json-schema-form-element a lit-based...


Using Supabase as a database and image store with Strapi CMS.

I love the idea of a headless CMS to maintain my own personal API. The goal is to have a central...


A custom "iterable" class

Let's say you want to create a custom class, this class has a constructor parameter. For this example...


I invented a CLI tool to organize my typescript projects.

TLDR: This article is about a command-line tool designed to analyze and enforce a specific...


My Frustration With Web Components.

TLDR: I want to tool to build and bundle a HTML file (with <template> and <script> into...


Organizing Files in a Deno Module

TLDR: This article discusses how to organize files in a repository for publishing a Deno Module,...


🦕📄 A Deno Resume Website Builder Using Tailwind

Module Deno https://deno.land/x/resume Hosted Deno Deploy https://deno-resume.deno.dev/ Deno...


Hosting images as JSON 🤔

I've been tinkering around with Deno Deploy, a serverless edge provider for Typescript. Specifically...


➡️👷💪 Linear Class Builder

TLDR: Github @reggi/linear-builder-class Code Generates Classes using the Linear Builder Class...


A Server - Client JS Serialization Approach

Given that Next.js Server Actions and TRPC are gaining traction as approaches that utilize...


Deno's New Built-In Key-value Database "KV"

I just learned about a new feature in Deno and I wanted to share it with y'all. It's a built-in...


Working with Unions Within Prisma

Unions help us define a value as one or more types. Sometimes this makes data easier to rationalize...


The Problem with Using Databases on the Edge / Serverless.

What's the deal with Databases and Severless? Sometimes it seems like they don't mix well together...


What Makes a Good Engineering Manager?

I've had many jobs in tech and have been working in the industry for over 10 years. I've been...


Why Older Versions of Mastodon Made It Easier to Follow Accounts

Recently, I discussed with a friend ways to simplify the process of following accounts across...


Using a Custom-Generated Nanoid as a Primary Key in Prisma with Postgres

This tutorial demonstrates how to use a custom PostgreSQL function to generate a nanoid as a primary...


Exploring the World of Indie Game Development: My Journey from Pixel Art to JavaScript Frameworks and Beyond

TLDR: As a web developer I look into what it takes to make a GBA style Pokémon game from the tools...


VSCode Deno Notebook (Denote)

This is the implementation of the ideas discussed in this article here: Proposing a new way to write...


A Native JavaScript Route / Router Proposal

The new set of standard classes, such as URLPattern, Response, Request, and URL, has made me ponder...


I want a system for organizing shell scripts.

I would love a system for organizing, nesting, documenting, and testing shell scripts. I think about...


My issues with ScriptKit

I just discovered Script Kit, and at first glance, it's everything I've ever wanted from a shortcut...


Why can't we have one definition for Component Props, Database Tables, and Validation?

One pain point I often expierence is that we have so many repeat definitions for things. Tools like...


What No Meta-Framework Does: Part 2

I've complained about meta-frameworks in the past, specifically in regards to file-system routing....


The Vision Behind the "Widget" Site: A Deep Dive into Component-Based Design

I've been working with different meta-frameworks, front-end frameworks, and servers over the past...


Stack Overflow Bans Answers from ChatGPT

ChatGPT has been taking the world by storm this past week. I've experimented with using it for...


Modular Server Standard

This is a work in progress Summary Servers are powerful when they are able to run the...


HTMX + JSX prototype syntax for server side html.

// a HTMX approach with JSX? import { Fragment, JSX } from "preact"; import { nanoid } from...


"Smart" JavaScript Delivery, Qwik + React in one?

What if there was a meta-framework with the best of Qwik and React / Next.js? What if the delivery...


What no meta-framework does.

The suite of meta frameworks Qwik, Astro, Fresh, Next, Solid Start, Svelte Kit all don't do this one...


Accessing request from any server component in Deno Fresh

Within Deno Fresh a route can have access to the request via an exported handler. What if you have a...


Proposal the "as-ts" language server, a deno loader in userland?

Currently if I wanted to how can I write this in any javascript runtime and execute it? This is an...


What Are Micro-Frontends, What Problem Do They Solve?

TLDR: mirco-frontends potentially offer a http based server-interoperable component "over the wire"...


Proposal Code Syntax for Client + Server Code Using Markdown Code Blocks

A post by Thomas Reggi


Example Meta Framework Where Client + Server Code Self-Split Within the Same File

The below is the beginings of a meta framework that would allow client side code to be rendered via...


Declarative Server & Client Code to Enable Linting and Splitting.

This is a proposal for an idea called "FileKinds". It establishes literal eslinting rules for single...


Interactivity without JavaScript

I posted this tweet a couple weeks back: ...


Federated Widgets: Frontend Components and Backend Endpoints in One Module

TLDR: This post outlines the idea around open source modules that contain both frontend components...


How I Automated the Unemployment Call Hotline with JavaScript.

The goal is to get a hold of a representative from New York state's unemployment office. New York...


Proposing a new way to write JavaScript.

I created a VSCode extension that uses a lot of the ideas here check it out: VSCode Deno Notebook...


A functional store of value.

TLDR: Can entire software applications be NFT's? I have been diving into the world of crypto art...


When will we start paying for open source modules?

Is there a world in which we pay for what we now use for free? I would love to see a world where dev...


Why you should sign-up for Lunchclub right now.

This is a tough time for many people, including myself. I've been struggling deciding what the next s...


Why companies will be built around VSCode extensions.

I believe that in the near future, certain companies will not be looking to build a iPhone app, or an...


It's 2021 and I still don't know the best way to write this in TypeScript.

Below I have three things they're not the same, but they're not that different. They all actually hav...


How can we make coding easier?

An app that makes apps? I think about how hard it must be for the younger generation to learn to cod...


Why I failed at starting a company.

The real reason was isolation and loneliness. At the end of 2019 I decided to work on a project for...


The inspiring story of BASTL Instruments

A couple of days ago I went down a rabbit hole. I started the deep dive into learning about Synthesiz...


TypeScript Quick Look on Big Sur

There is no way to to this. I tried the following it does not work: brew install --cask qlcolorco...


Ajax POST v.s. Form POST

There are some concrete details I would love to dive into when it comes to the main differences betwe...


Address API

TLDR: Back in 2015 I had mapped out an entire API for an Address application, The idea is meh, but...


APIs and Artificial Intelligence

This post is a port and was originally authored on Jun 25, 2016 TLDR: Web API's act as a giant...


Can we have Deno-like URL imports in Node.js?

The decentralization of dependencies is one of my favorite features from Deno. Something Deno also do...


Introducing Cerba

TLDR: cerba is a command-line tool to generate a npm package from a single file. I've loved the...


Site Wish: Code Editor + Code Golf + Rosetta Code

I wish there was a site where a user could specify the input and output of some code. Users or the au...


Inheritable Static Class Methods and Overriding

I like Object oriented programming (oop), and inheritance, but it can be painful at times when you ca...


Bash Flag Conventions

I've been thinking about bash / shell flag conventions a bunch lately. I was considering creating a l...


🔄 Using code to write code: Exporting issues with a Bookmarklet

When I started back in March at MongoDB I wanted an easy way to create a list of what I was working o...


I'm looking for a new coding paradigm.

A couple months ago I stumbled down a rabbit hole. I had a strong desire to create a new sort of Java...


Intentional Design with Maintainability in Mind

A couple years back I posted this tweet: I think about this idea every time I'm cleaning my...


How to setup AWS lambda function to talk to the internet and VPC

I originally posted this a couple years back as a gist. I'm going to walk you through the steps fo...


🕵️‍♀️ "hygen" first impressions

A couple of days ago I stumbled upon a new tool called hygen hygen.io on github as jondot/hygen. He...


Finding an Ideal Monorepo / Semantic Release setup.

I've had a dream for a couple of years now. The main idea of the dream is that I want a simple way to...


I ️❤️ GitHub's Template Repository Feature

I've recently fell in love with a new GitHub feature called "Github Template Repository". It allows...