oabtray

command module
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 15 Imported by: 0

README ΒΆ

OABTray - Bitcoin Price Tracker πŸš€πŸš€πŸš€πŸš€

Go Multi-Platform Build and Release

OABTray is a simple and fun Bitcoin price tracker that sits in your system tray. It provides real-time updates on Bitcoin's price and percentage change from Binance, with amusing animations for significant price movements.

Features

  • Real-time Bitcoin price updates from Binance API
  • Price display in USD with optional millions mode
  • Dynamic emoji indicators: 🟒 (up), πŸ”΄ (down), βšͺ (no change)
  • Rocket πŸš€ and salt πŸ§‚ indicators based on price movements
  • Fun animations for significant price changes (Β±5%)
  • Persistent data storage between sessions
  • Easy-to-use system tray interface
  • 30-second price update interval

System Requirements

  • macOS (currently macOS-only)
  • Go 1.23.3 or later (for building from source)

Installation

Building from Source
  1. Ensure you have Go 1.23.3 or later installed on your macOS system
  2. Clone this repository:
git clone https://github.com/ezeql/oabtray.git
  1. Navigate to the project directory:
cd oabtray
  1. Build the application:
./build.sh
  1. Run the executable:
./oabtray
Brew

Brew formula is on /Users/ezeql/dev/homebrew-personal/Formula

Usage

Once running, OABTray will appear in your system tray with the Bitcoin symbol (β‚Ώ). The tray icon will display:

  • Current Bitcoin price (with thousands separator)
  • 24-hour percentage change
  • Emoji indicator (🟒, πŸ”΄, or βšͺ)
  • Rocket πŸš€ or salt πŸ§‚ indicators based on price movement
Options
  • Click on the tray icon to see options
  • Toggle "Set price in millions" to switch between normal and millions display mode
  • View the current version
  • Price updates every 30 seconds
  • Special animations trigger when price change exceeds Β±5%:
    • "ALABADO!!!" for +5% or more
    • "PUTA MADRE!" for -5% or less

Price Indicators

The app shows price movement intensity with emojis:

  • Up movements: Rocket emojis πŸš€ (more rockets = bigger movement)
  • Down movements: Salt emojis πŸ§‚ (more salt = bigger drop)
  • Current trend: 🟒 (up), πŸ”΄ (down), or βšͺ (no change)

Dependencies

This project uses the following external libraries:

  • github.com/getlantern/systray
  • github.com/gofrs/flock

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is open source and available under the MIT License.

Disclaimer

This application is for entertainment purposes only. Always do your own research before making any investment decisions.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL