I just started to work on Applex, and i'll be happy to have some nice testers around! Comment down below if you want to beta test Applex.
Click here to go to the original "J" tweet
- Minification improvements by @19wintersp
- Added a return value of 'true'
Filesize: 520 bytes Character count: 519
Tiny chatbot living in a text file.
PocketBot is a simple self-modifying bash script that uses levenshtein distancing to intelligently respond to queries.
The central database containing its input/output pairs is contained in a variable named brain at line 133 (as of now).
Each element of this variable contains an input/output pair that are separated by a chinese doll emoji. (chosen due to low usage frequency and issues with the current string split bash implementation)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # ISC License | |
| # Copyright (c) 2026 Alexandre Gomes Gaigalas <alganet@gmail.com> | |
| # Permission to use, copy, modify, and/or distribute this software for any | |
| # purpose with or without fee is hereby granted, provided that the above | |
| # copyright notice and this permission notice appear in all copies. | |
| # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |