Alex BespoyasovAuthor's photo

Kursovik

While I was on vacation, I decided to try some new technology. I started with Electron.

Electron is a library that helps you write web-based desktop applications. You write a web application, wrap it in an “electron shell”, build it, and it works like a regular desktop application.

A todo list seemed too primitive for me, so I decided to create Kursovik. It is an app that shows USD/RUB currency course. I made it open source so you can try it too :–)

Kursovik shows the course for today and the difference with the yesterday course. If it knows the course for the next day shows it too. Draws a chart of how the course has changed by the week, month, or a quarter.

If there's no Internet connection, it shows the latest fetched data and a warning about the offline mode. Whe the Internet is accessible again the data will be automatically updated.

This is a prototype. I'll be glad if you help me to find bugs ad improve the app. Send issues and ideas to GitHub or to bespoyasov@me.com.

As a result of developing this, I learned how to work with Electron's API and how to transfer data between different processes in the app. Learned how to work with tray on MacOS and found out a bit about the Windows architecture. Also, learned how unstable the site of the Central Bunk of Russia and its API are.

Previous post: Decoded. The Science behind Why We Buy by Phil BardenNext post: How to Become Solid