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: 10 months ago
JSON representation
:robot: Look at this cute and little robot
- Host: GitHub
- URL: https://github.com/ohmyvector/cuddly-vector
- Owner: OhMyVector
- License: apache-2.0
- Created: 2021-07-08T11:14:10.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-27T17:15:01.000Z (over 4 years ago)
- Last Synced: 2025-04-19T10:25:24.427Z (about 1 year ago)
- Topics: anki, bot, golang, hacktoberfest, robot, robotics, scripts, vector
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!"
```