Omahub
← All plugins
C

Omaxkcd

by cossssmin

Browse and search every xkcd comic from the bar — latest, by number, or full-text search over title, alt text, and transcript.

Security review

Review recommended · 1 finding

Deterministic scan — not a security guarantee

Low
Risk level
Low
Analyzed commit
1a06927
Scanned
1 month ago

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

  • Docs external_hosts README.md:60

    Downloads or connects to an external HTTP(S) host.

    NC 2.5](https://xkcd.com/license.html)

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
1a06927
Reviewed
1 month ago

The plugin fetches xkcd comics from a public API and displays them in a bar widget. The code includes proper validation of image URLs (only https://imgs.xkcd.com/), response size limits, and abort logic for stale requests. The only external host flagged by the deterministic scan is a documentation link in the README (xkcd.com/license.html), which is benign and not part of the executable code.

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/cossssmin/omarchy-xkcd --enable
Widgets #bar

Omaxkcd

Browse and search every xkcd comic from the Omarchy bar - latest, by number, random, or full-text search over title, alt text, and transcript.

Omaxkcd panel

Features

  • Shows the latest comic when opened
  • Jump to any comic by number
  • Full-text search over titles, alt text, and transcripts
  • Shuffle button for a random comic
  • Copy the comic image to the clipboard
  • Click through to the comic on xkcd.com
  • Follows your Omarchy theme (colors, fonts, spacing)

Install

omarchy plugin add https://github.com/cossssmin/omarchy-xkcd.git --enable

The widget lands in the bar's right section by default.

Usage

Click the xk/cd icon in the bar:

  • Empty query shows the latest comic
  • Type a number to jump to that comic
  • Type anything else to full-text search titles, alt text, and transcripts
  • ↑/↓ move through results, Enter opens the comic on xkcd.com
  • Click the comic title or image to open it on xkcd.com
  • The shuffle button (top right) picks a random comic
  • The copy button next to the comic title copies the image to the clipboard
  • Escape closes the panel

Configuration

Nothing to configure :) Colors, fonts, and spacing follow your Omarchy theme automatically.

Dependencies

Everything below ships with a stock Omarchy install:

  • curl - fetches comic images
  • wl-clipboard (wl-copy) - copies images to the clipboard
  • xdg-open - opens comics in your browser

Comic data comes from the public xkcd search API (mirrors xkcd's own JSON and adds full-text search). Images are only ever loaded from imgs.xkcd.com over HTTPS.

Remove

omarchy plugin remove cossssmin.xkcd

Credits

License

MIT (plugin code). The bundled xkcd-script.ttf font is CC BY-NC 3.0.