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
+53 -101
Diff #7
-2
.github/FUNDING.yml
··· 1 - github: ayushnix 2 - ko_fi: ayushnix
-30
.github/workflows/ci.yml
··· 1 - --- 2 - name: run shellcheck and shfmt 3 - on: 4 - push: 5 - paths: 6 - - 'tessen' 7 - pull_request: 8 - paths: 9 - - 'tessen' 10 - jobs: 11 - lint: 12 - name: use shellcheck to lint tessen 13 - runs-on: ubuntu-latest 14 - container: 15 - image: koalaman/shellcheck-alpine:stable 16 - steps: 17 - - name: checkout tessen for shellcheck 18 - uses: actions/checkout@v3 19 - - name: run shellcheck 20 - run: shellcheck tessen 21 - format: 22 - name: use shfmt to check tessen code format 23 - runs-on: ubuntu-latest 24 - container: 25 - image: mvdan/shfmt:v3-alpine 26 - steps: 27 - - name: checkout tessen for shfmt 28 - uses: actions/checkout@v3 29 - - name: run shfmt 30 - run: shfmt -d -s -i 2 -bn -ci -sr tessen
+5
CHANGELOG.md
··· 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 7 8 + ## [Unreleased] 9 + 10 + Tessen has been first archived by the original developer and maintainer, and then forked. This marks 11 + the first new release under new maintenance. 12 + 8 13 ## [2.2.3] - 2024-03-05 9 14 10 15 ### Fixed
+7 -18
CONTRIBUTING.md
··· 1 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 - 2 + - you've opened an issue if you think you've found a bug or if you want to add a new feature 6 3 - 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 - 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: 12 6 `-s -i 2 -ci -sr -bn` 13 7 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]. 8 + Please open an issue on [Tangled][4] for reporting bugs or if you have any questions or other 9 + comments. 17 10 18 11 Thanks! 19 12 20 - [1]: https://sr.ht/~ayushnix/tessen 13 + [1]: https://tangled.org/@jcg.re/tessen 21 14 [2]: https://github.com/koalaman/shellcheck 22 15 [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 16 + [4]: https://tangled.org/@jcg.re/tessen/issues
+23 -23
README.md
··· 1 1 ## tessen 2 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) 3 + [![tangled](https://img.shields.io/badge/repository-tangled-blue)](https://tangled.org/@jcg.re/tessen) 6 4 7 5 `tessen` is a bash script that can autotype and copy data from [password-store][1] and [gopass][2] 8 6 files. A wayland native dmenu is required to use tessen and the following dmenu backends are ··· 29 27 - `tessen` can autotype or copy (or do both at the same time!) your password store and gopass data 30 28 including all of your key-value pair data 31 29 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. 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. 35 33 36 34 Although [rofi-pass][11] is a good alternative, it only works on Xorg/X11. `tessen` is made to 37 35 work on Wayland. ··· 43 41 doesn't need programs like `sed`, `awk`, `tr`, `cut`, `find`, `sort`, `head`, `tail` (although 44 42 password-store needs them). 45 43 46 - - the code is linted using [shellcheck][13] and formatted using [shfmt][14]. I've also tried to 44 + - the code is linted using [shellcheck][13] and formatted using [shfmt][14]. Care has been taken to 47 45 ensure that `tessen` doesn't leak any sensitive data. Please raise an issue or a pull request if 48 46 you can make tessen more minimalistic or secure. 49 47 ··· 80 78 81 79 ### Git Release 82 80 83 - ``` 84 - git clone https://git.sr.ht/~ayushnix/tessen 81 + ```bash 82 + git clone https://tangled.org/@jcg.re/tessen 85 83 cd tessen 86 84 sudo make install 87 85 ``` ··· 91 89 92 90 ### Stable Release 93 91 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/ 92 + ```bash 93 + curl -LJO https://tangled.org/@jcg.re/tessen/archive/v2.2.3 94 + tar xvzf tessen-v2.2.3.tar.gz 95 + cd tessen-v2.2.3/ 98 96 sudo make install 99 97 ``` 100 98 ··· 153 151 make a real mess. This is why `tessen` also provides an option to define custom autotype operations. 154 152 155 153 `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. 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. 159 157 160 158 It also seems like autotyping on Wayland is in somewhat of a mess right now. An issue tracker on the 161 159 the wayland-protocols repository by Roman Gilg titled [Input Method Hub][28] presents an overview on ··· 168 166 169 167 [Here you go.][31] 170 168 171 - ## Why did you choose this weird name? 169 + ## How was the name chosen? 170 + 171 + Quoting the original author: 172 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. 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 177 178 178 ## Contributions 179 179 ··· 199 199 [4]: https://codeberg.org/dnkl/fuzzel 200 200 [5]: https://github.com/Cloudef/bemenu 201 201 [6]: https://hg.sr.ht/~scoopta/wofi 202 - [7]: https://git.sr.ht/~ayushnix/tessen/tree/master/item/CONTRIBUTING.md 202 + [7]: https://tangled.org/@jcg.re/tessen/blob/main/CONTRIBUTING.md 203 203 [8]: https://swaywm.org/ 204 204 [9]: https://github.com/junegunn/fzf 205 205 [10]: https://sr.ht/~ayushnix/pass-tessen ··· 218 218 [23]: https://aur.archlinux.org/packages/tessen/ 219 219 [24]: https://packages.guix.gnu.org/packages/tessen/ 220 220 [25]: https://github.com/Duncaen/OpenDoas 221 - [26]: https://git.sr.ht/~ayushnix/tessen/tree/master/item/man/tessen.1.scd 221 + [26]: https://tangled.org/@jcg.re/tessen/blob/main/man/tessen.1.scd 222 222 [27]: https://github.com/atx/wtype/releases/tag/v0.4 223 223 [28]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/39 224 224 [29]: https://github.com/swaywm/sway/releases/tag/1.7
+2 -3
explicit_path.patch
··· 2 2 index 37d2660..375f34f 100755 3 3 --- a/tessen 4 4 +++ b/tessen 5 - @@ -1,4 +1,4 @@ 5 + @@ -1,10 +1,13 @@ 6 6 -#!/usr/bin/env bash 7 7 +#!/bin/bash 8 8 # SPDX-License-Identifier: GPL-2.0-only 9 - # Copyright (C) Ayush Agarwal <ayush at ayushnix dot com> 9 + # Copyright (C) 2021-2024 Ayush Agarwal <ayush at ayushnix dot com> 10 10 # 11 - @@ -7,6 +7,9 @@ 12 11 # tessen - a data selection interface for pass and gopass on Wayland 13 12 # ------------------------------------------------------------------------------ 14 13
+7 -9
man/tessen.1.scd
··· 197 197 198 198 # AUTHORS 199 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. 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 27 28 28 A default configuration file is also available at 29 29 30 - https://git.sr.ht/~ayushnix/tessen/blob/master/config 30 + https://tangled.org/@jcg.re/tessen/raw/main/config 31 31 32 32 ## OPTIONS 33 33 ··· 140 140 141 141 # AUTHORS 142 142 143 - Developed and Maintained by Ayush Agarwal <ayush at ayushnix dot com>. 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. 144 145 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. 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 1 #!/usr/bin/env bash 2 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: 3 + # Copyright (C) 2021-2024 Ayush Agarwal <ayush at ayushnix dot com> 6 4 # 7 5 # tessen - a data selection interface for pass and gopass on Wayland 8 6 # ------------------------------------------------------------------------------ ··· 609 607 610 608 for more details and additional features, please read the man page of $prog(1) 611 609 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 610 + for reporting bugs or feedback, visit https://tangled.org/@jcg.re/tessen 616 611 " 617 612 618 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