Zulip xkcd bot
This external Python SDK bot fetches xkcd comics on demand.
Create a Generic bot, download its zuliprc, install a compatible zulip-bots
package in an isolated environment, and run:
zulip-run-bot xkcd --config-file /path/to/zuliprc
Mention the account's full bot name, for example @**xkcd** latest.
The account name may differ from the technical module name xkcd.
Usage
help: list commands.latest: fetch the latest comic.random: fetch a random comic after obtaining the latest comic number.- A number such as
1234: fetch that comic.
Unknown commands return help. Missing comics or connection errors produce error
replies. Service responses and comic text are not translated. The script calls
https://xkcd.com/info.0.json and comic endpoints, returning an image link.
It is not an offline archive. The xkcd service does not require an API key for
this script; zuliprc authenticates the bot to Zulip.
Supervise the external process and test commands before production use. For SaaS, hybrid, on-premises, and carrier deployments, agree outbound HTTPS access to the server and xkcd/image hosts. Separate customer processes and bot credentials. These credentials are separate from BYOK encryption keys. Delivery and support are governed by your commercial agreement.
Logos are trademarks of their respective owners. None of the integrations on this page are created by, affiliated with, or supported by the companies represented by the logos.