Omahub
← All plugins
5

Stocks

by 5d0tal1gat0r

Stock ticker pill with a quotes panel for the Omarchy bar (Yahoo Finance, no API key).

Security review

Review recommended · 1 finding

Deterministic scan — not a security guarantee

Low
Risk level
Low
Analyzed commit
e995540
Scanned
1 month ago

Flagged patterns appear only in documentation files (README / docs) — descriptive examples, not executable code.

Automated analysis only — not a security guarantee.

AI advisory review

No obvious issues detected

Language-model assessment · ~deepseek/deepseek-v4-flash-latest — advisory only

Low
AI risk level
Low
Recommendation
install
Model
~deepseek/deepseek-v4-flash-latest
Analyzed commit
e995540
Reviewed
1 month ago

The plugin fetches stock data from Yahoo Finance via curl. The flagged external host in the docs is just a GitHub URL for the repository, not a runtime dependency. No malicious code or behavior detected.

How this check works

This review combines the deterministic scan (the rule-based results above) with an independent look at the plugin's code by a language model. The model reads a trimmed sample of the repository's files, the manifest, and the README, then gives a plain-language risk level and a recommendation: install (no notable danger), review (look closer first), or avoid (clearly dangerous).

It runs on the same analyzed commit as the deterministic scan and is strictly advisory — it is not a security guarantee and never blocks a plugin by itself. A human moderator still reviews plugins before they are listed.

AI advisory only — automated analysis, not a security guarantee.

Install
$ omarchy plugin add https://github.com/5d0tal1gat0r/omarchy-stocks --enable
Widgets #bar #quickshell #system

Stocks for Omarchy

A Wall-Street-style ticker tape for the Omarchy Quattro bar. The tape scrolls your symbols (AAPL 305.59 ▲0.42% • NVDA …) in the theme's green/red; click it for a panel with sparklines, a detail chart with range selector, key stats and a currency switch. Quotes and FX rates come from Yahoo Finance — no API key.

preview

Install

omarchy plugin add https://github.com/5d0tal1gat0r/omarchy-stocks.git --enable

The widget lands in the bar's center section. Move it with:

omarchy bar move io.github.5d0tal1gat0r.stocks --section right

Usage

where action effect
tape left click open / close the panel (Esc closes, Tab switches panels)
tape middle click refresh now
tape right click / hover pause the tape (hover pauses while pointing)
panel 1D 5D 1M 6M 1Y chart range (persisted)
panel USD ⇄ chip left click: next currency · right click: previous · Native = each quote in its own currency
panel click a row show that symbol's chart and stats
panel Open on Yahoo Finance ↗ open the selected symbol in your browser

IPC (for keybindings): omarchy-shell io.github.5d0tal1gat0r.stocks toggle|open|close|refresh|pause

Configure

Settings live on the widget's entry in ~/.config/omarchy/shell.json and apply instantly:

omarchy bar set io.github.5d0tal1gat0r.stocks symbols '["AAPL","MSFT","BTC-USD","^GSPC"]' --json
omarchy bar set io.github.5d0tal1gat0r.stocks tickerWidth 260
omarchy bar set io.github.5d0tal1gat0r.stocks scrollSpeed 30
omarchy bar set io.github.5d0tal1gat0r.stocks currency EUR
omarchy bar set io.github.5d0tal1gat0r.stocks compact true --json    # "AAPL ▲0.42%" without the price
key default meaning
symbols ["AAPL","NVDA","SPCX","GOOGL"] any Yahoo Finance symbols (stocks, ETFs, BTC-USD, EURUSD=X, ^GSPC); a comma-separated string also works
refreshMinutes 5 quote refresh interval (minimum 1)
tickerWidth 180 tape width in px (minimum 80)
scrollSpeed 20 tape speed in px/s; 0 = static
compact false drop the price from the tape
chartRange 1d one of 1d 5d 1mo 6mo 1y (the panel chips set this)
currency "" (native) show every price in this currency, e.g. EUR (the panel chip sets this)
currencies ["USD","EUR","GBP","JPY","CHF"] what the currency chip cycles through
upColor / downColor theme green / red override the tints with a hex color, e.g. "#a6e3a1"

Unknown symbols show as Not Found in the panel and are left out of the tape. Colors follow the current theme's colors.toml; themes without a green get a neutral fallback.

Develop

Clone this repository (or your fork), then from its root:

node --test test/model.test.js                              # Model.js unit tests
qmllint -I /usr/share/omarchy/shell Panel.qml
omarchy plugin validate "$PWD"
omarchy plugin add "$PWD" --enable                          # installs a clone into ~/.config/omarchy/plugins/
rsync -a --delete --exclude .git ./ ~/.config/omarchy/plugins/io.github.5d0tal1gat0r.stocks/
omarchy restart shell                                       # QML is cached per shell process; a restart loads the edit
qs log -p /usr/share/omarchy/shell --tail 100               # shell log

Model.js holds every piece of logic that does not need QML (parsing, formatting, conversion, chart geometry) so it can be tested with plain Node.

Remove

omarchy plugin remove io.github.5d0tal1gat0r.stocks

License

MIT