XKCD.jl
Retrieve data from the xkcd webcomic
Install / Use
/learn @joshday/XKCD.jlREADME
XKCD
A Julia package for retrieving data from the XKCD webcomic: xkcd.com.
Usage
Use the Comic struct to retrieve a comic's metadata.
The comic function retrieves the comic's data and optionally opens the image in a browser.
using XKCD
julia> Comic(552)
Comic
{
"month": "3",
"num": 552,
"link": "",
"year": "2009",
"news": "",
"safe_title": "Correlation",
"transcript": "[[A man is talking to a woman]]\nMan: I used to think correlation implied causation.\nMan: Then I took a statistics class. Now I don't.\nWoman: Sounds like the class helped.\nMan: Well, maybe.\n{{Title text: Correlation doesn't imply causation, but it does waggle its eyebrows suggestively and gesture furtively while mouthing 'look over there'.}}",
"alt": "Correlation doesn't imply causation, but it does waggle its eyebrows suggestively and gesture furtively while mouthing 'look over there'.",
"img": "https://imgs.xkcd.com/comics/correlation.png",
"title": "Correlation",
"day": "6"
}
Special Features:
Display in Pluto/Jupyter

Retrieve a comic at random
rand(Comic)
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
