RhinoReminds/README.md

73 lines
1.5 KiB
Markdown
Raw Normal View History

2018-11-10 18:47:03 +00:00
# RhinoReminds
2018-11-11 11:18:37 +00:00
> An XMPP reminder bot written in C#.
2018-11-11 12:13:43 +00:00
## Getting Started
2018-12-06 00:14:36 +00:00
### Downloading Prebuilt Binaries
Prebuilt binaries for the latest release are available on the [releases page](https://git.starbeamrainbowlabs.com/sbrl/RhinoReminds/releases).
### Building from Source
2018-11-11 12:13:43 +00:00
1. Install the NuGet dependencies:
```bash
nuget restore
```
2. Build the solution:
```bash
msbuild
```
3. Specify the environment variables
Variable | Meaning
----------------|------------------------
`XMPP_JID` | The JID to connect with
`XMPP_PASSWORD` | The password to use when connecting
4. Execute the program
```bash
cd RhinoReminds/bin/{Debug|Release}
# Linux:
mono [--debug] RhinoReminds.exe [--help]
# Windows:
RhinoReminds.exe [--help]
```
## Usage
The bot operates on natural language instructions. It picks what to do from the first word in the sentence, but the rest is parsed via AI.
### Setting a reminder
```
Remind me to feed the cat at 6pm
Remind me about CrossCode's release on 20th September 2018
2018-11-11 12:49:36 +00:00
Remind me to water the greenhouse tomorrow at 4:03pm
2018-11-11 12:13:43 +00:00
Remind me in 1 hour to check the oven
```
### Listing reminders
```
List all reminders
Show all
List all
```
2018-12-05 23:44:20 +00:00
### Deleting Reminders
```
Delete reminder 43
Delete #22, #23, and #45
Delete number eight
Delete reminders 2, 3, 4, and 7
```
2018-11-11 11:18:37 +00:00
## Useful Links
- [Microsoft.Text.Recognizers Samples](https://github.com/Microsoft/Recognizers-Text/tree/master/.NET/Samples)
- [S22.Xmpp API Documentation](https://smiley22.github.io/S22.Xmpp/Documentation/)
-