grugbot420
grug oracle for tired devs. brain small. advice big. roast accurate.
A tiny zero-dependency Python package that ships the grug training corpus
(wisdom, jokes, smoke-vibes, and keyword rules) used by the
Lateralus grugbot420 system app — exposed as a
clean library and a CLI.
Install
pip install grugbot420
CLI
$ grug wisdom
grug say: complexity very very bad. simple good.
$ grug joke
why function cross road? because callback on other side.
$ grug smoke
grug puff... monad is just burrito of sadness.
$ grug ask "should I rewrite this in rust"
rebase is rewrite history. merge is accept history. grug merge.
$ grug vibe
grug brain small, so grug keep function small too.
Both grug and grugbot420 work as commands.
Library
import grugbot420 as g
g.wisdom() # -> str
g.joke() # -> str
g.smoke() # -> str
g.ask("docker") # -> str (rule-driven roast, falls back to wisdom)
# inspect the full corpus:
g.all_lines() # -> {"wisdom": [...], "jokes": [...], "smoke": [...]}
g.rules() # -> [(["keyword1", "keyword2"], "response"), ...]
Why does this exist?
Because devs need a fortune(6) for 2026 that gets the joke. Also because
the corpus already powers the Lateralus OS desktop app and people kept
asking how to embed it elsewhere — Slack bots, IRC, status-bar widgets,
your team's CI failure messages, etc.
Companion packages
- npm:
grugbot420— same corpus, Node CLI - Lateralus app:
apps/grugbot420.ltl - Bench:
tools/bench_grugbot.c
License
MIT.
Metadata
Release files for grugbot420 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grugbot420-1.0.0.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grugbot420-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.1 kB
Release files / grugbot420-1.0.0.tar.gz
| Download URL | grugbot420-1.0.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63425e44df6bf6dfcafc20628867ffaeee5f0ff6fdc6827798a5f6421210ff0b
|
|
BLAKE2b-256 checksum How to use checksums |
512ead6b40d023f65368fa7b687ab2181a062fee17d76d7219468f1d026f97f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / grugbot420-1.0.0-py3-none-any.whl
| Download URL | grugbot420-1.0.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
064cfc516eafe00736912a87da6e04dd1fcec83a5af30eb88b8b160b0521f9f5
|
|
BLAKE2b-256 checksum How to use checksums |
2fab35a480281ab52d43a1f779a9cfde27f9e08a0782bd47a9d1dafa89019483
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|