Skip to content

dmytrmk/hdn-price-ticker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HDN Price Ticker

ver

A responsive desktop application displaying live Hydranet (HDN) price

Many thanks to Furqan17 for his beautiful crypto-desk project, which this project is forked from.

⚡ Installation

HDN Ticker requires Node.js. If you don't have it already you can download it here.
1. Fork/download this repository
2. clone and extract zip
3. cd into the repo
4. npm install to install the dependencies (listed below)
5. Run npm start to launch hdn-ticker

Features

  • Cross-platform. (MacOS + Windows + Linux)
  • Display realtime HDN prices (USD), refreshed every 1 minute.
  • Elegant graph (1d)
  • Switch between Extended(default)/compact mode.
  • Dark/Light theme support (default is system theme)
  • Always on top option (ticker will always on top of other applications)

💱 API

HDN prices are provided by Coinmarketcap API.

🔧 Build Customization

1.) Borderless Application

There are many customizable elements of an Electron app. In this specific application I decided not to add a frame, hence why the application is borderless. If you would like to have a border for your application, make the following changes:
1. Open main.js.
2. Find the createWindow() function.
3. Edit the following line

win = new BrowserWindow({
  width: 300, 
  minWidth: 300, 
  height: 515, 
  minHeight:515, 
  frame: false}) // this line here

change frame: true (or remove it completely as the default value is true), After saving and starting electron you will now have a border for your application.

2.) App responsiveness

This app was designed with a mobile first approach. The application is responsive and you can resize the app to your liking.

3.) Developer Tools

If you wish to use developer tools, right click and click "Devtools"

❗ To-Do List

A list of components to (eventually) add.

  • Installer packages
  • New display currency alternatives (EUR, CAD, GBP etc.)
  • Customizable line graph interval
  • Menubar(MacOS) and Taskbar(Windows) support

About

Cross platform Hydranet (HDN) price ticker app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published