Southwest Checkin

Automatically check in to Southwest flights using this easy-to-use gem. It'll also email you the results so you know ASAP whether a check in was successful. Seconds count when you're fighting for that window or aisle seat!

Installation

gem install autoluv

Usage

Schedule a Check In

autoluv schedule ABCDEF John Doe

Both departing and returning flights (if applicable) will be scheduled. After scheduling, there's no need to keep the terminal window open or active. The check in will happen behind the scenes at the appropriate time.

Note: If a first or last name includes a space, wrap it in double quotes (e.g. "Mary Kate")

Schedule a Check In With Email Notification

Follow the instructions below for configuring email notifications.

autoluv schedule ABCDEF John Doe john.doe@email.com

A second email address can also be passed in to receive notifications (BCCed).

autoluv schedule ABCDEF John Doe john.doe@email.com second.email@bcc.com

Check In Immediately

autoluv checkin ABCDEF John Doe

Configure Email Notifications

This is optional, however, highly recommended. Especially if a scheduled check in fails, you'll get notified and can manually check in. Every second counts!

On a successful check in, the email will share boarding positions for each passenger.

Step 1: Create the file .autoluv.env in your user's home directory.

nano ~/.autoluv.env

Step 2: Copy/paste the following into the text editor.

LUV_FROM_EMAIL  = from@email.com
LUV_USER_NAME   = from@email.com
LUV_PASSWORD    = supersecurepassword
LUV_SMTP_SERVER = smtp.email.com
LUV_PORT        = 587

Step 3: Replace the values with the appropriate SMTP settings for your email provider. LUV_FROM_EMAIL should be the email address associated with LUV_USER_NAME.

If your email account has two-factor authentication enabled, be sure to use an app-specific password and not your account password.

Step 4: Hit Ctrl+O to save the file and then Ctrl+X to exit the text editor.

Get Text Instead of Email Notifications

Use this Zap to get a custom Zapier email address that forwards emails as text messages. It's handy for people like me who don't have email notifications enabled on their phone or computer and want check-in results ASAP.

Manage Check-Ins

autoluv uses the at command behind the scenes to check in at a specific time. Use the related atq and atrm commands to manage check-ins.

View Scheduled Check-Ins

Make note of the first column's number.

atq
11  Tue Sep 22 08:05:00 2020 a user
12  Mon Sep 28 15:45:00 2020 a user
7   Wed Sep 23 11:40:00 2020 a user

Cancel a Check-In

atrm 11

View Check-In Details

The last line in the output will show you the confirmation number and name.

at -c 11

Update Gem

gem update autoluv --conservative

Contributing

Bug reports and pull requests are welcome.

License

The gem is available as open source under the terms of the MIT License.