~sara/openverse-slack-reaction

Use Openverse to pick reaction images based on a short query.
98941180 — sarayourfriend 1 year, 10 months ago
Use upstream Falcon adapter
f1d50dba — sarayourfriend 1 year, 11 months ago
Bump version for static page and working OAuth
942a4126 — sarayourfriend 1 year, 11 months ago
Fix OAuth scopes

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~sara/openverse-slack-reaction
read/write
git@git.sr.ht:~sara/openverse-slack-reaction

You can also use your local clone with git send-email.

#Openverse Slack Reaction Bot

🛗: Like Giphy but for openly licensed images indexed in the Openverse (with attributions).

#Installation

Visit https://openverse-slack.sarayourfriend.pictures/slack/install and click the "Add to Slack" button.

#Development

To set up local environment install pdm and run:

pdm install

Then, copy the .env.template file to .env and fill in variables. Run the app using:

./bin/run_dev.sh

By default the bot will be accessible on port 54823. You may pass a different port to run_dev.sh as a CLI argument:

./bin/run_dev.sh 8080

#Deployment

You can deploy this using the docker image hosted on GitHub container registry:

docker run --env-file=.env -p 54823:54823 --mount 'type=volume,source=openverseslack,dst=/home/appuser/app/data' ghcr.io/sarayourfriend/openverse-slack-reaction:latest

#Roadmap

#v0.0.1 (MVP)

  • /openverse <query> Picks a random image from the top 10 results for the query.

#v0.0.2

  • /openverse <query> \<caption\> Picks a random image from the top 10 images that allow derivitives and overlays caption similar to meme text