Micropub is an open API standard that is used to create posts on one’s own domain using third-party clients.

Testing with Micropub.rocks and ngrok

I’ve found a convenient testing pattern where I can generate JWT tokens against my ‘live’ micropub server and use them to test a locally running instance

  • Log in to Quill using my live credentials
  • Navigate to Quill Settings and copy the access token.
  • Next, sign in to micropub.rocks
  • Add a new endpoint, switch to manual and paste the access token into the appropriate field
  • Start ngrok on your test machine ngrok http localhost:<port> and copy the endpoint
  • paste the full URL to the ngrok endpoint into micropub.rocks and click Add Endpoint.

Assuming that your local test environment and your ‘live’ test environment share the same IndieAuth app ID, you should now be able to make posts to your local test env using micropub.rocks.