{"id":24666006,"url":"https://github.com/daniloqueiroz/terminalsession","last_synced_at":"2026-05-20T07:36:59.242Z","repository":{"id":138802887,"uuid":"582166682","full_name":"daniloqueiroz/terminalsession","owner":"daniloqueiroz","description":"terminalsession is a very simple terminal session manager built on top of dtach and fzf","archived":false,"fork":false,"pushed_at":"2022-12-26T20:26:34.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T04:19:28.048Z","etag":null,"topics":["bash","dtach","terminal-session","terminal-session-manager"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/daniloqueiroz.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":"2022-12-26T00:15:46.000Z","updated_at":"2022-12-26T20:14:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"394709d5-6a46-493c-b5b0-ccbdc2f67a41","html_url":"https://github.com/daniloqueiroz/terminalsession","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/daniloqueiroz/terminalsession","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloqueiroz%2Fterminalsession","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloqueiroz%2Fterminalsession/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloqueiroz%2Fterminalsession/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloqueiroz%2Fterminalsession/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniloqueiroz","download_url":"https://codeload.github.com/daniloqueiroz/terminalsession/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloqueiroz%2Fterminalsession/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265554777,"owners_count":23787279,"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":["bash","dtach","terminal-session","terminal-session-manager"],"created_at":"2025-01-26T07:14:21.935Z","updated_at":"2026-05-20T07:36:54.198Z","avatar_url":"https://github.com/daniloqueiroz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# backstory\n\nIn my current setup I use [bspwm](https://github.com/baskerville/bspwm) as my window manager and [alacritty](https://github.com/alacritty/alacritty)\nas my terminal emulator and I wanted a super simple terminal session manager to use with it.\n\nAfter using [screen](https://www.gnu.org/software/screen/) and [tmux](https://github.com/tmux/tmux),\nI realized that I didn't need all the bell and whistles provided by such tools.\nIn fact, the highly rich feature set of said tools would get in my way many times.\n\nI decided to migrate to [tab-rs](https://github.com/austinjones/tab-rs), which is much more lean and heavily\ninspired **terminalsession**. Although much more simpler than other tools, `tab-rs` has a few things that I dislike,\nsuch as configurable sessions (not required, but once again a feature I don't need), use of websocket to connect to the server,\nand a few annoying bugs.\n\n# terminalsession\n\n`terminalsession` is a bash _terminal session manager_ built on top\nof [dtach](https://github.com/crigler/dtach) and [fzf](https://github.com/junegunn/fzf) (for interactive mode).\n\n`terminalsession` doesn't requires any configuration and doesn't provide any window management capabilities. It allows\nyou to **list**, **create**, **attach** and **kill** _$SHELL_ sessions.\nIt also provides a interactive mode, that can be used as the initial program for your terminal emulator.\nThat's is the full feature set!\n\n`terminalsession` stores the **dtach** sock files are stored in the _$XDG_RUNTIME_DIR_ dir (fallback to `/tmp`).\nAll sessions have an environment variable `$TERMINALSESSION` set with the name of the session - you can use it\nto display the name of the current session in your prompt.\n\n# usage\n\n* `tsctl list` - list all existing sessions\n* `tsctl attach \u003csession_name\u003e` - attach to an existing session or create \u0026 attach to a new one session\n* `tsctl kill \u003csession_name\u003e` - kills an existing session (sends **SIGTERM** signal)\n* `tsctl` - launch interactive mode\n\nOnce attached to a session, use **C-a** to detach from it.\n\nIn interactive mode:\n- select an exising session from the list and press **enter** to attach to it\n- type the name for a new session and press **enter** to create \u0026 attach to it\n- select an existing session an press **C-k** to kill it\n- press **C-r** to reload the session list\n- press **C-h** for help\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniloqueiroz%2Fterminalsession","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniloqueiroz%2Fterminalsession","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniloqueiroz%2Fterminalsession/lists"}