{"id":13758394,"url":"https://github.com/freaktechnik/twitch-chatlog","last_synced_at":"2025-05-10T08:30:25.248Z","repository":{"id":47980407,"uuid":"63892584","full_name":"freaktechnik/twitch-chatlog","owner":"freaktechnik","description":"Fetch the chatlog to a twitch VOD from your command line.","archived":true,"fork":false,"pushed_at":"2021-08-11T08:38:06.000Z","size":4892,"stargazers_count":83,"open_issues_count":5,"forks_count":15,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-16T15:37:41.427Z","etag":null,"topics":["chat","cli","irc","javascript","log","nodejs","playback","rechat","twitch","vod"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/twitch-chatlog","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/freaktechnik.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}},"created_at":"2016-07-21T18:20:39.000Z","updated_at":"2023-12-19T17:39:09.000Z","dependencies_parsed_at":"2022-08-12T15:50:34.683Z","dependency_job_id":null,"html_url":"https://github.com/freaktechnik/twitch-chatlog","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freaktechnik%2Ftwitch-chatlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freaktechnik%2Ftwitch-chatlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freaktechnik%2Ftwitch-chatlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freaktechnik%2Ftwitch-chatlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freaktechnik","download_url":"https://codeload.github.com/freaktechnik/twitch-chatlog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253389389,"owners_count":21900751,"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":["chat","cli","irc","javascript","log","nodejs","playback","rechat","twitch","vod"],"created_at":"2024-08-03T13:00:29.320Z","updated_at":"2025-05-10T08:30:24.891Z","avatar_url":"https://github.com/freaktechnik.png","language":"JavaScript","funding_links":[],"categories":["Libraries"],"sub_categories":["JavaScript (Node.js)"],"readme":"# twitch-chatlog\n\n[![codecov](https://codecov.io/gh/freaktechnik/twitch-chatlog/branch/master/graph/badge.svg)](https://codecov.io/gh/freaktechnik/twitch-chatlog)\n\nFetch the chatlog to a Twitch VOD from your command line with `twitch-chatlog`.\n\n![image](https://user-images.githubusercontent.com/640949/32186906-b3275e40-bda3-11e7-95a2-4cccb6ce9b3b.png)\n\nThis little command can download the whole chat log to a twitch VOD. It takes the ID of the VOD (1111111 or similar) as only argument. To learn about the usage of the command, use `twitch-chatlog -h`.\n\nThe output can optionally be colored with `-c` or `--color` or by setting an environment variable `TWITCH_CHATLOG_COLOR`.\n\nTo make use of your own Twitch application client ID, you may provide it as a command line option `-C` or `--client-id` or set an environment variable `TWITCH_CHATLOG_CLIENT_ID`. The default value for client ID is not guaranteed to work [past 08 Aug 2016](https://discuss.dev.twitch.tv/t/client-id-requirement-faqs/6108), in which case you will have to supply your own.\n\nTo control the part of the chat log to fetch, `--start`, `--length` and `--end` can be used. See the usage section below. By default the command will only fetch the first ten minutes of chat log to minimize the amount of requests.\n\n## Installation\n\n```sh\nnpm install -g twitch-chatlog\n```\n\n## Usage\n\n```\nFetch the chat log to a Twitch VOD.\nUsage: twitch-chatlog \u003cvod_id\u003e\n\nvod_id is the ID from the VOD URL, optionally prefixed with v (deprecated).\n\nOptions:\n  -c, --color      Colorize output                    [boolean] [default: false]\n  -C, --client-id  Twitch application client ID  [string] [default: (Client-ID)]\n  -l, --length     Amount of time from the log to fetch in seconds. Gets\n                   shortened to the VOD length if bigger. 0 loads everything but\n                   is not recommended. The output will run until the next end of\n                   a log fragment.                  [number] [default: (10 min)]\n  -s, --start      Start time. Can either be a time relative to the VOD start or\n                   actual time.                   [string] [default: \"00:00:00\"]\n  -e, --end        End time. Alternative to specifying a length. A time like for\n                   start.                                               [string]\n  -r, --raw        Print the raw JSON output instead of a formatted chat log.\n                                                      [boolean] [default: false]\n\n  -h, --help       Show help                                           [boolean]\n  -v, --version    Show version number                                 [boolean]\n\nExamples:\n  twitch-chatlog 79240813                   Load the first ten minutes of chat\n                                            for the VOD\n                                            https://twitch.tv/ec0ke/v/79040813\n  twitch-chatlog -c --end 00:15:00 79240813 Load the first 15 minutes of chat\n                                            for the VOD and colorize the output.\n  twitch-chatlog 79240813                   Load the chat log until the given\n  --end=2016-07-20T20:37:44+0000            date.\n\n```\n\n## Similar Projects\n\n- https://github.com/PetterKraabol/Twitch-Chat-Downloader\n- https://github.com/bibby/itch\n- https://github.com/OgulcanCelik/twitch-clip-chat\n\n## Disclaimer\n\nThis program uses an unofficial Twitch API that may stop working at any point. It also potentially sends a lot of requests in quick succession, which might lead to Twitch taking measures against it and thus the program and/or your Twitch experience being reduced.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreaktechnik%2Ftwitch-chatlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreaktechnik%2Ftwitch-chatlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreaktechnik%2Ftwitch-chatlog/lists"}