Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/midsum-salrux/gato
Chatbot tool for urbit groups
https://github.com/midsum-salrux/gato
Last synced: about 1 month ago
JSON representation
Chatbot tool for urbit groups
- Host: GitHub
- URL: https://github.com/midsum-salrux/gato
- Owner: midsum-salrux
- Created: 2022-12-16T19:57:37.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-05T06:06:45.000Z (12 months ago)
- Last Synced: 2024-10-26T20:29:20.634Z (about 2 months ago)
- Language: hoon
- Size: 29.3 KB
- Stars: 17
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-urbit - Gato
README
# Gato
Gato is a way to make chatbots for urbit groups.
## Installing
`|install ~botter-midsum-salrux %gato`
## Dojo Usage
Add a command with `:gato &add ['hello' [%gato %hello] !>("howdy")]`
You can remove it later with `:gato &remove 'hello'`
The bot will respond to `/hello lorem ipsum` with `howdy ~sampel-palnet! You said lorem ipsum`
To change the configuration, use `:gato &set ['hello' [%gato %hello] !>("good morning")]`
## Writing Commands
Each gato command is a thread. See the [thread guide](https://developers.urbit.org/reference/arvo/threads/overview) for how to write a thread, and [sur/gato.hoon](https://github.com/midsum-salrux/gato/blob/master/desk/sur/gato.hoon) for argument and return types.
## Examples
You can find example commands in [/ted](https://github.com/midsum-salrux/gato/tree/master/desk/ted). So far these include:
- A weather lookup command with geocoding
- A stock and crypto price lookup command (the famous "Tendiebot")