{"id":20217613,"url":"https://github.com/pforret/xkcd","last_synced_at":"2026-05-12T00:36:46.192Z","repository":{"id":144773729,"uuid":"470636993","full_name":"pforret/xkcd","owner":"pforret","description":"View a XKCD comic in your console/TTY","archived":false,"fork":false,"pushed_at":"2022-03-16T16:11:13.000Z","size":620,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T22:21:26.823Z","etag":null,"topics":["bashew","iterm2","kitty-terminal","terminal","xkcd"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pforret.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-16T15:14:32.000Z","updated_at":"2022-03-21T10:50:15.000Z","dependencies_parsed_at":"2023-07-25T02:32:10.541Z","dependency_job_id":null,"html_url":"https://github.com/pforret/xkcd","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":"pforret/bashew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fxkcd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fxkcd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fxkcd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fxkcd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforret","download_url":"https://codeload.github.com/pforret/xkcd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241654766,"owners_count":19997928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bashew","iterm2","kitty-terminal","terminal","xkcd"],"created_at":"2024-11-14T06:34:49.812Z","updated_at":"2025-11-30T07:04:46.150Z","avatar_url":"https://github.com/pforret.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Shellcheck CI](https://github.com/pforret/xkcd/workflows/Shellcheck%20CI/badge.svg)\n![GH Language](https://img.shields.io/github/languages/top/pforret/xkcd)\n![GH stars](https://img.shields.io/github/stars/pforret/xkcd)\n![GH tag](https://img.shields.io/github/v/tag/pforret/xkcd)\n![GH License](https://img.shields.io/github/license/pforret/xkcd)\n[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash\u0026style=flat)](https://basher.gitparade.com/package/)\n\n# xkcd\n\nView a XKCD comic in your console. Works with [Kitty](https://sw.kovidgoyal.net/kitty/) and [iTerm2](https://iterm2.com/)\n\n![pforret/xkcd](assets/pforret_xkcd.jpg)\n\ninspired by [Read XKCD in the terminal with some bash magic](https://www.roboleary.net/2022/02/24/xkcd-in-the-terminal-with-some-bash-magic.html)\n\n## 🔥 Usage\n\n```\nDescription: View a XKCD comic in your console\nUsage: xkcd [-h] [-q] [-v] [-f] [-l \u003clog_dir\u003e] [-t \u003ctmp_dir\u003e] \u003caction\u003e\nFlags, options and parameters:\n    -h|--help        : [flag] show usage [default: off]\n    -q|--quiet       : [flag] no output [default: off]\n    -v|--verbose     : [flag] output more [default: off]\n    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]\n    -l|--log_dir \u003c?\u003e : [option] folder for log files   [default: /Users/pforret/log/xkcd]\n    -t|--tmp_dir \u003c?\u003e : [option] folder for temp files  [default: /tmp/xkcd]\n    \u003caction\u003e         : [parameter] action to perform: last/random\n\n### TIPS \u0026 EXAMPLES\n* use xkcd last to view last/latest XKCD comic\n* use xkcd random to view random XKCD comic\n* use xkcd check to check if this script is ready to execute and what values the options/flags are\n  xkcd check\n* use xkcd env to generate an example .env file\n  xkcd env \u003e .env\n* use xkcd update to update to the latest version\n  xkcd update\n* \u003e\u003e\u003e bash script created with pforret/bashew\n* \u003e\u003e\u003e for bash development, also check out pforret/setver and pforret/progressbar\n```\n\n## 🚀 Installation\n\nwith [basher](https://github.com/basherpm/basher)\n\n\t$ basher install pforret/xkcd\n\nor with `git`\n\n\t$ git clone https://github.com/pforret/xkcd.git\n\t$ cd xkcd\n\n## 📝 Acknowledgements\n\n* script created with [bashew](https://github.com/pforret/bashew)\n\n\u0026copy; 2022 Peter Forret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fxkcd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforret%2Fxkcd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fxkcd/lists"}