Metadata-Version: 2.4
Name: grugbot420
Version: 1.0.0
Summary: grug oracle for tired devs. wisdom, jokes, smoke vibes, and rule-driven keyword roasts. brain small, advice big.
Project-URL: Homepage, https://lateralus.dev
Project-URL: Repository, https://github.com/bad-antics/lateralus-lang
Project-URL: Issues, https://github.com/bad-antics/lateralus-lang/issues
Author-email: bad-antics <hello@lateralus.dev>
License: MIT License
        
        Copyright (c) 2026 LATERALUS Research / bad-antics
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: ai-parody,cli,grug,humor,oracle,wisdom
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 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](https://lateralus.dev) `grugbot420` system app — exposed as a
clean library and a CLI.

## Install

```bash
pip install grugbot420
```

## CLI

```bash
$ 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

```python
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`](https://www.npmjs.com/package/grugbot420) — same corpus, Node CLI
- Lateralus app: [`apps/grugbot420.ltl`](https://github.com/bad-antics/lateralus-lang/blob/main/apps/grugbot420.ltl)
- Bench: [`tools/bench_grugbot.c`](https://github.com/bad-antics/lateralus-lang/blob/main/tools/bench_grugbot.c)

## License

MIT.
