Posts tagged "popular"

Making Minimal Analytics

Published on
#nodejs #javascript #preact 

Web Analytics & dashboards always fascinated me.

This is my approach to a self-hosted, simple web analytics solution.

It also helped me to get back to Full stack web development, using a clean and testable approach.


Read more

What apps I'm currently self-hosting

Published on
#self-hosting #docker 

Wanted to share what apps & services I'm currently self-hosting on my small Linode VPS

TLDR;

Using docker-compose, nginx and CloudFlare

Everything runs smoothly on a "Nanode" (Linode's version of a 5$/month VPS with 1GB RAM, 25GB SSD, 1 CPU)


Read more

Learn Elixir - A study path

Published on
#elixir 

Below you can find resources for getting started with Elixir.


Read more

My reading stack with Miniflux/RSS & Pocket

Published on
#rss #open-source #self-hosting 

I want to outline the tools I use to consume textual content, and why it perfectly fits my needs.

Who knows, maybe this can be helpful for you too.


Read more

Raspberry Pi as a local server for self hosting applications

Published on
#raspberrypi #opensource #self-hosting 

Doing an experiment with my RPi 4, using it as a small but powerful local server.

My current PC is a 10 year old Macbook Pro 13" 2010, which is sluggish sometimes.

So I want to offload some heavy tasks (ffmpeg time-lapse creation, long-running tasks and services) to the Raspberry Pi and connect to it either via LAN or Wi-Fi.

Below you can read my findings about performance, applications and general issues I encountered and tried to solve.


Read more

Optional chaining in Node.js 14 and JavaScript

Published on
#javascript #nodejs 

A long awaited feature of the language and runtime has been released and is available in Node.js 14 (and modern browsers): Optional chaining!


Read more

Nullish coalescing in Node.js 14 and JavaScript

Published on
#javascript #nodejs 

The Nullish coalescing operator in useful to handle default values, without short-circuiting on values that result as falsy.

Falsy values are undefined, null, false, 0, NaN, and '' in JavaScript, and sometimes you want to retain those values, explicitly excluding null and undefined.


Read more

Twitter OAuth Login with fastify and Node.js

Published on
#nodejs #javascript #twitter #oauth #fastify 

GitHub example repo

At christian-fei/twitter-oauth-login-in-nodejs on GitHub you can find the whole source code.

Learn how to create a Twitter OAuth Application


Read more

Twitter OAuth Login by example with Node.js

Published on
#nodejs #javascript #twitter #oauth 

Lately I found myself dealing with Twitter and Google OAuth (1.0a and 2.0) to authorize a user to act on their behalf, namely reading profile information, reading and posting content on their behalf or other common permissions.

Since my process of trying to understand and make sense of OAuth has been both fun and rough, I wanted to summarize a full example in a single JavaScript file and document other findings along the way.


Read more

Twitter OAuth by example in Node.js

Published on
#javascript #nodejs 

Curious about how to call an HTTP API like Twitter or GitHub by authenticating through OAuth (1.0a and 2.0)?

Read more about how to do it with Node.js

Learn how to create Twitter login with OAuth 1.0a.


Read more

Don't miss out on special content for my subscribers.


View the past editions of my newsletter