https://github.com/hydrastro/tti
Text to image script written in Bash
https://github.com/hydrastro/tti
anonimity antisurveillance bash bash-captcha bash-script captcha captcha-image security-tools
Last synced: 3 months ago
JSON representation
Text to image script written in Bash
- Host: GitHub
- URL: https://github.com/hydrastro/tti
- Owner: hydrastro
- License: other
- Created: 2021-12-08T22:02:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-10T23:09:16.000Z (over 3 years ago)
- Last Synced: 2024-10-31T07:34:14.094Z (8 months ago)
- Topics: anonimity, antisurveillance, bash, bash-captcha, bash-script, captcha, captcha-image, security-tools
- Language: Shell
- Homepage:
- Size: 132 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# text to image
Text to image bash script with multiple highly customizable options for
obfuscation.
Copies images directly to the clipboard.
It could be used as captcha.
Some examples:

## Dependencies
This scripts has the following dependencies:
- `imagemagick`
- `xclip`Which can be easily installed with these commands:
- Ubuntu/Debian: `sudo apt install imagemagick xclip`
- Arch: `pacman -S imagemagick xclip`## Configuration
There are some hardcoded configs you might want to change, check the script
source code if you're curious.## Installation
The script installation is trivial: just clone this whole repository or copy the
script wherever you prefer.
```shell
cd /opt
git clone https://github.com/hydrastro/tti.git
```
For invoking the script more easily you can set up a bash alias for it:
```shell
alias tti='/opt/tti/tti.sh'
```
Or alternatively you can link it to `/usr/local/bin`
```shell
sudo ln -s /opt/tti/tti.sh /usr/local/bin/tti
```## Usage
There are two ways you can run this script:
- By pipelining some text directly into the script:
`cat something.txt | tti`
- By invoking the script directly and typing the text in it.
End your data with a dot.
```shell
[user@machine ~]$ tti
your text
some other text
.
```
(Wanna type a dot? Ehhh... no)## Contributing
Feel free to contribute, pull requests are always welcome.
Please reveiw and clean your code with `shellcheck` before pushing it.