Per Aspera ad Astra: build a galactic empire with every card you review

AnkiWeb addon 1595779323 Built with AI

Turns reviewed Anki cards into credits for building a galactic empire, conquering worlds, recruiting crew and defending against raids.
AI-generated summary; may contain mistakes.

statisticsprogress-trackinggamification

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (๐Ÿ‘ 0 ยท ๐Ÿ‘Ž 0)
Updated
2026-12-01
Anki versions
26.08.1~
License
AGPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
JavaScript, CSS, Python, HTML, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-12-01 (0 days before the snapshot).
  • Test files: 4.
  • GitHub Actions workflows: 1.
  • Commits in the last year: 24.
  • Issues: 0 open, 0 closed.
  • Pull requests: 1 open, 3 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.526.08.1+2026-12-01
History across monthly snapshots

Loadingโ€ฆ

Similar addons

Anki Empire (BETA)

Turns Anki reviews into a multiplayer Civilization-style strategy game where players build cities, research technologies, race for wonders, and compete asynchronously with friends or computer opponents.

review-flowprogress-trackinggamificationbeta

1 votes 21% approval ๐Ÿ‘ 1 ยท ๐Ÿ‘Ž 0 Anki 2.1.1~ Updated 2026-11-19

Description

Every card you review builds a galactic empire.

Per Aspera ad Astra turns your daily reviews into a tycoon game.

Cards earn credits. Credits build your fleet.

Your fleet takes the solar system, then the stars, then the Galactic Core.

Why I made it

I'm a medical student. I built this to keep myself going through the long stretches.

Per aspera ad astra: through hardships, to the stars.

Humanity crossed oceans, learnt to fly and walked on the Moon the same way: hard work, day after day, long before the reward was in sight.

That is how we will reach the stars.

Your reviews are no different. Each card is a small hardship. Each one moves you further.

Keep going. The stars are waiting.

Your colony

How it plays

  • Build and upgrade. Spend credits on mines, labs and shipyards. Buildings finish as you review.
  • Conquer 13 worlds. Beat each world's defences to claim it as a new colony.
  • Recruit a crew. 24 characters, from Bronze to rare Imperial, each boosting one building.
  • Defend against raids. Every few days raiders attack. Review enough that day to hold your shields.
  • Take the Core for a grand finale, your full record and awards.

You study exactly as you do now. Only the number of cards counts, never which button you press.

The galaxy

Built around Anki

  • Desktop reviews count instantly. AnkiMobile and AnkiDroid reviews count after you sync. Nothing is ever counted twice.
  • No need to keep the game open: your cards wait, and you collect them later.
  • A review calendar on the deck list (streak, daily average, best streak, % of the galaxy you control) and a slim progress bar along the bottom of Anki.
  • Original music and old-computer sound effects, all made by the add-on. Brightness, music and sound can be switched in Settings.

Deck list

Good to know

  • Only reads your review history. Never changes your cards, notes or scheduling.
  • Your save lives in your collection, so it syncs with AnkiWeb.
  • No internet connection needed and no data sent anywhere.
  • At 100โ€“200 reviews a day, conquering the galaxy takes about 3โ€“6 months.

๐Ÿšง More is coming

This is the first release, and the empire is still being built. New worlds, buildings, crew and events are on the way, and the game will keep growing with each update. Your save carries over, so nothing you build is lost. Ideas welcome!

Start: Tools โ†’ Per Aspera ad Astra, or click the panel on the deck list. The โš™ gear in the game has a full How to play guide.

Finished the galaxy, found a bug or have an idea? Email paaaankiaddon@gmail.com

Per aspera ad astra: through hardships, to the stars. Requires Anki 2.1.50+. Open source (AGPL-3.0).

README

Per Aspera ad Astra

Through hardships, to the stars. An Anki add-on game: every card you review earns credits for your galactic empire. Build up colonies, launch warships, recruit a crew and take the galaxy world by world.

How it plays

  • Every card you review earns credits. Spend them on buildings and warships. Buildings finish as you review more cards.
  • Conquer worlds. When your fleet is strong enough, attack the next world. Each one becomes a new colony. Take the Galactic Core to win.
  • Recruit a crew. Recruit pods give you crew members to put on duty in your buildings for bonuses. You get pods from levelling up, daily goals, conquests and raids.
  • Defend against raids. Every few days raiders come. Review enough cards that day to charge your shields.
  • Phone reviews count too. Cards done in AnkiMobile or AnkiDroid are counted after you sync. Nothing is ever counted twice, and which answer button you press makes no difference.
  • At 100โ€“200 cards a day, conquering the galaxy takes about 3โ€“6 months.

Open the game from Tools โ†’ Per Aspera ad Astra, or from the band on the deck list. The gear icon in the game has a full How to play guide.

Install

  1. Back up your collection first (File โ†’ Export โ†’ Anki Collection Package), or use a separate test profile.
  2. Download per_aspera_ad_astra.ankiaddon, or build it with python tools/package.py (it appears in dist/).
  3. In Anki: Tools โ†’ Add-ons โ†’ Install from fileโ€ฆ, choose the file, then restart Anki.

Needs Anki 2.1.50 or newer on desktop. The game window is desktop only; your phone just needs to sync.

While developing, link the repo into Anki instead (Tools โ†’ Add-ons โ†’ View Files shows the addons21 folder):

  • macOS/Linux: ln -s "$(pwd)" "<addons21 folder>/perasperaadastra"
  • Windows (admin prompt): mklink /D "<addons21 folder>\perasperaadastra" "<path to this repo>"

Restart Anki after each change.

Safety and privacy

  • Only reads your review log to count cards. It never changes your cards, notes, decks or scheduling.
  • Stores one game save (a few kilobytes) in your collection's settings, so it syncs with AnkiWeb.
  • Makes no network requests: fonts are bundled, and all music and sound is generated by the add-on in code (no recordings).
  • If a game error ever happens while you review, it is logged instead of interrupting you.
  • Uninstalling (Tools โ†’ Add-ons โ†’ Delete) removes it.

Settings

Tools โ†’ Add-ons โ†’ Per Aspera ad Astra โ†’ Config: tooltips while you review and the deck-list band. See config.md.

Contact

Finished the galaxy, found a bug or have an idea? Email paaaankiaddon@gmail.com.

Licence

AGPL-3.0-or-later (the same licence as Anki). Fonts: VT323 and IBM Plex Mono, SIL Open Font License (ui/web/fonts).

Development

  • python -m pytest runs the review-counting tests and, with Node installed, the rules and pacing tests.
  • node tools/simulate.js 100 150 200 shows how long conquest takes at those daily review counts.
  • Open ui/web/index.html in a browser to play a preview with test buttons (+20 cards, finish day, and so on).
  • All rules are in ui/web/econ.js; drawing and interface in ui/web/game.js.