Skip to content

Run Ankimo API outside protected Downloads - #16

Merged
Clearner1 merged 1 commit into
mainfrom
codex/ankimo-http-api
Aug 8, 2026
Merged

Run Ankimo API outside protected Downloads#16
Clearner1 merged 1 commit into
mainfrom
codex/ankimo-http-api

Conversation

@Clearner1

Copy link
Copy Markdown
Owner

What changed

  • copy the three dependency-free API runtime files into ~/Library/Application Support/Ankimo/runtime
  • launch Node from that runtime directory instead of the macOS privacy-protected Downloads checkout
  • refresh the runtime files before every automatic API restart

Root cause

Under launchd, Node blocked while opening TypeScript from Downloads even though the same command worked interactively. A process sample confirmed it never reached the API listener.

Evidence

  • a LaunchAgent using the Application Support runtime listens on 127.0.0.1:8787
  • /health returns 200
  • npm run check: 32 tests, ESLint, TypeScript, Knip, Vite build
  • bash -n deployment scripts
  • no E2E and no real card creation

@Clearner1
Clearner1 merged commit c087a54 into main Aug 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant