Skip to content

Repository files navigation

Track Buddy - Track users with upcoming flights

Track Buddy is a specialized Reddit bot built specifically for the r/fearofflying subreddit. It monitors posts for users requesting flight tracking support and automatically provides direct links to those flights via FlightAware and FlightRadar24, paired with a supportive message to help reassure anxious flyers.


🌟 Features

  • Flair-Specific Triggering: Focuses exclusively on post flair for maximum accuracy.

  • Flight Number Extraction: Regex support for IATA/ICAO codes (AA123, B6514, JBU514) and letter-number airline IDs (U2).

  • Automated Assistance: Instantly provides flight tracking links based on extracted flight numbers.

  • Anti-Spam Protection: Integrated Redis storage ensures the bot only comments once per post.

  • Supportive Messaging: Includes a curated reassurance message to help anxious flyers feel safer.

  • Bot Configuration: Target flair, flight number regex, reassurance message, future flight message, and future flight disclaimer are customizable via bot settings.

  • Future Flight Disclaimer: Scans post content for future-dated keywords (e.g., "tomorrow," "next week") and automatically adds a warning disclaimer about live data availability.

Coming Soon: Manual posting options and future timing adjustments.


🛠️ How it Works

Install & Configure

  • Trigger: The bot activates whenever a new post is created in the subreddit.

  • Filter: The bot checks if the post has the target post flair and contains tracking-related keywords.

  • Extraction: The bot uses a custom Regex to find and extract flight numbers (e.g., AA123, DL 456, BA-789).

  • Response: If all criteria are met, the bot submits a formatted comment with tracking links and a friendly reassurance note (customizable in the bot settings).

  • Future Check: If the bot detects keywords suggesting the flight isn't happening today, it prepends a "Future Disclaimer" to the comment to account for possible incorrect flight tracking information.

No configuration or set-up is required for the bot to work at this time. All default values to ensure the bot functions properly are already set upon installation. Simply install the bot to your subreddit, and it will start scanning posts!


⚙️ Configuration (Settings UI)

Track Buddy is designed to be flexible. Moderators can fine-tune the bot's behavior directly through the bot settings. Whether you need to update the trigger flair, adjust the support message, or refine the flight number detection regex, you can manage it all from the Apps section of your Moderation Tools.

  • Required Post Flair

    • The exact post flair text the bot looks for.
  • Reassurance Message

    • The supportive text displayed at the bottom of the bot comment.
  • Flight Number Regex

    • Advanced extraction pattern (supports groups).
  • Future Warning Text

    • The text shown when a future flight is detected.
  • Future Flight Keywords

    • Comma-separated list that triggers the warning.
  • Optional comment stickying

    • Optional toggle to automatically sticky bot comment on submission.

🧾 Source & License

The source code for Track Buddy is available on GitHub.

This project is licensed under the BSD-3-Clause License. This app was developed in compliance with Reddit's Developer Terms and adheres to the guidelines for the Devvit platform.


🆘 Feedback & Support

If you have any feedback/suggestions or need support, visit r/NovrixApps.


🚀 Changelog

Latest Version: v1.0.12

  • Updated app to latest Devvit version.

For the full changelog, please visit the Weathercast GitHub.


Thanks for using Track Buddy!

About

A Reddit bot built specifically for the r/fearofflying subreddit. Provides flight tracking links for tracking request posts to help provide reassurance to anxious flyers.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages