a little project to automate the creation of a sessionized git repo in your editor of choice, with tmux, or not...
the application uses github authentication and some interactive prompts to...
- init the application
-
- authenticates with github via device flow
- lets you search through your public and private repositories
- select and clone a repo
-
- clone with SSH or HTTP
-
-
- standard or bare (if you like worktrees) repository
-
- cd into directory
- start a tmux session, if that's your cup of tea
- and finally, open the repo in your preferred editor (vscode, vim, or neovim)
-
- (soon) emacs and other stuff as well
TODO:
- implement choice between standard or bare repo
- detect if tmux is active. if it is, attach and switch to the new window. otherwise create the new session as normal.
- additional editors
- bubbletea? bubbletea! (someone please help..... plz)
git clone https://github.com/giuseppe-g-gelardi/git-sessionizer.git
- cd git-sessionizer
- go mod tidy ...?
- go run ./cmd/session
$ go install github.com/giuseppe-g-gelardi/git-sessionizer/cmd/session@latest
please keep in mind this is still VERY pre-alpha. id advise against installing unless you know what you're doing.
See releases for binaries
-
windows:
-
- APPDATA\local\session_config.yaml
-
macos & linux:
-
- /home/{user}/.config/session_config.yaml (~/.config/)
- create a fork
- create a branch
- make a pr?
- get mad at me when you realize i dont know how to merge it -- kidding, mostly
but seriously, would be cool :D