{"id":13760966,"url":"https://github.com/plibither8/asciinema-player-for-github","last_synced_at":"2025-09-07T01:35:16.984Z","repository":{"id":48358565,"uuid":"169852235","full_name":"plibither8/asciinema-player-for-github","owner":"plibither8","description":"🎬✨ Browser extension to automatically detect asciinema links in a project's README and embed the asciinema player in its place","archived":false,"fork":false,"pushed_at":"2023-07-31T21:53:54.000Z","size":385,"stargazers_count":32,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T23:33:55.855Z","etag":null,"topics":["asciinema","browser-extension","chrome-extension","gif","github","readme"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/plibither8.png","metadata":{"files":{"readme":"README.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}},"created_at":"2019-02-09T09:46:44.000Z","updated_at":"2024-03-27T09:46:34.000Z","dependencies_parsed_at":"2024-11-19T02:01:29.360Z","dependency_job_id":null,"html_url":"https://github.com/plibither8/asciinema-player-for-github","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/plibither8/asciinema-player-for-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plibither8%2Fasciinema-player-for-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plibither8%2Fasciinema-player-for-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plibither8%2Fasciinema-player-for-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plibither8%2Fasciinema-player-for-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plibither8","download_url":"https://codeload.github.com/plibither8/asciinema-player-for-github/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plibither8%2Fasciinema-player-for-github/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273986614,"owners_count":25202704,"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-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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","browser-extension","chrome-extension","gif","github","readme"],"created_at":"2024-08-03T13:01:29.869Z","updated_at":"2025-09-07T01:35:16.938Z","avatar_url":"https://github.com/plibither8.png","language":"JavaScript","funding_links":["https://paypal.me/plibither8","https://www.buymeacoffee.com/plibither8"],"categories":["JavaScript"],"sub_categories":[],"readme":"# \u003cimg src=\"assets/icon.png\" width=\"45\" align=\"left\"\u003e asciinema Player for GitHub\n\n[link-cws]: https://chrome.google.com/webstore/detail/mkllmpcfhjcbkmegdpnaemhpdddffhil \"Version published on Chrome Web Store\"\n[link-amo]: https://addons.mozilla.org/en-US/firefox/addon/asciinema-player-for-github/ \"Version published on Mozilla Add-ons\"\n\n[![Licence](https://img.shields.io/badge/License-MIT-green.svg?style=flat-square)](LICENSE) \n[![Chrome Web Store](https://img.shields.io/chrome-web-store/users/mkllmpcfhjcbkmegdpnaemhpdddffhil.svg?label=chrome%20users\u0026style=flat-square)][link-cws]\n[![Mozilla Add-on](https://img.shields.io/amo/users/asciinema-player-for-github.svg?label=firefox%20users\u0026style=flat-square)][link-amo]\n![Made with love in India](https://madewithlove.now.sh/in?heart=true\u0026colorB=%23ff701f\u0026template=flat-square)\n\n\u003e Automatically detect instances of [asciinema](https://asciinema.org) links in a README on GitHub and embed the player in its place.\n\nThis is a lightweight Chrome extension. Instead of being directed to the asciinema website to watch the \"asciicast\", watch it directly in the README (or any `.md`, `.rst`, `.textile`, [etc.](https://github.com/github/markup/blob/master/README.md#markups) file), thanks to the [embedded player widget](https://asciinema.org/docs/embedding). 🎉\n\n![Demo](assets/demo.gif)\n\n## Install\n\n- [**Chrome** extension][link-cws] [\u003cimg valign=\"middle\" src=\"https://img.shields.io/chrome-web-store/v/mkllmpcfhjcbkmegdpnaemhpdddffhil.svg?label=%20\"\u003e][link-cws]\n- [**Firefox** add-on][link-amo] [\u003cimg valign=\"middle\" src=\"https://img.shields.io/amo/v/asciinema-player-for-github.svg?label=%20\"\u003e][link-amo]\n- **Opera** extension: Use [this Opera extension](https://addons.opera.com/en/extensions/details/download-chrome-extension-9/) to install the Chrome version.\n\n## Development\n\n1. Clone this repository by running\n    ```\n    git clone https://github.com/plibither8/asciinema-player-for-github.git\n    ```\n1. Ensure you are running an up-to-date version of [Node.js](https://nodejs.org/en/download/package-manager/) on your machine, and that you have npm installed.\n1. Open a terminal in the `asciinema-player-for-github` directory. Type\n    ```\n    npm install\n    ```\n    into the terminal to install the dependencies. To build the extension, type\n    ```\n    npm run watch\n    ```\n1. The extension files including the `manifest.json` file are in the `dist/` directory.\n\n### Content Security Policy Modification\n\n**Just FYI:** to allow third-party `iframe`s (in this case, from `asciinema.org`) to be rendered on github.com, the Content-Security-Policy (CSP) in the response headers of github.com are modified by this extension. The following modification takes place:\n\n\u003e Before: `frame-src render.githubusercontent.com;`\n\u003e\n\u003e After: `frame-src asciinema.org render.githubusercontent.com;`\n\nFor more details: [Content Security Policy (CSP) - Google Chrome](https://developer.chrome.com/extensions/contentSecurityPolicy)\n\nCode: [background.js](src/background.js)\n\n## Donate\n\nasciinema Player for GitHub was made by me during my study-breaks and free time. If you like and have enjoyed it, please consider donating a small amount (any amount will be really appreciated!) to support and sustain its development. Thank you!\n\n[![Donate](https://img.shields.io/badge/donate-PayPal-blue.svg?style=for-the-badge\u0026logo=paypal)](https://paypal.me/plibither8)\n\n[![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/purple_img.png)](https://www.buymeacoffee.com/plibither8)\n\n---\n\n## License\n\nCopyright (c) Mihir Chaturvedi. All rights reserved.\n\nLicensed under the [MIT](LICENSE) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplibither8%2Fasciinema-player-for-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplibither8%2Fasciinema-player-for-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplibither8%2Fasciinema-player-for-github/lists"}