Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

open-app/bazaar-bot

Open more actions menu

Repository files navigation

Bazaar Bot

Telegram Bot for facilitating local community markets.

Usage

To use the Telegram Bot API, you first have to get a bot account by chatting with BotFather.

Create a directory on the docker host for persisting the SSB data:

mkdir ~/ssb-bazaar-data
chown -R 1000:1000 ~/ssb-bazaar-data

Run the image

docker run -d --name bazaar-bot \
  -v ~/ssb-bazaar-data/:/root/.ssb-bazaarbot/ \
  -e BOT_TOKEN="xxx-xxx-xx" \
  -e COMMUNITY_CURRENCY="SHELL" \
  -e FIAT_CURRENCY="Dollars" \
  -e DEFAULT_LOCAL="en" \
  -e SCOPE="COMMUNITY-NAME" \
  -e APP_KEY="secret" \
  -p 4000:4000 \
  --restart unless-stopped \
  communityfirst/bazaar-bot

Or Rename the .env.sample file to .env and edit it with needed configuration.

Using docker-compose

Copy and edit the .env.compose file: cp .env.compose .env

Now just run docker-compose up -d to run it detached.

About

Telegram Bot for facilitating local community markets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.