{"id":45345861,"url":"https://github.com/xakep666/asciinema-player","last_synced_at":"2026-02-21T11:30:41.324Z","repository":{"id":44821056,"uuid":"139115883","full_name":"xakep666/asciinema-player","owner":"xakep666","description":"A simple player for asciinema v2 (https://github.com/asciinema/asciinema) casts","archived":false,"fork":false,"pushed_at":"2023-11-02T21:35:29.000Z","size":1102,"stargazers_count":17,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T18:09:25.175Z","etag":null,"topics":["ascii","asciicast","asciinema","cast","go","golang","lib","mit","player","terminal","tool","util"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/xakep666.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":"2018-06-29T07:25:16.000Z","updated_at":"2023-09-08T17:42:16.000Z","dependencies_parsed_at":"2022-08-25T12:10:29.980Z","dependency_job_id":"9e01ed22-6560-416b-bbdb-cff42e8fd6ba","html_url":"https://github.com/xakep666/asciinema-player","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/xakep666/asciinema-player","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xakep666%2Fasciinema-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xakep666%2Fasciinema-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xakep666%2Fasciinema-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xakep666%2Fasciinema-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xakep666","download_url":"https://codeload.github.com/xakep666/asciinema-player/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xakep666%2Fasciinema-player/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T11:29:27.227Z","status":"ssl_error","status_checked_at":"2026-02-21T11:29:20.292Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ascii","asciicast","asciinema","cast","go","golang","lib","mit","player","terminal","tool","util"],"created_at":"2026-02-21T11:30:40.618Z","updated_at":"2026-02-21T11:30:41.310Z","avatar_url":"https://github.com/xakep666.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asciinema-player\n[![Build Status](https://github.com/xakep666/asciinema-player/actions/workflows/testing.yml/badge.svg)](https://github.com/xakep666/asciinema-player/actions/workflows/testing.yml)\n[![codecov](https://codecov.io/gh/xakep666/asciinema-player/branch/master/graph/badge.svg)](https://codecov.io/gh/xakep666/asciinema-player)\n[![Go Report Card](https://goreportcard.com/badge/github.com/xakep666/asciinema-player)](https://goreportcard.com/report/github.com/xakep666/asciinema-player)\n[![Go Reference](https://pkg.go.dev/badge/github.com/xakep666/asciinema-player/v3.svg)](https://pkg.go.dev/github.com/xakep666/asciinema-player/v3)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nasciinema-player is a library and cli-app to play terminal sessions recorded by asciinema (http://github.com/asciinema/asciinema)\n\n## Prerequisites\n* Golang \u003e= 1.17\n\n## Installation\nLibrary:\n```bash\ngo get -v -u github.com/xakep666/asciinema-player\n```\n\nApp:\n```bash\ngo get -v -u github.com/xakep666/asciinema-player/cmd/asciinema-player\n```\n\n## Usage\n### App\n```\n$ ./asciinema-player --help\n  Usage of ./asciinema-player:\n    -f string\n          path to asciinema v2 file\n    -maxWait duration\n          maximum time between frames (default 2s)\n    -speed float\n          speed adjustment: \u003c1 - increase, \u003e1 - decrease (default 1)\n```\nFor example you can play test session `./asciinema-player -f test.cast`\n\n[![asciicast](https://asciinema.org/a/189343.png)](https://asciinema.org/a/189343)\n\n### Library\n```go\nframeSource, err := player.NewStreamFrameSource(reader)\nif err != nil {\n    return err\n}\n\nterm, err := player.NewOSTerminal()\nif err != nil {\n    return err\n}\n\ndefer term.Close()\n\nplayer, err := player.NewPlayer(frameSource, terminal)\nif err != nil {\n    return err\n}\n\nerr = player.Play()\nif err != nil {\n    return err\n}\n```\nLibrary usage example is app, actually.\n\n## Examples\n[Renderer to GIF](./example/togif)\n[Web-based player for server-stored casts](./example/webplayer)\n\n## License\nAsciinema-player project is licensed under the terms of the MIT license. Please see LICENSE in this repository for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxakep666%2Fasciinema-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxakep666%2Fasciinema-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxakep666%2Fasciinema-player/lists"}