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

https://github.com/huuquyet/generate-awesome-text

Generate awesome text with Google's Gemini model
https://github.com/huuquyet/generate-awesome-text

List: generate-awesome-text

gemini github-actions google joke text-generation typescript workflows

Last synced: 4 months ago
JSON representation

Generate awesome text with Google's Gemini model

Awesome Lists containing this project

README

          

[![Generate awesome text](https://github.com/huuquyet/generate-awesome-text/actions/workflows/generate-awesome-text.yml/badge.svg)](https://github.com/huuquyet/generate-awesome-text/actions/workflows/generate-awesome-text.yml "Generate awesome text with Gemini")
[![Generate on issues](https://github.com/huuquyet/generate-awesome-text/actions/workflows/generate-on-issues.yml/badge.svg)](https://github.com/huuquyet/generate-awesome-text/actions/workflows/generate-on-issues.yml "Generate when new issue created")
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](.github/CODE_OF_CONDUCT.md "Contributor Covenant 2.1")

# Generate awesome text with Google's Gemini model

*Ready for a joke generated with Gemini model?*

Please tell me how to be more funny and creative


Hey there, friend! So you wanna be funnier and more creative, huh? That's great! Think of it like this: It's less about *trying* to be funny and more about finding the funny *in* yourself – your quirks, your anxieties, your embarrassing stories! Embrace the ridiculous!

First, let’s get you started with a good ol’ fashioned dose of observation! Pay attention to the world around you – the tiny details, the awkward silences, the stuff people do that makes you go "huh?". You'll be surprised how much comedy material is just floating around unnoticed.

Finally, don't be afraid to fail! Bombing on stage? That’s just part of the process, baby! Learn from your mistakes, and keep on writing and performing. You got this! Now, get out there and make some people laugh – or at least chuckle politely! (Please don't actually make people *uncomfortable*…unless that’s your *thing*...then go for it!)


Speech bubbles

**Want to chat with Gemini as a stand-up comedian?** Just click [this](https://github.com/huuquyet/generate-awesome-text/issues/new?assignees=&labels=generate&projects=&title=Please+tell+me+how+to+be+more+funny+and+creative&body=Feel+free+to+change+the+title+then+Press+Submit%21)

## API TOKEN

### GEMINI_API_TOKEN

**Required** You can get your API key at [Google's Gemini](https://aistudio.google.com/app/apikey)

Then add to the [secrets for the repository](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)

## Outputs

### `result`

The generated result to use later

## Example usage

### Create workflow

Create `.github/workflows/main.yml` workflow with following steps to call the action

```yaml
uses: huuquyet/generate-awesome-text@main
env:
GEMINI_API_TOKEN: ${{ secrets.GEMINI_API_TOKEN }}
```

See [this](.github/workflows/generate-awesome-text.yml) for example usage

### Update your README

Add a comment block to your `README.md` and `assets/speech-bubbles.svg` files to update joke automatically

```md

```