Skip to content

A tool on your terminal or browser that helps you to find empty seats at Turkish Railways by making requests to TCDD API.

License

Notifications You must be signed in to change notification settings

cankurttekin/tcdd-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcdd-cli

License: GPL v3
This tool helps you to find an empty seat in Turkish Railways by making requests to TCDD API.

img

img

Features

Let's you choose date, stations and goes to loop to fetch empty seats and notify when seats > 0. It uses ASCII BEL to notify when seats available so if you disabled terminal bell sound and want to get audio feedback you may need to enable it.

Usage

# Clone repository to any directory
git clone https://github.com/cankurttekin/tcdd-cli.git

# Go to tcdd-cli directory
cd tcdd-cli/

# Grant execute permission
chmod +x tcdd-cli.sh

# Run
./tcdd-cli.sh

Web version available at web-ui branch

TO DO

  • Implement station and id lookup
  • Run it in the background and get notified when there's an empty seat available for desired destination and time
  • Make it prettier. > kinda??
  • Telegram bot

About

A tool on your terminal or browser that helps you to find empty seats at Turkish Railways by making requests to TCDD API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published