Bash script for copying and autotyping data from password-store, gopass or prs.

chore: initial fork commit #1

merged opened by jcg.re targeting main from push-vwswylplsrxo
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:cposd2qe5gzl2nvkbxqiupy5/sh.tangled.repo.pull/3m47eqaojvu22
+46 -69
Diff #2
-2
.github/FUNDING.yml
··· 1 - github: ayushnix 2 - ko_fi: ayushnix
···
+7 -18
CONTRIBUTING.md
··· 1 If you're interested in contributing and making [tessen][1] better, please ensure that 2 - 3 - - you've opened a ticket or an issue if you think you've found a bug or opened a discussion if you 4 - want to add a new feature 5 - 6 - your bash code doesn't trigger errors or warnings from [shellcheck][2] 7 - 8 - if you've used `# shellcheck disable`, there should be a compelling reason for it 9 - 10 - - your bash code has been formatted using [shfmt][3] with the following settings 11 - 12 `-s -i 2 -ci -sr -bn` 13 14 - Please raise a [ticket on SourceHut][4] or an issue on [Codeberg][5] or [GitHub][6] for reporting 15 - bugs. If you have any questions or other comments, [send an email on SourceHut][7] or [start a 16 - discussion on GitHub][8]. 17 18 Thanks! 19 20 - [1]: https://sr.ht/~ayushnix/tessen 21 [2]: https://github.com/koalaman/shellcheck 22 [3]: https://github.com/mvdan/sh 23 - [4]: https://todo.sr.ht/~ayushnix/tessen 24 - [5]: https://codeberg.org/ayushnix/tessen/issues 25 - [6]: https://github.com/ayushnix/tessen/issues 26 - [7]: mailto:~ayushnix/tessen@lists.sr.ht 27 - [8]: https://github.com/ayushnix/tessen/discussions
··· 1 If you're interested in contributing and making [tessen][1] better, please ensure that 2 + - you've opened an issue if you think you've found a bug or if you want to add a new feature 3 - your bash code doesn't trigger errors or warnings from [shellcheck][2] 4 + - if you've used `# shellcheck disable`, there should be a compelling reason for it 5 + - your bash code has been formatted using [shfmt][3] with the following settings: 6 `-s -i 2 -ci -sr -bn` 7 8 + Please open an issue on [Tangled][4] for reporting bugs or if you have any questions or other 9 + comments. 10 11 Thanks! 12 13 + [1]: https://tangled.org/@jcg.re/tessen 14 [2]: https://github.com/koalaman/shellcheck 15 [3]: https://github.com/mvdan/sh 16 + [4]: https://tangled.org/@jcg.re/tessen/issues
+21 -21
README.md
··· 1 ## tessen 2 3 - **I'm archiving this repository because I consider this script to be feature complete and because I'm no longer interested in using shell scripts and GPG as my password manager.** 4 - 5 - [![sourcehut](https://img.shields.io/badge/repository-sourcehut-lightgrey.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSINCiAgICB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCI+DQogIDxkZWZzPg0KICAgIDxmaWx0ZXIgaWQ9InNoYWRvdyIgeD0iLTEwJSIgeT0iLTEwJSIgd2lkdGg9IjEyNSUiIGhlaWdodD0iMTI1JSI+DQogICAgICA8ZmVEcm9wU2hhZG93IGR4PSIwIiBkeT0iMCIgc3RkRGV2aWF0aW9uPSIxLjUiDQogICAgICAgIGZsb29kLWNvbG9yPSJibGFjayIgLz4NCiAgICA8L2ZpbHRlcj4NCiAgICA8ZmlsdGVyIGlkPSJ0ZXh0LXNoYWRvdyIgeD0iLTEwJSIgeT0iLTEwJSIgd2lkdGg9IjEyNSUiIGhlaWdodD0iMTI1JSI+DQogICAgICA8ZmVEcm9wU2hhZG93IGR4PSIwIiBkeT0iMCIgc3RkRGV2aWF0aW9uPSIxLjUiDQogICAgICAgIGZsb29kLWNvbG9yPSIjQUFBIiAvPg0KICAgIDwvZmlsdGVyPg0KICA8L2RlZnM+DQogIDxjaXJjbGUgY3g9IjUwJSIgY3k9IjUwJSIgcj0iMzglIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjQlIg0KICAgIGZpbGw9Im5vbmUiIGZpbHRlcj0idXJsKCNzaGFkb3cpIiAvPg0KICA8Y2lyY2xlIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjM4JSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSI0JSINCiAgICBmaWxsPSJub25lIiBmaWx0ZXI9InVybCgjc2hhZG93KSIgLz4NCjwvc3ZnPg0KCg==)](https://sr.ht/~ayushnix/tessen) [![Codeberg mirror](https://img.shields.io/badge/mirror-Codeberg-blue.svg?logo=codeberg)](https://codeberg.org/ayushnix/tessen) [![GitHub mirror](https://img.shields.io/badge/mirror-GitHub-black.svg?logo=github)](https://github.com/ayushnix/tessen) 6 7 `tessen` is a bash script that can autotype and copy data from [password-store][1] and [gopass][2] 8 files. A wayland native dmenu is required to use tessen and the following dmenu backends are ··· 29 - `tessen` can autotype or copy (or do both at the same time!) your password store and gopass data 30 including all of your key-value pair data 31 32 - From what I've observed, most scripts out there do not autotype and copy all of your key-value 33 - pair data. They also do not offer choices about autotyping or copying data with the same 34 - flexibility as `tessen` does. 35 36 Although [rofi-pass][11] is a good alternative, it only works on Xorg/X11. `tessen` is made to 37 work on Wayland. ··· 43 doesn't need programs like `sed`, `awk`, `tr`, `cut`, `find`, `sort`, `head`, `tail` (although 44 password-store needs them). 45 46 - - the code is linted using [shellcheck][13] and formatted using [shfmt][14]. I've also tried to 47 ensure that `tessen` doesn't leak any sensitive data. Please raise an issue or a pull request if 48 you can make tessen more minimalistic or secure. 49 ··· 80 81 ### Git Release 82 83 - ``` 84 - git clone https://git.sr.ht/~ayushnix/tessen 85 cd tessen 86 sudo make install 87 ``` ··· 91 92 ### Stable Release 93 94 - ``` 95 - curl -LO https://git.sr.ht/~ayushnix/tessen/refs/download/v2.2.3/tessen-2.2.3.tar.gz 96 tar xvzf tessen-2.2.3.tar.gz 97 cd tessen-2.2.3/ 98 sudo make install ··· 153 make a real mess. This is why `tessen` also provides an option to define custom autotype operations. 154 155 `tessen` uses [wtype][17] for autotyping and it seems to work fine on Firefox. You'll need at least 156 - version [v0.4][27], or later, of wtype for autotyping to work on Chromium although I've experienced 157 - issues on some websites when autotyping on Chromium using `wtype`. I haven't tested any other web 158 - browsers. 159 160 It also seems like autotyping on Wayland is in somewhat of a mess right now. An issue tracker on the 161 the wayland-protocols repository by Roman Gilg titled [Input Method Hub][28] presents an overview on ··· 168 169 [Here you go.][31] 170 171 - ## Why did you choose this weird name? 172 173 - Because obvious names like pass-fzf and pass-clip are already taken by other projects? Also, for 174 - some reason, the way how bemenu and fuzzel's UI instantly opens up and displays relevant information 175 - reminded me of Japanese hand fans. I guess I was thinking of some anime while coming up with this 176 - name. 177 178 ## Contributions 179 ··· 199 [4]: https://codeberg.org/dnkl/fuzzel 200 [5]: https://github.com/Cloudef/bemenu 201 [6]: https://hg.sr.ht/~scoopta/wofi 202 - [7]: https://git.sr.ht/~ayushnix/tessen/tree/master/item/CONTRIBUTING.md 203 [8]: https://swaywm.org/ 204 [9]: https://github.com/junegunn/fzf 205 [10]: https://sr.ht/~ayushnix/pass-tessen ··· 218 [23]: https://aur.archlinux.org/packages/tessen/ 219 [24]: https://packages.guix.gnu.org/packages/tessen/ 220 [25]: https://github.com/Duncaen/OpenDoas 221 - [26]: https://git.sr.ht/~ayushnix/tessen/tree/master/item/man/tessen.1.scd 222 [27]: https://github.com/atx/wtype/releases/tag/v0.4 223 [28]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/39 224 [29]: https://github.com/swaywm/sway/releases/tag/1.7
··· 1 ## tessen 2 3 + [![tangled](https://img.shields.io/badge/repository-tangled-blue)](https://tangled.org/@jcg.re/tessen) 4 5 `tessen` is a bash script that can autotype and copy data from [password-store][1] and [gopass][2] 6 files. A wayland native dmenu is required to use tessen and the following dmenu backends are ··· 27 - `tessen` can autotype or copy (or do both at the same time!) your password store and gopass data 28 including all of your key-value pair data 29 30 + From what the original author observed, most scripts out there do not autotype and copy all of 31 + your key-value pair data. They also do not offer choices about autotyping or copying data with the 32 + same flexibility as `tessen` does. 33 34 Although [rofi-pass][11] is a good alternative, it only works on Xorg/X11. `tessen` is made to 35 work on Wayland. ··· 41 doesn't need programs like `sed`, `awk`, `tr`, `cut`, `find`, `sort`, `head`, `tail` (although 42 password-store needs them). 43 44 + - the code is linted using [shellcheck][13] and formatted using [shfmt][14]. Care has been taken to 45 ensure that `tessen` doesn't leak any sensitive data. Please raise an issue or a pull request if 46 you can make tessen more minimalistic or secure. 47 ··· 78 79 ### Git Release 80 81 + ```bash 82 + git clone https://tangled.org/@jcg.re/tessen 83 cd tessen 84 sudo make install 85 ``` ··· 89 90 ### Stable Release 91 92 + ```bash 93 + curl -LJO https://tangled.org/@jcg.re/tessen/archive/2.2.3 94 tar xvzf tessen-2.2.3.tar.gz 95 cd tessen-2.2.3/ 96 sudo make install ··· 151 make a real mess. This is why `tessen` also provides an option to define custom autotype operations. 152 153 `tessen` uses [wtype][17] for autotyping and it seems to work fine on Firefox. You'll need at least 154 + version [v0.4][27], or later, of wtype for autotyping to work on Chromium although there have been 155 + reports of issues on some websites when autotyping on Chromium using `wtype`. Other web browsers 156 + have not been tested. 157 158 It also seems like autotyping on Wayland is in somewhat of a mess right now. An issue tracker on the 159 the wayland-protocols repository by Roman Gilg titled [Input Method Hub][28] presents an overview on ··· 166 167 [Here you go.][31] 168 169 + ## How was the name chosen? 170 + 171 + Quoting the original author: 172 173 + > Because obvious names like pass-fzf and pass-clip are already taken by other projects? Also, 174 + > for some reason, the way how bemenu and fuzzel's UI instantly opens up and displays relevant 175 + > information reminded me of Japanese hand fans. I guess I was thinking of some anime while coming 176 + > up with this name. 177 178 ## Contributions 179 ··· 199 [4]: https://codeberg.org/dnkl/fuzzel 200 [5]: https://github.com/Cloudef/bemenu 201 [6]: https://hg.sr.ht/~scoopta/wofi 202 + [7]: https://tangled.org/@jcg.re/tessen/blob/main/CONTRIBUTING.md 203 [8]: https://swaywm.org/ 204 [9]: https://github.com/junegunn/fzf 205 [10]: https://sr.ht/~ayushnix/pass-tessen ··· 218 [23]: https://aur.archlinux.org/packages/tessen/ 219 [24]: https://packages.guix.gnu.org/packages/tessen/ 220 [25]: https://github.com/Duncaen/OpenDoas 221 + [26]: https://tangled.org/@jcg.re/tessen/blob/main/man/tessen.1.scd 222 [27]: https://github.com/atx/wtype/releases/tag/v0.4 223 [28]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/39 224 [29]: https://github.com/swaywm/sway/releases/tag/1.7
+2 -3
explicit_path.patch
··· 2 index 37d2660..375f34f 100755 3 --- a/tessen 4 +++ b/tessen 5 - @@ -1,4 +1,4 @@ 6 -#!/usr/bin/env bash 7 +#!/bin/bash 8 # SPDX-License-Identifier: GPL-2.0-only 9 - # Copyright (C) Ayush Agarwal <ayush at ayushnix dot com> 10 # 11 - @@ -7,6 +7,9 @@ 12 # tessen - a data selection interface for pass and gopass on Wayland 13 # ------------------------------------------------------------------------------ 14
··· 2 index 37d2660..375f34f 100755 3 --- a/tessen 4 +++ b/tessen 5 + @@ -1,10 +1,13 @@ 6 -#!/usr/bin/env bash 7 +#!/bin/bash 8 # SPDX-License-Identifier: GPL-2.0-only 9 + # Copyright (C) 2021-2024 Ayush Agarwal <ayush at ayushnix dot com> 10 # 11 # tessen - a data selection interface for pass and gopass on Wayland 12 # ------------------------------------------------------------------------------ 13
+7 -9
man/tessen.1.scd
··· 197 198 # AUTHORS 199 200 - Developed and Maintained by Ayush Agarwal <ayush at ayushnix dot com>. 201 - 202 - The latest source can be found at https://git.sr.ht/~ayushnix/tessen and bugs or 203 - suggestions can be reported on https://todo.sr.ht/~ayushnix/tessen. For 204 - contributing to tessen, please read the CONTRIBUTING.md file in the tessen 205 - source code and send patches by email to ~ayushnix/tessen@lists.sr.ht. 206 - Alternatively, pull requests can be raised on 207 - https://codeberg.org/ayushnix/tessen/pulls or 208 - https://github.com/ayushnix/tessen/pulls.
··· 197 198 # AUTHORS 199 200 + Initially developed and maintained by Ayush Agarwal up to the archival on May 201 + 1st 2025. Forked by JC Gr眉nhage on October 27th 2025 for further maintenance. 202 + 203 + The latest source can be found at https://tangled.org/@jcg.re/tessen and bugs 204 + or suggestions can be reported there as well. For contributing to tessen, please 205 + read the CONTRIBUTING.md file in the tessen source code and open pull requests 206 + in tangled.
+7 -9
man/tessen.5.scd
··· 27 28 A default configuration file is also available at 29 30 - https://git.sr.ht/~ayushnix/tessen/blob/master/config 31 32 ## OPTIONS 33 ··· 140 141 # AUTHORS 142 143 - Developed and Maintained by Ayush Agarwal <ayush at ayushnix dot com>. 144 145 - The latest source can be found at https://git.sr.ht/~ayushnix/tessen and bugs or 146 - suggestions can be reported on https://todo.sr.ht/~ayushnix/tessen. For 147 - contributing to tessen, please read the CONTRIBUTING.md file in the tessen 148 - source code and send patches by email to ~ayushnix/tessen@lists.sr.ht. 149 - Alternatively, pull requests can be raised on 150 - https://codeberg.org/ayushnix/tessen/pulls or 151 - https://github.com/ayushnix/tessen/pulls.
··· 27 28 A default configuration file is also available at 29 30 + https://tangled.org/@jcg.re/tessen/raw/main/config 31 32 ## OPTIONS 33 ··· 140 141 # AUTHORS 142 143 + Initially developed and maintained by Ayush Agarwal up to the archival on May 144 + 1st 2025. Forked by JC Gr眉nhage on October 27th 2025 for further maintenance. 145 146 + The latest source can be found at https://tangled.org/@jcg.re/tessen and bugs 147 + or suggestions can be reported there as well. For contributing to tessen, please 148 + read the CONTRIBUTING.md file in the tessen source code and open pull requests 149 + in tangled.
+2 -7
tessen
··· 1 #!/usr/bin/env bash 2 # SPDX-License-Identifier: GPL-2.0-only 3 - # Copyright (C) Ayush Agarwal <ayush at ayushnix dot com> 4 - # 5 - # vim: set expandtab ts=2 sw=2 sts=2: 6 # 7 # tessen - a data selection interface for pass and gopass on Wayland 8 # ------------------------------------------------------------------------------ ··· 609 610 for more details and additional features, please read the man page of $prog(1) 611 612 - for reporting bugs or feedback, visit one of the following git forge providers 613 - https://sr.ht/~ayushnix/tessen 614 - https://codeberg.org/ayushnix/tessen 615 - https://github.com/ayushnix/tessen 616 " 617 618 unset -v prog
··· 1 #!/usr/bin/env bash 2 # SPDX-License-Identifier: GPL-2.0-only 3 + # Copyright (C) 2021-2024 Ayush Agarwal <ayush at ayushnix dot com> 4 # 5 # tessen - a data selection interface for pass and gopass on Wayland 6 # ------------------------------------------------------------------------------ ··· 607 608 for more details and additional features, please read the man page of $prog(1) 609 610 + for reporting bugs or feedback, visit https://tangled.org/@jcg.re/tessen 611 " 612 613 unset -v prog

History

9 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
chore: initial fork commit
expand 0 comments
pull request successfully merged
1 commit
expand
chore: initial fork commit
expand 0 comments
1 commit
expand
chore: initial fork commit
expand 0 comments
1 commit
expand
chore: initial fork commit
expand 0 comments
1 commit
expand
chore: initial fork commit
expand 0 comments
1 commit
expand
chore: initial fork commit
expand 0 comments
1 commit
expand
chore: initial fork commit
expand 0 comments
1 commit
expand
chore: initial fork commit
expand 0 comments
jcg.re submitted #0
1 commit
expand
chore: initial fork commit
expand 0 comments