Offline Kit
← Blog

Find a saved passage offline

Try your first offline lookup at your desk, while you can still reconnect if you need a missing file.

· Field guide

Start with Offline Kit running on your Mac and the kit drive plugged in. If you haven’t launched the app yet, follow the setup guide. Leave its Terminal window open. In a second Terminal window, open the project directory that contains the kit’s Makefile.

1. Download one reference while online

The survival pack includes a short PDF, FEMA’s Emergency Supply List. For this exercise you’ll look up one line in the February 2021 edition. Review the source, file destination, and storage allowance first.

make content-plan PACK_OVERRIDE=survival

Check that the plan says Selected: survival and lists fema-emergency-supply-list.pdf. Then install it with a 10 MB transfer cap. The plan lists disk space separately.

make content-install PACK_OVERRIDE=survival MAX_GB=0.01

Wait for State: completed and a receipt. If the publisher is unavailable or the transfer fails, stay connected and retry the install before continuing.

2. Index the PDF

make index

Wait for the catalog summary. An unchanged file is fine if you’ve already indexed it. You can find the original PDF in the project’s knowledge/survival/ folder.

3. Find the line offline

Disconnect Wi-Fi and any wired internet connection. Keep the app running and the drive attached.

  1. In Offline Kit’s main navigation, choose Search.
  2. In Search your local catalog, enter can opener and press Return.
  3. Under fema-emergency-supply-list.pdf, expand View matching passage. The Indexed text preview includes “Can opener (if kit contains canned food).” Open the saved PDF in Finder to compare the wording.

If the result is missing, set Content type to All types, Readiness to Any readiness, and Source to All sources. To check the index directly, run this in the same Terminal window:

make search Q="can opener"

Look for the PDF’s path and the matching words. If they’re missing there too, confirm the install completed and run make index again.

← Back to the blog