Nostr-Compatible Marketplace Inbox Engine

Run Nomister

Use Nomister on this Mac without Cloudflare

With the Mac connected, run corepack pnpm web:local in the repository. Open http://localhost:3000/inbox in Chrome. The local website uses your existing Mac Gateway, accounts, and database.

On first launch, choose a local Settings password at the hidden prompt. It is stored in macOS Keychain and reused. Enter it in Settings to unlock replies and account controls. The launcher returns to the shell; you can close the terminal. Use corepack pnpm web:local:stop to stop just the website. Your Mac messaging services keep running.

After pulling this update, run corepack pnpm machine:install once so the Mac helper recognizes the localhost website.

The inbox shows Service Status below Filters: Gateway & projection worker, Agent, and Cloudflare tunnel. Green means the relevant check passed, red means stopped or unhealthy, and gray means the check is unavailable. If an inbox refresh fails, the last loaded view stays visible with a refresh-delay note while it retries.

After pulling a helper startup or health-check update, disconnect local services, run corepack pnpm machine:install, then reconnect once to load the updated helper.

Account Status sits between Filters and Service Status. Each account has a green or red light. Green means recent inbox checks succeeded; red means the account is paused, a refresh failed, or recent health cannot be confirmed. Hover over or focus an account for details. During quiet hours the lights are red and a shared message shows when checks resume in your configured time zone.

Use Pause beside an account to stop its messaging, or Resume to enable it again. Unlock Nomister in Settings first. Controls require a fresh status from that account’s Mac Agent. Quiet hours still apply after Resume. If an account needs to sign in again, open its account controls in Settings.

The website runs on Vercel. Messages can be stored in Neon or local PostgreSQL. The Gateway and projection worker can run on your Mac or Render when using Neon; local PostgreSQL uses the Mac Gateway. The Agent and your Facebook, OfferUp, Mercari and Craigslist browsers always stay on your Mac.

For a configured Mac, use the homepage to start local services and Settings to choose the active Gateway. These are separate controls: Connect starts services; Switch gateway changes which host serves Nomister.

Commands below assume your existing checkout is in $HOME/_NOMISTER/nomister. Preserve its paired data directory, profiles, keys and saved settings.

Connect / disconnect · Install the helper · Switch gateways · Switch databases · Message retention · Hide conversations · Calendar · Follow-ups · Remove accounts · Updates · Manual Agent startup · Browser capacity · Standalone worker

Connect and disconnect this Mac

  1. Open the Nomister homepage on the Mac with the installed helper.
  2. Click Connect this Mac. This starts the Gateway with its projection worker, the Cloudflare tunnel, and the Agent using its saved startup settings, all in the background. Open Settings → Service Logs on the local website to view their output.
  3. Use Check status to inspect those local services. To stop them, click Disconnect: the Agent stops first, then Gateway/worker, then the tunnel. The local website stays open.

Closing the webpage does not stop the services. Use Disconnect to stop messaging services. Use corepack pnpm web:local:stop to stop the local website.

Only the lightweight helper starts at login. After restarting your Mac, click Connect again. Keep the Mac awake and online while receiving messages, even when Render serves the Gateway.

Disconnect also stops the Agent when Render is selected. It does not switch hosting to Render. Local service status describes running processes; it does not prove that every provider is connected or that new messages have reached the inbox.

Install the Mac helper once

This is for an existing configured installation. You need Node 24, cloudflared, the private Gateway/hosting settings, and a working named Cloudflare tunnel. If those are not set up, follow the Gateway setup guide first. Do not initialize another Agent or pair again.

  1. Stop any manually running Agent, then Gateway/worker, then tunnel with Ctrl+C in their original service terminals. Wait for the Agent’s browser windows to close.
  2. Update and build the existing checkout:
    cd "$HOME/_NOMISTER/nomister" &&
    git pull --ff-only &&
    corepack pnpm hosting:prepare
    If dependencies or the lockfile changed, install frozen dependencies before preparing.
  3. In your configured Agent terminal, run your usual complete Agent command once, then stop it with Ctrl+C. The launcher saves the actual data directory, all selected receiver flags, reply/history/setup choices and browser capacity. Do not replace your normal command with a Facebook-only example.
  4. Install the helper:
    cd "$HOME/_NOMISTER/nomister" &&
    corepack pnpm machine:install
  5. Return to the homepage and click Connect this Mac. Allow Nomister’s local-network access in your browser if requested.

The helper uses .nomister/cloudflared/nomister-gateway.yml in this checkout, for the named tunnel nomister-gateway. A different existing file can be passed with machine:install --tunnel-config /absolute/path/to/file.yml. Keep tunnelName: null in the private Gateway configuration so the helper launches the tunnel only once.

Settings and logs stay under the ignored .nomister/local-machine folder in your checkout. macOS also needs a small login registration. Existing Agent data, Keychain entries and browser profiles stay in their existing locations.

To keep existing Cloudflare files and disposable test database settings inside your checkout, Disconnect first, pull the latest code, then run corepack pnpm machine:move-files and corepack pnpm machine:install. Reconnect afterward. The files move into the ignored .nomister directory. The command updates the tunnel’s credential and certificate paths, then removes home-directory compatibility links created by the earlier version. No new links are created. Credentials and test settings stay unchanged, as do the database, pairing and browser profiles. When running Cloudflare commands manually, pass the repository configuration explicitly with --config; source test settings from .nomister/test-db.env.

If the helper is already installed and only its code changed, pull and run corepack pnpm machine:install again. Its running service jobs can stay up. Wait for an active gateway switch to finish first.

Switch between Local macOS and Render

Both gateways must be reachable, use matching builds and private settings, and have hosting mode enabled. Their projection workers must also use the hosting gate. Restore and update an old Render installation before starting it; a legacy ungated service cannot safely participate. See the deployment prerequisites.

  1. Keep the Mac services and Agent running. Bring the configured Render Gateway and worker online too.
  2. Open Settings → Gateway on the Mac with the helper. Click Check gateways. This shows the current gateway and whether Local macOS and Render are reachable.
  3. To move from the Mac to Render, choose Render and click Switch gateway. To move back, choose Local macOS and use the same button.
  4. Keep both gateways, the tunnel and Agent running until the switch finishes. Pending commands are allowed to finish and the Agent reconnects through the same permanent address. Connect/Disconnect and helper updates are blocked while the helper is switching.
  5. Check the reported current gateway, newer messages in the inbox and one deliberate manual reply on the provider’s website. A switch itself does not send a provider message.

The website address, shared Neon database, Agent identity, account profiles and message history stay in place. Do not change the Agent endpoint, rotate keys or pair again for a normal switch. Keep standby services available for a later handover.

If Render is unavailable, the normal switch is blocked. There is no forced offline switch in Settings. An offline disaster-recovery command is a separate operator procedure, not a way to bypass a failed handover check.

If a switch is interrupted, check status and use Resume switch for its original destination. A lost response can follow a successful transfer. Do not blindly switch back, delete the operation journal or retry an uncertain marketplace reply.

If Settings asks you to update the helper, pull the latest code and run corepack pnpm machine:install, then Check gateways again. A different version/settings warning requires matching builds and configuration on both hosts.

Switch between Neon and local PostgreSQL

Settings → Database copies your latest data between Neon and a private PostgreSQL cluster in your Nomister checkout. Messaging pauses while data is copied and verified. Your pairing, profiles, inbox history, read state and command outcomes are preserved. Local PostgreSQL requires the Local macOS gateway. Switch back to Neon before choosing Render; keep Render stopped while local PostgreSQL is selected.

  1. Select the Mac gateway, finish any pending gateway switch, and Disconnect on the homepage. PostgreSQL 16, 17 or 18 binaries must be installed. If none is installed, use brew install postgresql@17. Nomister manages its own cluster; a Homebrew database service is not needed for it.
  2. Update, build and reinstall the helper:
    cd "$HOME/_NOMISTER/nomister" &&
    git pull &&
    corepack pnpm install --frozen-lockfile &&
    corepack pnpm hosting:prepare &&
    corepack pnpm machine:install
  3. Prepare both database copies. This saves the existing Neon settings, creates a separate local production database and deploys migrations without resetting your data:
    cd "$HOME/_NOMISTER/nomister" &&
    corepack pnpm database:init &&
    corepack pnpm database:local:init &&
    corepack pnpm database:prepare
  4. Deploy the updated Cloudflare router once with your existing private configuration. No new tunnel or domain is needed:
    cd "$HOME/_NOMISTER/nomister" &&
    corepack pnpm dlx wrangler@4 deploy \
      --config .nomister/cloudflare/wrangler.jsonc \
      --secrets-file .nomister/cloudflare/secrets.json
  5. Connect this Mac again; it still uses Neon. In Settings → Database, click Check databases, choose the destination, then Switch database. Keep the Mac awake and both copies reachable until it finishes. The configured local server can start on demand.

Settings shows the current stage and an animated progress bar, with live megabytes exported when the helper supports it. The total export size is not known in advance, so this is not a percentage or remaining-time estimate. Wait until the current transfer finishes before updating the helper.

The previous copy stays inactive. Switching back copies the latest current data rather than reusing an old snapshot. A pending switch must be resumed to its original destination. Do not clear its journal, reset a database or re-pair the Agent to recover from an interruption. Check status with corepack pnpm database:status.

Local database files and private backups stay in the ignored.nomister folder. The existing disposable-test database and test-db.env are separate. Connect starts the local production server when needed, and Disconnect stops it after the other services. A database switch keeps it running for the transfer. After disconnecting services, use corepack pnpm database:local:stopto stop that owned server explicitly.

Remove an unused account

Unlock Nomister in Settings, then use the trash button beside an account in Account Status. A confirmation dialog shows the label and exact account ID. Choose Cancel or press Escape to leave it unchanged, or confirm Remove account. Duplicate labels show short IDs to help distinguish them.

Removal pauses the account and removes it from the inbox, filters and account lists. Stored history, read state, follow-up flags and the browser profile are kept, subject to normal retention settings. The immediate Undo removal action restores the entry in a paused state.

Every paired Mac Agent must be online so Nomister can confirm which registration to pause. Connect an offline Agent, or revoke a retired device in Devices. An active login, pending reply, incomplete report or conflicting ownership can prevent removal. A failed attempt may have paused the account; wait, refresh and retry. Removing a Nomister entry does not delete the marketplace account itself.

Schedule buyer pickups

Open the calendar icon before Inbox for Day, Week and Month views. Unlock Nomister in Settings first. Choose + Pickup to add a buyer, item, agreed price, Pacific date/time, meeting address and notes. Multiple pickups can share a time. In a conversation, Schedule pickup fills the buyer, item, displayed price and account; review the agreement and choose its address. Upcoming planned pickups appear there with Edit and Open in calendar.

Use Meeting locations to save reusable addresses. Each pickup keeps its saved price and address when the listing or saved location changes. Open an entry to edit it, set Completed, Cancelled or No-show, or delete with confirmation. Show cancelled reveals cancelled entries.

+ Unavailable blocks a period when you are away, optionally repeating weekly until a chosen date. New pickups cannot overlap it. Existing affected pickups remain saved with Needs rescheduling. Weekly edits apply to the entire series. All times use Pacific time; the exact end of an unavailable period is available again.

Calendar entries survive account removal and message cleanup. A planned linked pickup today or in the future protects its conversation from age-based cleanup until that date passes or its status changes. Follow-up flags stay separate. Scheduling does not send buyer messages or notifications.

After pulling the calendar update, Disconnect the Mac, run corepack pnpm hosting:prepare and corepack pnpm database:migrate, then Connect. Both registered database profiles must be reachable. Restart the localhost Web terminal too. This feature requires the Mac runtime and additive migration, not only a Web deploy. See the calendar guide for full upgrade instructions.

Follow up later

Click the flag beside a conversation to save it for follow-up. Click the filled flag to clear it. Open the small arrow below a filled flag to choose Today, Tomorrow, This weekend, a custom date, or keep the flag without a date. This weekend appears Monday–Friday and sets the follow-up for the coming Saturday using Pacific time. The same controls are available inside a conversation.

The Follow-ups tab shows all flagged conversations, including hidden ones, with the earliest dates first and undated flags last. Dates use Pacific time. Follow-up labels show today, tomorrow, a weekday for 2–6 days away, or a date for 7 or more days away. Past dates show Overdue. Reading, replying, receiving messages, or hiding a conversation does not clear its flag.

Flagged conversations are protected from age-based cleanup until you clear the flag. These reminders stay in Nomister; they do not send notifications or messages to buyers.

Hide a conversation until someone messages again

Choose Hide next to the availability button in the inbox, or choose Hide conversation inside an open conversation. Its history stays in Nomister. Open the Hidden tab to find it and choose Restore to inbox inside the conversation to bring it back manually.

A new incoming message returns the conversation to the main inbox. Old history, message edits and outgoing replies leave it hidden. Hiding does not mark messages read or change the original provider conversation.

Clean up inactive conversations

In Settings → Storage & retention, unlock Nomister and click Check retention. The default is 30 days; you can choose 7, 90, 365 days or Forever. Age uses the conversation’s last message date. Active conversations keep their full history. Click Preview cleanup to review the cutoff and counts, then Save retention setting to activate it. Saving with automatic cleanup enabled starts the first cleanup, then runs daily. You can also preview and Clean up now.

Cleanup affects Nomister inbox history and processed message-event bodies. Pending work is protected. Marketplace messages, Agent history, send/audit records and existing transfer backups stay separate. Empty conversations disappear until a new retained message arrives. Increasing the period does not restore removed history.

For an existing Neon/local database installation, finish any pending switch, select the Mac Gateway and Disconnect before upgrading both registered schemas. Keep Neon reachable:

cd "$HOME/_NOMISTER/nomister" &&
git pull &&
corepack pnpm install --frozen-lockfile &&
corepack pnpm hosting:prepare &&
corepack pnpm machine:install &&
corepack pnpm database:migrate

Connect again, then preview and save retention. The migration keeps your current database selected. Without database-switch profiles, use your existing Gateway migration command instead.

Update or diagnose local services

For a runtime update, Disconnect first, pull the new code, install frozen dependencies if needed, run corepack pnpm hosting:prepare, then Connect. Reinstall the helper as well if its code or installed Node path changed. A web-only deployment does not rebuild or restart the Mac or Render processes.

To change saved Agent options, Disconnect, start the Agent once manually with its full updated command and existing data directory, stop it, then Connect. Browser exports in another terminal do not change the helper’s saved settings.

cd "$HOME/_NOMISTER/nomister" &&
corepack pnpm machine:status

The same helper also supports machine:connect and machine:disconnect. Use hosting:status --host mac when Render is offline, or hosting:status to compare both gateways. A ready Agent and an empty upload backlog do not by themselves prove projection or provider delivery.

View recent logs in Settings → Service Logs on the local website after unlocking Settings. If the helper is unreachable, check browser local-network permission and the helper installation. Logs are .nomister/local-machine/helper.log, gateway.log, tunnel.log and agent.log; do not share raw credentials or private configuration files.

To remove the helper, run corepack pnpm machine:uninstall. It first stops its managed services and retains private settings, Agent identity and profiles. Uninstall before moving the checkout, then install again at its new location.

Craigslist email through iCloud

Keep your current Craigslist forwarding address. On your Mac, run the following to connect iCloud, choose the incoming and Sent folders, and select an initial history window:

corepack pnpm agent:local:email-setup

Enter an Apple app-specific password only at the hidden local terminal prompt. Setup checks the selected folders and SMTP sign-in without sending a message, then saves a paused account. Reconnect the Mac Agent, unlock Settings, and Resume the account under Craigslist email. No new receiver flags are needed; preserve all existing browser-account startup settings.

Email and chat appear as separate accounts. Manual email replies use your iCloud address and the buyer’s Craigslist relay. Quiet hours apply. Imported originals keep their iCloud read status. Open original attachments in iCloud; email auto-replies are off.

Manual Agent startup

Use this fallback when services are not managed by the helper, or when recording new Agent settings. Disconnect managed services first. In a fresh terminal, restore the actual NOMISTER_DATA_DIR and your existing receive/send/history/setup settings before running anything.

The following is a Facebook-only example. Keep your full normal command when you use other providers:

cd "$HOME/_NOMISTER/nomister" &&
corepack pnpm agent:local:run --facebook-playwright-receive

The other receiver flags are --offerup-playwright-receive, --mercari-playwright-receive and --craigslist-playwright-receive. Receiving does not enable sending. Preserve the separate Facebook, OfferUp and Craigslist send opt-ins; Mercari sending is not exposed.

Rebuild with corepack pnpm agent:local:prepare after an Agent/dependency update. To allow Facebook registration/login from Settings, also retain NOMISTER_FACEBOOK_PLAYWRIGHT_ACCOUNT_SETUP_ENABLED=true. Keep the configured history and browser-capacity options.

Facebook’s blue profile badge and tab label identify the intended Nomister account, not the identity currently signed in. Sign into the matching account. “Paired” means registered, not necessarily online.

A manual Mac-hosted stack uses three service terminals: hosting:local:run starts Gateway and worker together, cloudflared runs the configured tunnel separately, and the Agent uses your full command. Do not also start a standalone projection worker.

Facebook browser capacity

NOMISTER_FACEBOOK_PLAYWRIGHT_MAX_BROWSERS defaults to 20 and accepts 1–20. Facebook receivers and manual logins share these slots. Keeping A and B active while logging into C needs at least 3. Paused accounts use no slot; registered-account count is separate.

For a manual Agent, stop it with Ctrl+C. For a helper-managed Agent, Disconnect. Then start the Agent with its complete existing command and the new capacity setting:

cd "$HOME/_NOMISTER/nomister" &&
export NOMISTER_FACEBOOK_PLAYWRIGHT_MAX_BROWSERS=20
# Run your usual complete Agent command in this same configured terminal.

When using the helper, stop that manual run after it records the settings, then Connect. Otherwise, save the export in your usual startup script or explicitly loaded environment file. The launcher does not automatically read an arbitrary .env file.

A higher ceiling does not create empty browsers, but enabled accounts can fill it and use memory/CPU. Active or uncertain slot owners block capacity-policy changes. This is a Mac Agent setting, not a Vercel or Render variable; it does not set a combined four-provider limit.

Standalone projection worker: advanced fallback

This launcher is for the separately configured standalone topology. The homepage helper and hosting:local:run already start a hosting-aware worker. Do not run this additional worker alongside them, or substitute an ungated worker into a hosting-switch deployment.

cd "$HOME/_NOMISTER/nomister" &&
corepack pnpm projection-worker:local:run

Run validates its private configuration automatically. Its default file is .nomister/projection-worker.env in the checkout; an existing $HOME/.nomister/projection-worker.env remains a legacy fallback until moved. Copies at both defaults are rejected. An explicit --config /absolute/path/to/file is supported.

After a worker/dependency update, use corepack pnpm projection-worker:local:prepare. Stop a standalone foreground worker with Ctrl+C and wait for clean exit. Preserve its stable worker ID. An idle queue does not prove that a worker is alive.