FIll otu instructions in README

This commit is contained in:
Starbeamrainbowlabs 2018-11-11 12:13:43 +00:00
parent ba3142894f
commit c25ec154ea
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 50 additions and 0 deletions

View File

@ -2,6 +2,56 @@
> An XMPP reminder bot written in C#.
## Getting Started
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
Remind me to water the greenhouse tomorrow
Remind me in 1 hour to check the oven
```
### Listing reminders
```
List all reminders
Show all
List all
```
## Useful Links
- [Microsoft.Text.Recognizers Samples](https://github.com/Microsoft/Recognizers-Text/tree/master/.NET/Samples)