Orhun's Blog | FOSS • Linux • Programming

Packaging Rust Applications for the NPM Registry

10 minute read Published: 2023-01-24

Recently I packaged my project git-cliff (changelog generator written in Rust) for NPM with the help of my friend @atlj. I thought this would be an interesting topic for a blog post since it has a certain technical depth about distributing binaries and frankly it still amazes me how the whole thing works so smoothly. So let's create a simple Rust project, package it for NPM and fully automate the release process via GitHub Actions.


Zero-dependency random number generation in Rust

12 minute read Published: 2023-01-03

Let's investigate how to generate random numbers without external dependencies in Rust.


Open Source Grindset Explained

11 minute read Published: 2022-12-25

Let's talk about how to develop an open sourcerer mindset.


I finally found out why I'm so depressed

3 minute read Published: 2022-07-06

I'm in Norway and depressed.


My motivation towards working on open source

4 minute read Published: 2022-07-02

Some thoughts about open source and the software industry.


Move away from streaming platforms & take your music offline

8 minute read Published: 2022-06-03

I don't use Spotify or any other streaming platform for listening to music. Some call it old habits, some call it needless effort, but I'm very used to downloading MP3 files over the internet and putting them in a folder on my phone then using the whatever default media player I have installed. However, for a couple of years, I have been following a better and automated approach for taking my music offline and feeling a bit less like I'm in a consumerism bubble.


How hard upgrading a Rust JWT library could be?

8 minute read Published: 2022-04-22

Recently one of my clients requested me to maintain their Rust project. It is a web server that is built with Rocket + Diesel and running stable for a couple of years now. Like any other Rust developer would do, the first thing that I checked was the outdated dependencies via cargo-outdated. The result was close to what I expected: most of the dependencies were out-of-date. However, among all those crates, rust-jwt caught my eye. It was 12 minor versions behind!


Rewriting sysctl(8) in Rust: systeroid

5 minute read Published: 2022-04-17

sysctl is a simple and great tool for modifying the kernel parameters. It does its job very well by providing an easy-to-use interface for /proc/sys. It is maintained as a part of procps toolkit for years and it can easily be considered a legacy tool today. So why not push it to its limits and turn it into a more user-friendly and even more useful tool with the power of Rust?


git-cliff 0.5.0

1 minute read Published: 2021-12-15

git-cliff is a highly customizable changelog generator that follows conventional commit specifications ⛰️ In this post, I'm explaining the new features in the 0.5.0 release while giving insight into the different use-cases.


Introducing gpg-tui, a Terminal User Interface for GnuPG

6 minute read Published: 2021-05-29

gpg-tui is a TUI for managing the GnuPG keys 🔐 In this post, I'm giving a brief introduction to the project as well as describing the thought process and main development challenges behind it.