🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

railil - Israel Railways train station schedule

by @lirantal

Search for Israel Rail train schedules using the railil CLI. Find routes between stations with fuzzy search, filter by date/time, and output in various formats (JSON, Markdown, Table).

Versionv1.0.1
Downloads2,446
Stars⭐ 1
TERMINAL
clawhub install railil

πŸ“– About This Skill


name: railil description: Search for Israel Rail train schedules using the railil CLI. Find routes between stations with fuzzy search, filter by date/time, and output in various formats (JSON, Markdown, Table). homepage: https://github.com/lirantal/railil metadata: {"clawdbot":{"emoji":"πŸš†","requires":{"bins":["railil"]},"install":[{"id":"node","kind":"node","package":"railil","bins":["railil"],"label":"Install railil (npm)"}]}}

Railil CLI

A CLI tool for checking Israel Rail train schedules.

Installation

npm install -g railil

Usage

The CLI supports fuzzy matching for station names.

Basic Search

Search for the next trains between two stations:

railil --from "Tel Aviv" --to "Haifa"

Date and Time

Search for a specific date and time:

railil --from "Beer Sheva" --to "Tel Aviv" --time 08:00 --date 2023-11-01

Output Formats

For machine-readable output or specific formatting, use the --output flag. Supported formats: text (default), json, table, markdown.

JSON Output (Recommended for agents):

railil --from "Tel Aviv" --to "Haifa" --output json

Markdown Output:

railil --from "Tel Aviv" --to "Haifa" --output markdown

Options

  • -f, --from : Origin station name (fuzzy match supported).
  • -t, --to : Destination station name (fuzzy match supported).
  • -d, --date : Date of travel.
  • -h, --time : Time of travel (HH:MM).
  • -l, --limit : Limit the number of results.
  • -o, --output : Output format (json, text, table, markdown).
  • --help: Show help message.
  • Examples

    Find next 3 trains from Ben Gurion Airport to Jerusalem:

    railil --from "Ben Gurion" --to "Jerusalem" --limit 3
    

    Get schedule for tomorrow morning in JSON:

    railil --from "Haifa" --to "Tel Aviv" --time 07:30 --output json
    

    πŸ’‘ Examples

    Find next 3 trains from Ben Gurion Airport to Jerusalem:

    railil --from "Ben Gurion" --to "Jerusalem" --limit 3
    

    Get schedule for tomorrow morning in JSON:

    railil --from "Haifa" --to "Tel Aviv" --time 07:30 --output json
    

    βš™οΈ Configuration

  • -f, --from : Origin station name (fuzzy match supported).
  • -t, --to : Destination station name (fuzzy match supported).
  • -d, --date : Date of travel.
  • -h, --time : Time of travel (HH:MM).
  • -l, --limit : Limit the number of results.
  • -o, --output : Output format (json, text, table, markdown).
  • --help: Show help message.