Hey, this is Kevin and I'm a
Learner and Builder. Ottawa, Canada

Dig

Fun Fact

Posting

Build a chatbot in command line with Ollama
Build a chatbot in command line with Ollama

2024-10-11

Ollama is an easy-to-use tool designed to deploy powerful AI models locally, such as Meta's Llama. It enables developers and hobbyists to run AI models effortlessly without requiring extensive cloud infrastructure or specialized hardware setups. About 2 weeks ago, Meta released their latest model llama 3.2. I've been wanted to build a little chatbot of my own since a while. This time we’ll build a simple command-line chatbot using Node.js, integrated with Ollama to interact with a local Llama model. Read More

Migrate legacy code with Babel
Migrate legacy code with Babel

2024-03-02

How Babel helps automate the migration from legacy inheritance patterns to the modern ES6 extends syntax using AST manipulation. Read More

How does Vite pack your code?
How does Vite pack your code?

2023-09-18

Vite is a next generation frontend tooling. It build the application with esbuild, which featuring instant server start and lightning fast HMR. The solution is different from tools like Webpack or Rollup, but similar to no-bundle native ESM dev server like Snowpack. Read More

How does Webpack pack your code?
How does Webpack pack your code?

2021-08-02

Webpack is a static module bundler for modern JavaScript applications. While everyone knows this, not all of them know how webpack works. So let's dive a little deep inside to find how does Webpack pack our code. Read More

Deploy Your Application with a Click
Deploy Your Application with a Click

2020-09-15

It is always cumbersome to publish an application on the server, you have to build, upload, and sometime restart the load balancer. Wouldn't it be awesome if everything can be done automatically with just a click? Read More

Create a Koa Server with TypeScript
Create a Koa Server with TypeScript

2020-07-25

It has been a long time for developer running a HTTP server with NodeJS on their server, but not necessarily with TypeScript, the most popular feature today. Why not try them out together. Read More

© 2025 - By Kevin (Wenfeng) He