This is an unofficial Ebisus Bay Bot for easily monitoring floor price changes on Telegram.
Talk to the bot at https://t.me/ebzbaybot for a customised experience. Otherwise, pre-set channels for various collections include (basically collections I watch):
- Run
make env
to bring up the POstgres database with Docker Compose. - Run
make deps
to pull in the dependencies. - Make a copy of
.envrc.sample
as.envrc
and insert your Telegram bot token (get it from The BotFather). - Run
direnv allow .
to enable the.envrc
file to be loaded - Run
go run. start
to start the bot.
The whitelisted collection list can be found at ./pkg/constants/data.json
. That should be where you're raising a pull request to whitelist a collection.
Run make release release_tag=$(git rev-parse HEAD | head -c 8)
to create and push the artifact.
This service's tooling was created around deploying on Digital Ocean (DO) App Platform because it's simpler and more affordable.
To create the required resources, go to the DO App Platform and use a Docker image as the type of application. Use zephinzer/ebzbaybot
(find the latest image tag on DockerHub as the image source). Also, create and attach a database to it and change the default injected environment variable from DATABASE_URL
to POSTGRES_URL
.
To deploy a new release, navigate to the application in DO and change the image repository tag. The application should automagically deploy itself.
Code is licensed under GPLv3 which basically means you can deploy this software AS-IS by yourself anywhere if you so wish. Also, modifications are allowed but must be open-sourced as well.