← All posts

MD Writer | Case Study

Background

I was inspired by Derek Sivers to not be dependent on the cloud or companies when it came down to hosting on the web. From listening to Sivers talk about programming, he mentioned that he loved to save everything in text files on his computers for notes/articles/books. Inspired by this, I decided to create a lightweight text editor that rendered markdown while you write. I chose markdown because even if it becomes unsupported, there's little difference between .txt files and .md files. I chose Electron because it would be a different technology I hadn't learned yet, and also because I didn't want to waste extra time learning a different programming language to build a desktop application.

What I Did

I started off looking for Electron templates to make my development process easier. After searching for a while, I realized that most templates seem to be carrying a lot of bloatware that I wouldn't be taking advantage of because of how small the features would be. So in the end, I took electron-quick-start and started there.

In the beginning, I searched for ways to add React to the project since I wanted to finish the project ASAP, but couldn't find a good enough tutorial to follow. Instead, I decided to use regular Javascript to get used to manipulating the DOM manually and to see how different it would be to create a simple application without a framework.

Reflections

Learnings

Written by Nicholas Pung.

I'm a full-stack developer, who builds projects to use day-to-day. I'm extremely interested in integrating health with software, so my primary focus is on learning how to use hardware and software to drive human behavior in a positive direction.