Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Awesome Rates (Plasma 6 Applet)

A lightweight KDE Plasma 6 widget to display currency and crypto rates using customizable endpoints (e.g., AwesomeAPI).

Features

  • 📊 Display multiple rates (USD/BRL, BTC/USD, etc.)

  • ⚙️ Fully configurable via JSON

  • 🧩 Choose where each item appears:

    • Panel
    • Popup menu
    • Both
    • Hidden
  • 🔢 Short/compact display mode for panel (e.g., USD 5.02 / BTC 78k)

  • 📈 Shows variation indicators (▲ / ▼)

  • 🔄 Auto-refresh at configurable intervals

Installation

unzip awesome-rates-plasma6.zip
kpackagetool6 --type Plasma/Applet --install package

Then:

  • Right-click desktop or panel
  • "Add Widgets"
  • Search for Awesome Rates

Configuration

Edit the JSON config inside the widget settings.

Example:

[
  {
    "name": "USD/BRL",
    "url": "https://economia.awesomeapi.com.br/json/last/USD-BRL",
    "path": "USDBRL.bid",
    "change": "USDBRL.pctChange",
    "display": "panel",
    "short": true
  },
  {
    "name": "BTC/USD",
    "url": "https://economia.awesomeapi.com.br/json/last/BTC-USD",
    "path": "BTCUSD.bid",
    "change": "BTCUSD.pctChange",
    "display": "both",
    "short": true
  }
]

Fields

  • name: Label shown in UI
  • url: API endpoint
  • path: Dot-notation path to value
  • change: Path to percentage change
  • display: panel, menu, both, hidden
  • short: Compact display in panel

Example Output

Panel (short mode):

USD 5.02 / BTC 78k

Popup menu:

  • USD/BRL — 5.02 ▲
  • BTC/USD — 78,000 ▼

Notes

  • Uses AwesomeAPI by default but works with any JSON API
  • Ensure CORS/HTTPS compatibility if using custom endpoints

## License

MIT

About

Awesome Rates (Plasma 6 Applet)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages