GNU Affero General Public License v3.0

项目介绍

ro31337/libretaxi 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 GNU Affero General Public License v3.0 许可证,目前获得 3.9k 个 Star、846 次 Fork。

仓库全名
ro31337/libretaxi
开源许可证
GNU Affero General Public License v3.0
Star 数
3.9k
Fork 数
846
未关闭 Issue
14

README 摘要

LibreTaxi v2 LibreTaxi is open-source Uber proof-of-concept that works through Telegram. See it in action: https://t.me/libretaxibot Public feed: https://t.me/libretaxiall It is closer to Craigslist rideshare rather than Uber, but it works, and works great! The app that is easy to use, supports multiple languages, fast and cool. There are tens of thousands users worldwide, and we're on the way to 1M users. So please…

完整内容见 GitHub 原始 README 或本页 。

常见问题

libretaxi 用什么语言开发?

主要使用 Go 编写,采用 GNU Affero General Public License v3.0 许可证,目前有 3.9k 个 Star。

libretaxi 可以免费商用吗?

仓库标注的许可证为 GNU Affero General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 libretaxi 的源码?

可以直接克隆仓库:git clone https://github.com/ro31337/libretaxi.git;安装与运行步骤见仓库 README。

libretaxi 最近还在维护吗?

仓库最近一次更新为 2022年3月19日,当前有 14 个未关闭 Issue;Star 数为 3.9k,可作为社区活跃度的参考。

简要分析

热度分
9516
价值分
2991
活跃状态
活跃

语言占比

Go
Shell

Release

README

LibreTaxi v2

LibreTaxi is open-source Uber proof-of-concept that works through Telegram.

See it in action: https://t.me/libretaxi_bot

Public feed: https://t.me/libretaxi_all

It is closer to Craigslist rideshare rather than Uber, but it works, and works great! The app that is easy to use, supports multiple languages, fast and cool. There are tens of thousands users worldwide, and we’re on the way to 1M users. So please spread the word!

Prerequisites

  1. Install Go
  2. Install Go dep
  3. Download the repo to ~/go/src/libretaxi
  4. Install Docker with docker-compose
  5. Run PostgreSQL and RabbitMQ with default credentials (see connection strings below)
docker-compose up -d

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:

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 # or ~/go/bin/dep ensure
go build
./libretaxi

🌟 Project Sponsors

Shown below are our bronze, silver and gold project sponsors. Big thanks to these companies for supporting the project. Note: Listed services are not tested, vetted nor supported by the author(s) in any manner.

Gold sponsors

Prevent workplace conflicts with this Slack app:

Prevent workplace conflicts

Become a sponsor!

View all sponsors

评论

暂无评论