Skip to content
Pocket Homelab
Get the appComing soon to the App Store

Pocket Learn

v0.2.1 · Self-hosted · MIT

Learn anything, and keep it.

Pocket Learn is spaced-repetition flashcards on your own server. The FSRS scheduler shows each card just before you would forget it, so a few minutes a day are enough to remember things for years. Bring your Anki decks along with their progress, or write new cards in four kinds.

  • Included in Pocket Box
  • Sign in with Pocket Core
  • Works with Anki and Quizlet
Studying on an iPhone: a fill-the-gap card about the thyroid gland with Again, Hard, Good and Easy belowStudying on an iPhone: a fill-the-gap card about the thyroid gland with Again, Hard, Good and Easy below

Today

Everything due, in one place.

See how many cards are waiting across your decks and about how long they will take, then start with one click. The next days and the last twelve weeks sit beside your decks, with your streak.

The Today page: 18 cards to study, five decks with what is due in each, the coming week and twelve weeks of studyThe Today page: 18 cards to study, five decks with what is due in each, the coming week and twelve weeks of study

Study

Made for the keyboard and the phone.

Show the answer, then pick Again, Hard, Good or Easy; each button says when the card comes back. Type-the-answer cards check what you typed against the answer before you grade it.

  • Space, 1 to 4, z to undo and e to edit on the keyboard
  • Big buttons on the phone, with a study timer in the top bar
  • Bury a card until tomorrow, set it aside or ask the AI to explain it
A type-the-answer card on an iPhone: the typed answer log/slg is marked wrong under the correct log/slogA type-the-answer card on an iPhone: the typed answer log/slg is marked wrong under the correct log/slog

Cards

Four kinds of card.

Question and answer, both ways, fill the gap and type the answer. A live preview shows each card as you write it, and pictures or sounds can be pasted or dropped straight into a card.

  • One card per gap, with optional hints
  • Import Anki packages with pictures, sounds and progress
  • Or rows from Quizlet and spreadsheets, with a column preview
Adding a fill-the-gap card about the heart with two gaps and a live preview of the first cardAdding a fill-the-gap card about the heart with two gaps and a live preview of the first card

Statistics

How much you really remember.

See the share of reviews you remembered against what you aim for, the reviews coming up, a year of studying, where your cards stand and the time of day you remember best.

  • Retention for young and well-known cards
  • Choose how sure to be, 90 % by default
  • The cards you forget most, so you can rewrite them
Statistics: reviews remembered per day against a 90 % aim, reviews coming up, a year heatmap and time of dayStatistics: reviews remembered per day against a 90 % aim, reviews coming up, a year heatmap and time of day

And the rest of it

  • Cards written by AI

    Paste a text, or pick a note from Pocket Notes or highlights from Pocket Reader and Pocket Library, and the AI writes one-fact cards. You pick and fix the ones to keep.

  • Study sessions, timed

    Every run on the study screen is a session with its deck, cards and length. With Pocket Time connected, the study timer is your one timer there.

  • Reminders

    A nudge when cards are due, an evening reminder before a streak ends and a weekly report through Apprise, ntfy or a webhook.

  • Everyone their own

    Each person has their own decks, cards, settings and connections. Admins see no one else's.

Install

One container, one volume.

Pocket Learn is a single Go binary with a SQLite file. Open it, create the first account and add your first card or import a deck. With Pocket Core, people sign in once and their notes and highlights can become cards with nothing to paste.

On a Pocket Box it is already installed and signed in through Pocket Core.

Every setting in the README →

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