{"id":24959417,"url":"https://github.com/lamgc/wp-asciiplayer","last_synced_at":"2026-05-17T06:31:33.679Z","repository":{"id":172967901,"uuid":"649190377","full_name":"LamGC/wp-asciiplayer","owner":"LamGC","description":"AsciiPlayer for WordPress.","archived":false,"fork":false,"pushed_at":"2024-06-17T11:08:58.000Z","size":209,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-03T07:47:03.122Z","etag":null,"topics":["asciicast","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LamGC.png","metadata":{"files":{"readme":"README-zh.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}},"created_at":"2023-06-04T04:30:10.000Z","updated_at":"2023-06-06T07:50:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"89220592-b040-4e82-a394-7a06a547da7f","html_url":"https://github.com/LamGC/wp-asciiplayer","commit_stats":null,"previous_names":["lamgc/wp-asciiplayer"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LamGC%2Fwp-asciiplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LamGC%2Fwp-asciiplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LamGC%2Fwp-asciiplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LamGC%2Fwp-asciiplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LamGC","download_url":"https://codeload.github.com/LamGC/wp-asciiplayer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100580,"owners_count":20723479,"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":["asciicast","wordpress","wordpress-plugin"],"created_at":"2025-02-03T07:47:06.693Z","updated_at":"2025-10-27T09:04:08.002Z","avatar_url":"https://github.com/LamGC.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-asciiplayer\n\n把 AsciiCast 添加到你的文章！\n\n## 快速开始\n\n在文章中添加一个简码，然后输入以下内容：\n\n```\n[asciiplayer]https://asciinema.org/a/28307.cast[/asciiplayer]\n```\n\n简码的内容为 asciicast 文件的 URL。\n\n### 选项\n\nAsciiPlayer 简码支持 asciinema-player 所支持的选项，例如设置 `fit` 为 `height` 并关闭控制栏：\n\n```\n[asciiplayer fit=\"height\" controls=\"false\"]https://asciinema.org/a/28307.cast[/asciiplayer]\n```\n\n你可以在[这里](https://www.npmjs.com/package/asciinema-player#options)找到所有可用的选项。\n\n\u003e 目前只有 `logger` 选项不受支持，因为这个选项需要传入一个对象。\n\n#### 样式选项\n\n为了方便自定义播放器元素，插件额外添加了 `style` 选项，该选项会直接控制 Asciinema-player 容器元素的样式：\n\n```\n[asciiplayer style=\"width: 80%;\"]https://asciinema.org/a/28307.cast[/asciiplayer]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamgc%2Fwp-asciiplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamgc%2Fwp-asciiplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamgc%2Fwp-asciiplayer/lists"}