Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ohmyvector/cuddly-vector

:robot: Look at this cute and little robot
https://github.com/ohmyvector/cuddly-vector

anki bot golang hacktoberfest robot robotics scripts vector

Last synced: 7 days ago
JSON representation

:robot: Look at this cute and little robot

Awesome Lists containing this project

README

        

# cuddly-vector
:robot: Look at this cute and little robot

## Getting started

#### Go to scripts folder and download dependencies
```shell
cd scripts && go mod tidy
```

### Setup and Authentication

#### Run the login script to get your **Client GUID Token**
Remember to set your robot's IP address using the `-host` flag
```shell
go run login/main.go -host ""
```

#### Export the `BOT_TARGET` and `BOT_TOKEN` environment variables
Set `BOT_TARGET` to your robot's IP + port
```shell
export BOT_TARGET=":443"
```

Set `BOT_TOKEN` to your GUID token from the login script
```shell
export BOT_TOKEN=""
```

### Running Scripts
Once you have done the setup and auth steps, you can simply run the scripts like:
```shell
go run speak/main.go -talk "hello, world!"
```