Skip to content

kitcat-dev/tabletop-matchmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tabletop Matchmaker

This telegram bot is powered by Supabase Edge Functions.

Commands:

  1. /update_my_games $BGG_USERNAME
  2. /show_all_games

Contributing

Prerequisites:

  • Deno: curl -fsSL https://deno.land/install.sh | sh
  • Supabase: brew install supabase/tap/supabase
  • Docker. I use OrbStack

Login to Supabase:

supabase login

Start Supabase service:

supabase start

Serve functions locally:

supabase functions serve telegram-bot --no-verify-jwt

Set secrets:

  1. Copy secrets from functions/telegram-bot/.env.example to the .env file
  2. Set the secrets to Supabase: supabase secrets set --env-file supabase/functions/telegram-bot/.env

Deploy:

supabase functions deploy --no-verify-jwt telegram-bot

Verify functions and secrets:

supabase secrets list
supabase functions list

To Do

  • Set up tunneling using Ngrok to debug functions for Telegram bot locally

Releases

No releases published

Packages

No packages published