{"id":29696440,"url":"https://github.com/hugo-fixit/shortcode-asciinema","last_synced_at":"2025-07-23T09:39:32.678Z","repository":{"id":271530331,"uuid":"913745835","full_name":"hugo-fixit/shortcode-asciinema","owner":"hugo-fixit","description":"A Hugo theme component with asciinema-embed shortcode.","archived":false,"fork":false,"pushed_at":"2025-07-04T02:45:22.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T03:34:06.573Z","etag":null,"topics":["asciinema","hugo","shortcodes","theme-component"],"latest_commit_sha":null,"homepage":"https://fixit.lruihao.cn/documentation/installation/#cli","language":"HTML","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/hugo-fixit.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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,"zenodo":null},"funding":{"custom":["https://paypal.me/Lruihao"]}},"created_at":"2025-01-08T09:20:48.000Z","updated_at":"2025-07-04T02:45:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"601edbf8-5e03-4447-9c3c-11a4d1be1cc9","html_url":"https://github.com/hugo-fixit/shortcode-asciinema","commit_stats":null,"previous_names":["hugo-fixit/shortcode-asciinema"],"tags_count":2,"template":false,"template_full_name":"hugo-fixit/component-skeleton","purl":"pkg:github/hugo-fixit/shortcode-asciinema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-asciinema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-asciinema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-asciinema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-asciinema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugo-fixit","download_url":"https://codeload.github.com/hugo-fixit/shortcode-asciinema/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-asciinema/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266655869,"owners_count":23963557,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asciinema","hugo","shortcodes","theme-component"],"created_at":"2025-07-23T09:39:30.817Z","updated_at":"2025-07-23T09:39:32.656Z","avatar_url":"https://github.com/hugo-fixit.png","language":"HTML","funding_links":["https://paypal.me/Lruihao"],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable-file MD033 MD041 --\u003e\n\u003ch1 align=\"center\"\u003eshortcode-asciinema | FixIt\u003c/h1\u003e\n\n\u003cdiv align=\"center\" class=\"ignore\"\u003e\n  \u003cp\u003eA Hugo theme component with \u003ccode\u003easciinema-embed\u003c/code\u003e shortcode.\u003c/p\u003e\n  \u003ca href=\"/README.md\"\u003e简体中文\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/zh-cn/ecosystem/hugo-fixit/shortcode-asciinema/?lang=chinese_traditional\"\u003e繁體中文\u003c/a\u003e |\n  English |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-asciinema/?lang=french\"\u003eFrançais\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-asciinema/?lang=russian\"\u003eРусский язык\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-asciinema/?lang=spanish\"\u003eEspañol\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-asciinema/?lang=hindi\"\u003eहिन्दी\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-asciinema/?lang=german\"\u003edeutsch\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-asciinema/?lang=korean\"\u003e한국어\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-asciinema/?lang=japanese\"\u003eしろうと\u003c/a\u003e\n\u003c/div\u003e\n\n## Demo\n\n[Installation Theme#CLI  | FixIt](https://fixit.lruihao.cn/documentation/installation/#cli)\n\n## Requirements\n\nApplicable to all Hugo themes.\n\n## Install Component\n\nThe installation method is the same as [installing a theme](https://fixit.lruihao.cn/documentation/installation/). There are several ways to install, choose one, Here are two mainstream ways.\n\n### Install as Hugo Module\n\nFirst make sure that your project itself is a [Hugo module](https://gohugo.io/hugo-modules/use-modules/#initialize-a-new-module).\n\nThen add this theme component to your `hugo.toml` configuration file:\n\n```toml\n[module]\n  [[module.imports]]\n    path = \"github.com/hugo-fixit/FixIt\"\n  [[module.imports]]\n    path = \"github.com/hugo-fixit/shortcode-asciinema\"\n```\n\nOn the first start of Hugo it will download the required files.\n\nTo update to the latest version of the module run:\n\n```bash\nhugo mod get -u\nhugo mod tidy\n```\n\n### Install as Git Submodule\n\nClone [FixIt](https://github.com/hugo-fixit/FixIt) and this git repository into your theme folder and add it as submodules of your website directory.\n\n```bash\ngit submodule add https://github.com/hugo-fixit/FixIt.git themes/FixIt\ngit submodule add https://github.com/hugo-fixit/shortcode-asciinema.git themes/shortcode-asciinema\n```\n\nNext edit `hugo.toml` of your project and add this theme component to your themes:\n\n```toml\ntheme = [\"FixIt\", \"shortcode-asciinema\"]\n```\n\n## Record Terminal\n\nYou can use the `asciinema` command to record the terminal and upload it to [asciinema.org](https://asciinema.org/).\n\n```bash\nasciinema rec demo.cast\n# press \u003cctrl-d\u003e or type \"exit\" when you're done\nasciinema upload demo.cast\n```\n\n## Use Shortcode\n\nHere is an example of usage:\n\n```markdown\n{{\u003c asciinema-embed 697494 \u003e}}\n```\n\nThe rendering effect is as follows:\n\n[![asciicast](https://asciinema.org/a/697494.svg)](https://asciinema.org/a/697494)\n\n## References\n\n- [Develop Theme Components | FixIt](https://fixit.lruihao.cn/contributing/components/)\n- [How to Develop a Hugo Theme Component | FixIt](https://fixit.lruihao.cn/components/dev-component/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugo-fixit%2Fshortcode-asciinema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugo-fixit%2Fshortcode-asciinema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugo-fixit%2Fshortcode-asciinema/lists"}