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

https://github.com/desertthunder/quotesky

bot to post to bluesky 🦋
https://github.com/desertthunder/quotesky

bluesky bluesky-bot bot cli go golang

Last synced: 3 months ago
JSON representation

bot to post to bluesky 🦋

Awesome Lists containing this project

README

          

# QuoteSky

| Drawing |
| --- |
| ![drawing of bot](./assets/bskybot.excalidraw.png) |

## Protocol

- `QUOTE:POST` – Posts a random quote.
- `QUOTE:GET` – Gets a random quote.
- `QUOTE:LIST` – Lists all quotes.
- `QUOTE:ADD ` – Adds a new quote.
- `QUOTE:REMOVE ` – Removes a quote.
- `QUOTE:UPDATE ` – Updates a quote.

## Setup

1. Clone the repository
2. Create a `.env` file in the root directory and add the following:

```bash
touch .env
echo "BLUESKY_HANDLE=" >> .env
echo "BLUESKY_PASSWORD=" >> .env
```

## Running the project

1. Install the dependencies

```bash
go mod download
```

Build the project

```bash
mkdir -p tmp
go build -o ./tmp/quotesky ./...
```

Run the CLI

```bash
./tmp/quotesky --help
```