{"id":15343686,"url":"https://github.com/spacewander/termdump","last_synced_at":"2025-11-08T15:30:30.381Z","repository":{"id":32589150,"uuid":"36172437","full_name":"spacewander/termdump","owner":"spacewander","description":"Dump your (pseudo)terminal session and replay it","archived":false,"fork":false,"pushed_at":"2015-09-05T02:21:12.000Z","size":244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-23T16:21:27.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/spacewander.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":"2015-05-24T13:00:30.000Z","updated_at":"2015-05-24T13:33:49.000Z","dependencies_parsed_at":"2022-08-24T20:30:59.969Z","dependency_job_id":null,"html_url":"https://github.com/spacewander/termdump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Ftermdump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Ftermdump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Ftermdump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Ftermdump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacewander","download_url":"https://codeload.github.com/spacewander/termdump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239558930,"owners_count":19658929,"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":[],"created_at":"2024-10-01T10:48:34.200Z","updated_at":"2025-11-08T15:30:30.338Z","avatar_url":"https://github.com/spacewander.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# termdump\n\n[![Build Status](https://travis-ci.org/spacewander/termdump.svg?branch=master)](http://travis-ci.org/spacewander/termdump)\n\nDump your (pseudo)terminal session and replay it. You can use it to bootstrap daily work.\n\n## Usage\n\n```shell\nUsage: termdump [options] [session]\n    -i, --init                       initialize configure interactively\n    -e, --edit [session]             edit session\n    -d, --delete [session]           delete session\n    -s, --save [session]             save session\n        --stdout                     print dump result to stdout while saving a session\n        --exclude                    exclude current pty while saving a session\n    -l, --list                       list all sessions\n    -v, --version                    print version\n```\n\n### initialize configure\n\n```shell\n$ termdump -i\n```\n\n### dump a session\n\n```shell\n$ termdump -s mydailywork\nEnter a new session name:\n# or `termdump -s mydailywork --exclude`\n# if you want to exclude the pty running this command\n```\n\n### load a session\n\n```shell\n$ termdump mydailywork\n```\n\nor\n\n```shell\n$ termdump\norder:  session name    ctime               atime\n[0]:        scutmall    2015-07-01 17:07:37 2015-07-25 11:59:42\n[1]:        mydailywork 2015-07-19 11:05:52 2015-07-25 11:22:03\n[2]:        termdump    2015-06-30 10:58:20 2015-07-25 11:21:46\nSelect one session to load:1\n```\n\n### edit a session\n\n```shell\n$ termdump -e mydailywork\n```\n\nor\n\n```shell\n$ termdump -e\norder:  session name    ctime               atime\n[0]:        scutmall    2015-07-01 17:07:37 2015-07-25 11:59:42\n[1]:        mydailywork 2015-07-19 11:05:52 2015-07-25 11:22:03\n[2]:        termdump    2015-06-30 10:58:20 2015-07-25 11:21:46\nSelect one session to edit:1\n```\n\n### delete a session\n\n```shell\n$ termdump -d mydailywork\n```\n\nor\n\n```shell\n$ termdump -d\norder:  session name    ctime               atime\n[0]:        scutmall    2015-07-01 17:07:37 2015-07-25 11:59:42\n[1]:        mydailywork 2015-07-19 11:05:52 2015-07-25 11:22:03\n[2]:        termdump    2015-06-30 10:58:20 2015-07-25 11:21:46\nSelect one session to delete:1\n```\n\n### list all session\n\n```shell\n$ termdump -l\n# equal to run `termdump`\n```\n\nRead more in [session syntax and examples](sessions.md) and [configure](configure.md).\n\n## Supported terminal\n\n- [x] gnome-terminal\n- [x] guake\n- [x] konsole\n- [x] terminator\n- [x] tilda\n- [x] urxvt\n- [ ] xfce4-terminal\n- [x] xterm\n- [ ] yakuake\n\nIf you want to support Terminal X, you can write a terminal file under\nhttps://github.com/spacewander/termdump/tree/master/lib/termdump/terminal and then send me a pr.\nCurrently there is not a plan to support terminals in OS X platform, since I don't have OS X to test with.\nIf you want to implement one, you may need to use [cliclick](https://github.com/BlueM/cliclick) instead of `xdotool`.\n\n## Requirements\n\nCurrent requirements are `ps` and `xdotool`.\nWe use `ps` to get the result of terminal session, and `xdotool` to emulate typing.\n\n`ps` has been shipped with your OS probably.\nYou can install `xdotool` via [this guide](http://www.semicomplete.com/projects/xdotool/#idp9392).\n\n## Video\n\nTODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewander%2Ftermdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacewander%2Ftermdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewander%2Ftermdump/lists"}