Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
/ galley-calls Public archive

Call the galley menu line and send the recording and transcribed menu in Discord.

License

Notifications You must be signed in to change notification settings

ajmeese7/galley-calls

Repository files navigation

☎️Galley Calls☎️

JavaScript License Stars Forks Leave a Star!

Call the galley menu line and send the recording & transcription in Discord.

Discord message example

Developing

You can replicate the PostgreSQL table structure by running the following query on your local Postgres server:

CREATE TABLE menus (
    id SERIAL PRIMARY KEY,
    menu_recording text,
    transcription varchar,
    date TIMESTAMP default CURRENT_TIMESTAMP
);

To start up the Express server, run npm run devstart. This will start it with Nodemon, so the server will automatically restart whenever you make changes to important files. You can view it at localhost:5000.

To start a local Postgres server, run psql postgresql://[user[:password]@][netloc][:port][/dbname], filling in your server's information where appropriate.

You should create a .env file with the following values assigned:

  • TWILIO_ACCOUNT_SID
  • TWILIO_AUTH_TOKEN
  • DATABASE_URL
  • BOT_TOKEN
  • SONIX_API_KEY

Wishlist

  • Figure out the job of scheduling, and how I want to handle it.
  • Look into using an embed with the files, so I can have a hyperlink asking for any generous donations and stars for the repository.

About

Call the galley menu line and send the recording and transcribed menu in Discord.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published