Skip to content
Pocket Homelab
Install

Pocket League

v0.5.0 · Self-hosted · MIT

Sport with friends, organised.

Pocket League keeps a group for each sport you play: plan the next game or vote on a time, see who's in with a waiting list, pick fair teams, enter the score and follow the table with ratings and form. Friends get a one-time sign-in link, with no password and nothing to install. One Go binary, one SQLite file.

Install League with Pocket Core in one command:

curl -fsSL https://pockethomelab.com/install.sh | sh -s -- --apps league

On any Linux machine or a Mac. Already running Pocket Core? Apps → Install app → League. Add more apps to the line →

  • Included in Pocket Box
  • Sign in with Pocket Core
  • Works with Pocket Calendar and Pocket Health and Pocket Habits and Pocket Split and Pocket Money and Pocket Weather and Pocket Places and Pocket Contacts and Pocket Mail and Pocket Tasks and Pocket AI
Home on an iPhone: tennis tomorrow with In, Maybe and Out, a padel game still finding a time, and a result to checkHome on an iPhone: tennis tomorrow with In, Maybe and Out, a padel game still finding a time, and a result to check

Home

What needs an answer.

The games you have not answered yet, the votes on a time, results someone else entered for you to confirm, what is coming up and your groups, each with its sport.

Home: tennis tomorrow one player short, a padel vote, a tennis result to confirm, Friday's five-a-side and three groupsHome: tennis tomorrow one player short, a padel vote, a tennis result to confirm, Friday's five-a-side and three groups

Who's in

In, maybe or out, in one tap.

Each game shows who is in, who might come, who is out and who has not answered. A full game puts a yes on the waiting list and moves the first one up when someone drops out. Those who are in get a reminder, with the weather for outdoor games.

  • “Find a sub” asks the maybes, then your other groups
  • Bring a guest, or set your away days
  • Each player's share of the cost, chores in turns
Friday's five-a-side: nine in of twelve, one maybe, one out with a sore knee, two not answered, and the game in your other appsFriday's five-a-side: nine in of twelve, one maybe, one out with a sore knee, two not answered, and the game in your other apps

The table

Results, form and a rating.

Anyone enters a result and someone else who played confirms it. The table has points, games or goals, form and an Elo-style rating that moves with every result; each player has a page with their record against and with everyone.

  • Fair teams with ratings as close as possible
  • Seasons with their own table and awards
  • Scorers, assists, aces or 180s per player
The tennis table: six players with games played, won and lost, games for and against, points, form and ratingThe tennis table: six players with games played, won and lost, games for and against, points, form and rating

On the phone

A chat for every group.

Each group has a live chat and each game its comments, with reactions and photos. League adds a line when a game is planned, moved or has a result. Add it to the home screen and notifications pop up like any app's.

  • “Catch me up” and the match report, drafted for you only
  • The AI never writes in a chat
  • Light and dark follow the system
The tennis group's chat on an iPhone: who brings the balls, who will be late, and the Autumn Cup podiumThe tennis group's chat on an iPhone: who brings the balls, who will be late, and the Autumn Cup podium

Tournaments

A cup, a ladder or an Americano.

Knockout with byes and a match for third place, round robin, groups then knockout, Swiss, Americano and Mexicano for padel, ladders and box leagues, with each sport's own tie-breakers, courts and a podium in the chat.

  • Live scores point by point, tie-breaks included
  • A read-only link to share with anyone, printable too
  • Sign-up with a waiting list, check-in and entry fees
The Autumn Cup's draw: quarter-finals with two byes, the semi-finals, the final and the match for third placeThe Autumn Cup's draw: quarter-finals with two byes, the semi-finals, the final and the match for third place

And the rest of it

  • Plans itself

    Set the usual day, “Tuesdays at 20:00”, and League plans each game a few days ahead. Or offer a few times and places and let everyone vote; the best one is picked by itself.

  • Friends from outside

    Add someone with an email or a phone number and they get a one-time sign-in link, by email or WhatsApp. Spond, TeamSnap or a spreadsheet list comes in as a CSV.

  • Who owes what

    After each game everyone owes their share, a guest's to whoever brought them. Players say “I paid” and an organiser confirms; Pocket Split or Pocket Money can take it from there.

  • Ask Pocket AI

    A match report to post or a catch-up of the chat, drafted for you. Pocket AI knows your next game and can say you're in.

  • Everyone their own

    Groups are shared only by the people in them. Admins manage accounts but don't see groups they are not in.

Install

One container, one folder.

Run the image with a data folder and open it on port 8080. Create the first account and make a group. For emails to players, pick your mail server under Settings → Email, or send the sign-in links by WhatsApp.

Already installed on a Pocket Box, with sign-in through Pocket Core and the Ask panel on Pocket AI.

Every setting in the README →

The easiest way is the one command above. To run it on its own with Docker:

docker run -d --name pocket-league -p 8080:8080 -v ./data:/data \
  -e BASE_URL=https://league.example.com -e SECURE_COOKIES=true \
  ghcr.io/abjelosevic88/pocket-homelab-league:latest