The minimalist ai assistant for PiLab's slack channel. Free feel to fork/extend. Pull requests are welcome!
Pico is available as a github action too! See the details bellow!
This is a slack bot which lives in pilab-hu.slack.com domain. Can interact with our github repositories, connected to Google's Gemini using GenAI framework, to help our everyday work.
(We assumed that you already have go1.24 installed on your machine)
To run the bot without installing it, simply run:
go run github.com/pilab-dev/pico-bot@latest
To run the app, you should set the following variables:
export SLACK_BOT_TOKEN="xoxb-slack-bot-token"
export SLACK_CHANNEL_ID="C051SLACKCHANNEL"
export GITHUB_TOKEN="your-github-token"
export GITHUB_ORG="yourorg"
export GEMINI_API_KEY="gemini-api-key-from-ai-studio"
- finalize the github action
- build a Container for action
- implemnet
cobra-cli
based commands
This action summarizes and creates, then posts a message to slack from commit log from the latest activities.
Required The salack bot token to use by the bot. Default "World"
.
Required The slack channel where the pico will post the result.
The time we greeted you.
uses: pilab-dev/pico-bot@v1
with:
action: git-summary