/Bot

Upload and save your favorite inspiration

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Oasis Telegram Bot

Upload and save your favorite soundtracks

Runtime requirements

Your machine must have ffmpeg and ffprobe

ffmpeg -version # >= 4.4.2

and

ffprobe -version # >= 4.4.2

Next, you will need a file server urls that will serve audio and picture files.

For example:

AUDIO_PATH=http://[your_url]/audio/[filename]

Put these values in the backend .env.dev in the COVER_PATH and AUDIO_PATH variables.

Also the base schema of the DB is in backend/init/init.sql

Launching

From relevant directories Run these commands from the appropriate directories. Also pre-specify DB_* variables in .env.dev to connect to Postgres

Client:

npm run dev

Backand:

make