Skip to content

Albo3/teeTimeWith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeeTimeWith - Golf Booking Automation

An intelligent automation system for securing tee times at Wembley Golf Course, built with Puppeteer and TypeScript.

Overview

TeeTimeWith automates the process of booking golf tee times, handling authentication, calendar navigation, and time slot selection. It uses advanced browser automation techniques to maintain a natural, human-like interaction pattern while ensuring reliable bookings.

Features

  • Automated login with session persistence
  • Intelligent 10-day advance booking calculation
  • Smart time slot targeting and selection
  • Robust error handling and session management
  • Stealth browser automation to prevent detection
  • Configurable booking preferences via environment variables

Requirements

  • Node.js 16.x or higher
  • NPM 7.x or higher
  • Chrome/Chromium browser
  • Active Wembley Golf Course membership

Configuration

Create a .env file in the project root with the following settings:

  • email: Your Wembley Golf account email
  • password: Your account password
  • players: Number of players to book for (1-4)
  • slot: Preferred tee time (format: "4:20pm")
  • course: Course preference ("OLD Course 18 Holes")

Installation

  1. Clone the repository
  2. Install dependencies with npm install
  3. Configure your .env file
  4. Run npm start to launch the booking system

Usage

The system will:

  1. Authenticate using saved credentials or prompt for login
  2. Navigate to the booking calendar
  3. Target the specified date (10 days ahead)
  4. Select your preferred time slot
  5. Complete the booking process

Development

  • Development mode: npm run dev
  • Build project: npm run build
  • Start application: npm start

Security

The system implements several security measures:

  • Secure credential storage
  • Session persistence
  • Cookie management
  • Git-ignored authentication data

Technical Details

  • Language: TypeScript
  • Runtime: Node.js
  • Automation: Puppeteer with Stealth Plugin
  • Authentication: Cookie-based session management
  • Browser: Chrome/Chromium

Best Practices

  • Run the system before the 6am booking window opens
  • Ensure stable internet connection
  • Keep Chrome browser updated
  • Regularly update saved credentials

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors