Skip to content

cachebust/Fpl-Buddy

Repository files navigation

Fpl Buddy

Fpl Buddy is a powerful Chrome extension designed to enhance your Fantasy Premier League (FPL) experience. It seamlessly integrates advanced statistics, fixture visualizations, and detailed manager data directly into the official FPL website.

🚀 Features

📅 Next 5 Fixtures

  • Difficulty Visualization: Displays the next 5 opponents for every player, color-coded by fixture difficulty (FDR).
  • Pitch & List Views: Works across the "My Team", "Points", and "Transfers" pages.
  • Stale-Free Navigation: Intelligent detection ensures fixtures refresh instantly when you substitute players or navigate between managers.

📊 Player Statistics & Ownership

  • TSB (Selected By%): Shows individual player ownership percentage directly on their card.
  • Quick Stats: Instantly see Goal (G) & Assist (A) counts for attackers, and Clean Sheets (CS) for goalkeepers/defenders.
  • Team Context: If player data is unavailable, it provides the team's average ownership.

🏆 Detailed Standings Table

Enhance your league standings with a massive array of customizable data columns:

  • OR: Overall Rank.
  • Last 5: Breakdown of points from the previous 5 gameweeks.
  • TPB: Total Points on Bench (cumulative).
  • PNTL: Total transfer hits cost.
  • TV: Current Team Value.
  • GWT(C): Current Gameweek Transfers and their point cost.
  • TT(C): Total season transfers and total hit costs.
  • Captain: See who every rival has captained this week.
  • Chip Usage: Active chip indicator and a full history of when rivals used their Wildcard, Triple Captain, etc.
  • Team View: A quick + button to view any manager's full starting XI and bench in a clean overlay without leaving the standings page.

🛠 Installation

  1. Download/Clone the repository to your local machine.
  2. Open Google Chrome and navigate to chrome://extensions/.
  3. Enable Developer mode in the top right corner.
  4. Click Load unpacked.
  5. Select the fpl-extension folder.

⚙️ Configuration

Click the Fpl Buddy icon in your browser toolbar to:

  • Toggle the Fixtures overlay on/off.
  • Enable/Disable the Detailed Standings enhancements.
  • Select exactly which columns you want to see in your league tables to keep the interface as clean as you like.

⚒️ Development

If you're looking to contribute or customize Fpl Buddy, here's how to set up the development environment:

Prerequisites

  • A Chromium-based browser (Chrome, Edge, Brave, etc.)
  • Basic knowledge of JavaScript, CSS, and the Chrome Extension API.

Local Setup

  1. Clone the Repository:
    git clone https://github.com/cachebust/Fpl-Buddy.git
    cd fpl-extension
  2. Load the Extension:
    • Open chrome://extensions/.
    • Enable Developer mode.
    • Click Load unpacked and select the fpl-extension directory.
  3. Live Debugging:
    • Any changes made to the code will require a refresh of the extension on the chrome://extensions/ page (click the 🔄 icon on the Fpl Buddy card).
    • To debug the popup, right-click the extension icon and select Inspect.
    • To debug content scripts, use the browser's developer tools on any FPL page.

Technical Architecture

  • content.js: Handles DOM injection, fixture logic, and individual player stats.
  • league_table.js: Purely focused on the league standings enhancements.
  • styles.css: Contains all visual styles and layout overrides.
  • popup.js/html/css: User settings interface.

📜 License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors