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

https://github.com/rnmeow/quote-box

Get a quote and push to GitHub Gist. API from Quotable.
https://github.com/rnmeow/quote-box

api gist gistbox gists github github-actions hitokoto javascript quotable quote quotes typescript workflow

Last synced: 3 months ago
JSON representation

Get a quote and push to GitHub Gist. API from Quotable.

Awesome Lists containing this project

README

        

# quote-box

![GitHub Release](https://badgen.net/github/release/rnmeow/quote-box)

Receive a random quote, and pushes to [Gist](https://gist.github.com) with GitHub Actions.

> [!TIP]
> *For more “pinned gists” projects, visit*
> *.*

## Usage

Use a GitHub Actions workflow to execute `quote-box`. Here's an example:

```yaml
name: Get Quote

on:
workflow_dispatch:
schedule:
- cron: 0 0 * * * # execution frequency and time

jobs:
push:
runs-on: ubuntu-22.04
steps:
- name: Download and Push
uses: rnmeow/[email protected]
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }} # *
# Settings
with:
confFile: conf.json
```

## License

(C) 2023, 2024, Connor Kuo. [MIT License](https://github.com/rnmeow/quote-box/blob/master/LICENSE.txt).