Business

ro31337/libretaxi2

ro31337/libretaxi2

LibreTaxi v2, ridesharing jailbreak, open-source Uber PoC
See it in action: https://t.me/libretaxi_bot
Public feed: https://t.me/libretaxi_all
Running services
docker-compose up -d

Will run PostgreSQL and RabbitMQ with default credentials (see connection strings below).
Setting up RabbitMQ (for development and production)
rabbitmq:3-management contains UI plugin for queue management. Plugin port is 8080 (15672 in container).
Login guest/guest.
Login to RabbitUI here: http://localhost:8080
There is only one queue at the moment:
messages queue, http://localhost:8080/#/queues/%2F/messages – picked up by message handler, enqueued by libretaxi
Note that there is one message producer, and one message consumer threads (goroutines) in application.
Port 5672 is RabbitMQ itself.
LibreTaxi settings
Init settings for ./libretaxi.yml:
telegram_token: YOUR_TOKEN
db_conn_str: postgres://libretaxi:libretaxi@localhost:15432/libretaxi
rabbit_url: amqp://127.0.0.1:8079/
admin_channel_chat_id: -1001324105405
public_channel_chat_id: -1001470847849

Admin channel is the place where you shadow ban spamers.
See https://stackoverflow.com/a/41779623/337085 for how to get id for you private channel.
You’ll need to invite @get_id_bot and type /my_id@get_id_bot. You’ll see chat id.
Running
When all services are running, run libretaxi:
dep ensure
go build
./libretaxi

Related posts

Court Slams Facebook, Allows Privacy Class Action Worth Billions

admin2 admin2

Saudi Arabia’s Crown Prince Mohammed bin Salman: lifestyle, spending – Business Insider

admin2 admin2

Meteoric Bitcoin Price Breaks 2019 High as Investors Paint $15,000 FOMO Target

admin2 admin2

Leave a Reply