Skip to content

Repository files navigation

Sleeper Draft Assistant

An unofficial, local-first fantasy football draft and team-management assistant for Sleeper.

Warning

This project is an early alpha. Validate every recommendation yourself, keep backups of anything important, and expect breaking changes before the first stable release.

Sleeper Draft Assistant demo using synthetic data

What it does

  • Connects to Sleeper's tokenless, read-only API by username, league, or draft.
  • Tracks live and completed draft boards.
  • Produces deterministic recommendations from roster construction, scarcity, availability, ADP, tiers, and other explainable signals.
  • Imports user-downloaded FantasyPros draft rankings, season projections, and Sleeper ADP exports; no third-party data is bundled or redistributed.
  • Imports user-downloaded FantasyPros overall rest-of-season rankings and weekly projection CSVs for team-management analysis.
  • Shows weekly data readiness, current-versus-optimized lineup totals, roster needs, waiver context, weekly context, and league activity.
  • Refreshes visible Team Manager data from Sleeper every 60 seconds and when the app regains focus.
  • Offers an optional local Codex app-server provider for conversational analysis.
  • Stores settings, imported rankings and projections, and decision history locally in SQLite.

Sleeper is currently the only supported fantasy platform. Sleeper search rank is a low-confidence fallback; import current draft data before relying on real-draft recommendations.

League format support

Format Alpha support
Standard, half-PPR, and PPR redraft Supported
FLEX and superflex roster construction Supported
Custom scoring and TE premium Limited; the app warns when imported values may not match
IDP Unsupported; defensive players are excluded from recommendations
Auction/salary drafts Unsupported; budgets and nomination strategy are not modeled
Dynasty and keeper valuation Not yet modeled as a dedicated strategy

Roster slots, team count, rounds, and supported scoring settings come from Sleeper. FantasyPros ECR and rest-of-season imports must match the league scoring format. Weekly FPTS are provider-scored, so users must export FantasyPros projections using the same scoring format as their Sleeper league.

Try the demo in about a minute

Requires Node.js 22.12 or later and npm.

git clone https://github.com/itsreverence/sleeper-draft-assistant.git
cd sleeper-draft-assistant
npm ci
npm run dev

Open http://127.0.0.1:5173, then choose Load demo draft. The demo uses synthetic data and requires no Sleeper account or AI provider.

Use your Sleeper league

  1. Enter your Sleeper username or user ID.
  2. If needed, paste a Sleeper league URL or league ID.
  3. Select the draft and confirm your team or draft slot.
  4. Export rankings for your scoring format from FantasyPros and import the CSV as the ECR and tier signal.
  5. Export the season projection files for QB, RB, WR, TE, K, and DST and import them together. The FLX file is not needed because it duplicates players from RB, WR, and TE.
  6. Export FantasyPros Overall ADP and import it for the Sleeper and Real-Time market columns. A separate Real-Time ADP download is not required.
  7. During the season, export the overall rest-of-season rankings for your scoring format and import the single CSV from Team Manager.
  8. Export the six weekly projection files for QB, RB, WR, TE, K, and DST, then import them together from Team Manager.
  9. Review the recommendation evidence before making a pick or changing your team.

The app reads Sleeper data but does not submit picks, change lineups, or modify your Sleeper account.

AI providers

AI is optional. Deterministic fallback is the default and makes no external AI request.

The supported optional integration runs a locally installed Codex CLI through codex app-server. Provider communication stays in the local API process rather than the renderer. No provider credentials are stored by Sleeper Draft Assistant.

See AI providers for setup and limitations.

Desktop builds

npm run desktop          # Electron development
npm run desktop:package  # unpacked build for the current OS
npm run desktop:make     # distributable targets

Release builds are currently unsigned. Windows may display a SmartScreen warning, and macOS packaging/signing is not yet supported. Only install artifacts from this repository's Releases page once releases are published.

See Installing on Windows for artifact choices, checksum verification, local-data cleanup, updates, and rollback.

Local data and privacy

The packaged app stores data beneath Electron's per-user application-data directory. Development uses data/ in the repository unless SLEEPER_AI_DATA_DIR is set. Stored data can include league and draft identifiers, imported draft and rest-of-season rankings, season and weekly projections, ADP, settings, and recommendation history.

Settings shows aggregate local-data counts, can download a redacted support report, and provides controls to clear imports, recommendation history, or all local app data.

The API binds only to 127.0.0.1 and protects non-health routes with a random per-launch capability token. On POSIX systems, local data directories and files are created with owner-only permissions. Windows uses its normal per-user profile ACLs; POSIX mode bits are not a Windows security guarantee.

Read Privacy and local data before sharing diagnostics or deleting local state.

Development

npm ci
npm run check
npm test
npm run build

Useful docs:

Status and support

This is active alpha software. Use GitHub Issues for reproducible bugs and scoped feature requests. Do not post tokens, private league data, imported rankings, or unredacted diagnostics.

Unofficial project notice

Sleeper Draft Assistant is an independent project and is not affiliated with, endorsed by, or sponsored by Sleeper, FantasyPros, OpenAI, or ChatGPT. Sleeper, FantasyPros, OpenAI, ChatGPT, Codex, and related marks belong to their respective owners.

License

MIT

About

Unofficial, local-first fantasy football draft and team-management assistant for Sleeper.

Topics

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages