detransport_ternopil_telegram
Version, currently master branch1 version
- master branchlatestMay 19, 2026
github.com/mamantoha/detransport_ternopil_telegram
Public transport in Ternopil πΊπ¦
6 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
detransport_ternopil_telegram:
github: mamantoha/detransport_ternopil_telegram
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.20.1- License
- MIT
- Author
- Anton Maminov <anton.maminov@gmail.com>
- Targets
dbfrom src/db.crdetransport_telegramfrom src/detransport_telegram.cr
Dependencies
Runtime Dependencies
- geo*github: geocrystal/geo
- i18n*github: crystal-i18n/i18n
- crest*github: mamantoha/crest
- dotenv*github: gdotdesign/cr-dotenv
- lustra*github: crystal-garage/lustra, branch: main
- haversine*github: geocrystal/haversine
- jaro_winkler*github: kostya/jaro_winkler
- telegram_bot*github: crystal-garage/telegram_bot, branch: develop
- humanize_time*github: mamantoha/humanize_time
Development Dependencies
- geojson*github: geocrystal/geojsondev
- geojson_area*github: geocrystal/geojson_areadev
README
# detransport_ternopil_telegram Source code for <https://t.me/DetransportTernopilBot> |  |  |  | | --- | --- | --- | ## Installation ### Requirements - Crystal - PostgreSQL Clone repository: ```console git clone https://github.com/mamantoha/detransport_tenopil_telegram.git ``` ### Setup Telegram Copy `.env.example` to `.env` and set variables ### Setup Database ``` psql -c 'CREATE DATABASE detransport_ternopil_development;' -U postgres ``` ```console crystal ./src/db.cr migrate ``` ### Run ```console shards build --release ./bin/detransport_telegram ``` ## Deployment ### Linux with systemd Create `/etc/systemd/system/detransport_ternopil_telegram.service` ```ini [Unit] Description=Detransport Ternopil Telegram service After=network.target StartLimitIntervalSec=0 [Service] Type=simple Restart=always RestartSec=1 User=user WorkingDirectory=/path/to/detransport_tenopil_telegram ExecStart=/path/to/detransport_ternopil_telegram/bin/detransport_telegram &>/dev/null & StandardOutput=null StandardError=null [Install] WantedBy=multi-user.target ``` ```console sudo systemctl enable detransport_tenopil_telegram.service ``` ```console sudo systemctl start detransport_ternopil_telegram ``` ## Development ``` crystal ./src/db.cr generate migration add_field_to_table crystal ./src/db.cr migrate crystal ./src/db.cr migrate rollback ``` ## Contributing 1. Fork it (<https://github.com/mamantoha/detransport_telegram/fork>) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request ## Contributors - [Anton Maminov](https://github.com/mamantoha) - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- May 19, 2026
- Crystal
1.20.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/mamantoha/detransport_ternopil_telegram
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1