Skip to content

dejurin/crypto-converter-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Converter ⚡ Widget

  • Latest version: 1.5.2;
  • Size: ≈71.5 kBytes;
  • License: MIT

❗ The current version of the HTML widget and WordPress plugin may differ, due to different development. The core and functionality of the widget is not different.

WordPress Plugin Version

The Crypto Converter Widget — is a powerful and easy-to-use with beauty UI real-time web tool to conversion cryptocurrencies FOR ANY WEBSITES. Customers can choose from available ≈170 fiat currencies and ≈2,288 crypto. For FREE.


"Buy Me A Coffee"


DEMO 👀 Example 1 | Example 2

Cryptocurrency Converter Widget

Features 🤩

  • No Cryptojacking!
  • Pure JavaScript ≈71.5 kBytes (gzip), no dependencies;
  • Flexible settings and customizable design;
  • Real-time ⚡ streaming price update;
  • Processed on a third-party server;
  • Sound beep when price changed
  • ≈2,288 cryptocurrencies and ≈170 fiat currencies;
  • SSL support;
  • SEO-friendly.

Install 🖥️

  1. Copy example below and set your attributes customize.
  2. Enjoy.

Example 💡

<!-- Crypto Converter ⚡ Widget --><crypto-converter-widget shadow symbol live background-color="#383a59" border-radius="0.60rem" fiat="united-states-dollar" crypto="bitcoin" amount="1" decimal-places="2"></crypto-converter-widget><a href="https://currencyrate.today/" target="_blank" rel="noopener">CurrencyRate.Today</a><script async src="https://cdn.jsdelivr.net/gh/dejurin/[email protected]/dist/latest.min.js"></script><!-- /Crypto Converter ⚡ Widget -->

Examples: JSFiddle | CodePen | CodePen (multi color example) | A lot widget on one page

You can find many uses for this widget, not just on the website. See how I did a live stream with cryptocurrencies: https://www.youtube.com/watch?v=LQIsk5wIAzw


jsDelivr CDN

Latest
https://cdn.jsdelivr.net/gh/dejurin/[email protected]/dist/latest.min.js
Latest legacy
https://cdn.jsdelivr.net/gh/dejurin/[email protected]/dist/latest-legacy.min.js

All versions here: https://cdn.jsdelivr.net/gh/dejurin/crypto-converter-widget/dist/


StackPath CDN

Latest
https://s.fx-w.io/ccw/latest.min.js
Latest legacy
https://s.fx-w.io/ccw/latest-legacy.min.js

Changelog ✳️

[1.5.2] - 2021-01-10

Fixed
  • Major fixes

[1.5.1] - 2021-01-10

Fixed
  • Major fixes

[1.5.0] - 2021-01-09

Fixed
  • Major fixes

[1.4.2] - 2021-01-08

Fixed
  • Minor fixes

[1.4.1] - 2021-01-08

Fixed
  • Minor fixes
Add
  • Loading anim

[1.4.0] - 2021-01-07

Fixed
  • Add interceptors for poor request
  • Minor fixes
Add
  • Play/Pause price updates
Delete
  • Sound beep when price changed

[1.3.5] - 2021-01-05

Fixed
  • Minor fixes
Add
  • Sound beep when price changed

[1.1.7] - 2021-01-04

Fixed
  • Select fiat [live]
  • Minor fixes

[1.1.6] - 2021-01-03

Fixed
  • Currency symbol
  • Minor fixes
Add
  • Currency symbol attribut

[1.0.4] - 2020-12-12

Fixed
  • Select form [await load]
  • Background image
  • WebSocket stop/start

[1.0.0] - 2020-12-11

  • First release

For Developers 🧑‍💻

Attribute Type Default Reactive Description
Amount float 1 + Amount of cryptocurrency.
background-color string #383a59 + Background color of widget.
border-radius string 0.60rem + Border radius of widget.
crypto string bitcoin + Cryptocurrency ID.
decimal-places int 2 + Decimal places.
fiat string united-states-dollar + Fiat money symbol.
font-family string inherit + Font of widget.
shadow boolean false + Shadow of widget.
symbol boolean false + Currency symbol ($).
live boolean false + Prices are updated real-time.

The list of cryptocurrencies that can be selected in the widget: https://github.com/dejurin/crypto-converter-widget/blob/master/list.md


Copyright and license Github

Code copyright 2023 CR.Today, CurrencyRate. Code released under the MIT license.