OpenTrailPaper
Open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO, with offline maps, GPX routes, FIT recording and Bluetooth sensors.
Manage your fantasy football auction draft
Translation pending
Sports & fitnessTypeScript · JavaScriptGitHub @nicholas-fierroAvailability needs another checkOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Fantasy football auction and snake draft helper built with Next.js and PocketBase
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
A live draft-day command center for auction, snake, or hybrid fantasy football drafts.
Features
Built With
Prerequisites
Installation
PocketBase Setup
Usage
Architecture
Data Workflows
Testing
Deployment
Roadmap
Contributing
License
Contact
Acknowledgments
Fantasy Football Draft Helper is a multi-user draft room built for a 12-team, half-PPR league. It supports a $200 auction across seven paid roster slots, followed by snake rounds, while tracking budgets, rosters, nominations, values, and draft history in real time.Read the full README ↗Fantasy Football Draft Helper is a multi-user draft room built for a 12-team, half-PPR league. It supports a $200 auction across seven paid roster slots, followed by snake rounds, while tracking budgets, rosters, nominations, values, and draft history in real time.
Unlike generic draft tools, projected prices are trained on the league's own official auction history from 2018–2025. The app also includes deterministic AI mock drafts, player usage and scoring analysis, tier-cliff alerts, and live target-price estimates.
Run the Next.js frontend and PocketBase backend locally.
Clone the repository.
git clone https://github.com/nicholas-fierro/fantasy-auction-app.git
cd fantasy-auction-app
Install packages.
npm install
Create local environment configuration.
cp .env.example .env
Update .env if PocketBase does not use the default local address.
NEXT_PUBLIC_POCKETBASE_URL=http://127.0.0.1:8090
POCKETBASE_URL=http://127.0.0.1:8090
FANTASYPROS_API_KEY=
FANTASYPROS_API_KEY is optional for local development. It enables the FantasyPros comparison panel.
Start the development server.
npm run dev
Open http://localhost:3000.
PocketBase is required for the app to run. This project expects a local instance at ~/Pocketbase/main by default.
cd ~/Pocketbase/main
./pocketbase serve
PocketBase will be available at http://127.0.0.1:8090.
Canonical migrations and hooks live in this repository:
pb_migrations/ contains collection schemas, indexes, and API rules.pb_hooks/ contains server-side draft, permission, admin, and rate-limit behavior.Copy migrations and hooks into the matching directories under ~/Pocketbase/main, then restart PocketBase. PocketBase applies migrations at startup and caches its schema in memory.
[!IMPORTANT] Any schema-changing migration must also be reflected in
pb_migrations/1784300000_baseline_full.js. Integration tests compare an instance built from the baseline with one built from the incremental migration chain.
Commissioners can refresh draft data from the import view:
Create an official auction and invite league members into the shared draft room. Nominations and picks stream to connected clients through PocketBase realtime subscriptions.
Budget guardrails reserve at least $1 for every remaining paid roster slot. Completed auctions are immutable. Undo only removes the latest pick from an active auction and requires confirmation.
Create a mock auction with simulation enabled. When the auction includes the user's team, the local AI engine handles opponent nominations, auction bidding, and snake-round selections using per-team profiles.
Data scripts live in scripts/ and document their supported flags in each file header.
set -a
source .env
set +a
npx tsx scripts/<name>.ts
Standalone scripts do not load .env automatically. Player-stat bootstrap jobs are dry-run-first: sync IDs, repair reviewed identities, sync IDs again, then import game logs. Review every generated report before rerunning without --dry-run.
The browser talks directly to PocketBase through the SDK singleton in src/lib/pb-client.ts. Routine reads and writes do not pass through a Next.js server-side data layer.
src/hooks/ expose reads and mutations to components.pb_auth cookie for middleware and server actions. Logout and unauthorized responses clear both stores.NavigationContext switches views inside a single-page application shell rather than route-per-view navigation.Key domain modules:
src/lib/roster.ts — roster construction, league defaults, and max-bid mathsrc/lib/value-model.ts — historical comparable-player model for projected valuessrc/lib/estimated-value.ts — live target-price estimates using shared comparable logicsrc/lib/draft-insights.ts — tier cliffs, pace, recency, and budget pressuresrc/lib/mock-draft/ — deterministic auction and snake simulation enginesrc/lib/fantasy-scoring.ts — fantasy scoring derived from raw game-log inputsRead ARCHITECTURE_DECISIONS.md before changing data flow, authentication, authorization, or the value model.
More detail:
Project data comes from three categories:
Only official auction prices contribute to historical value estimates. Player game logs join through canonical gsis_id values, never player names.
See docs/data-sources.md for freshness, ownership, and join-key details.
Run full validation before submitting changes:
npm test
npm run test:integration
npm run build
npm run lint
Additional commands:
npm run test:watch
npx vitest run src/lib/mock-draft/mock-draft.test.ts
npx vitest run src/lib/mock-draft/mock-draft.test.ts -t "test name"
npm run build is the best full type-check. Integration tests start a temporary PocketBase instance and verify that the baseline schema matches the incremental migration chain.
The Next.js app is designed for Vercel. PocketBase is deployed separately behind HTTPS.
Production requires HTTPS values for both PocketBase environment variables:
NEXT_PUBLIC_POCKETBASE_URL=https://pocketbase.example.com
POCKETBASE_URL=https://pocketbase.example.com
Production infrastructure and migration procedures are intentionally kept outside this public repository.
No open-source license has been added yet. Copyright remains with the repository owner unless a license is added later.
Nicholas Fierro — @nicholas-fierro