Skip to content

Make plannotator binary point to custom URL when invoked by Claude Code #12

Closed

Description

@ffmmjj

Hey, thanks a lot for having created this tool, Ive been really enjoying it so far!

I was wondering if it there's a recommended way to make the plannotator binary point to an URL other than localhost and make it able to open plans from Claude Code correctly (I'm not sure if the current architecture assumes that the plan must be present as a local file, etc.). I saw that there's an env var to change the port where it runs but couldn't find any to customize the URL.

I'm asking about this because I've been thinking about hosting this somewhere of my own and be able to share its URL with other people when needed - for instance, I'd like to be able to run Claude Code in my own terminal, make it create a plan, open it in that custom URL, make annotations and then share that URL with someone else so that they don't need to run their own local instance of plannotator or open it in https://share.plannotator.ai.

Is it something that you'd like to support eventually? I took a look at the license you chose for this project and it seems to allow that use case, and I couldn't find you mentioning that you'd like to have paid plans for this use case so far.

Activity

  1. backnotprop commented on Jan 2, 2026

    @backnotprop
    Owner

    Hey @ffmmjj

    Do you mean something like this:

    1. Run Plannotator on https://plannotator.mycompany.com instead of localhost
    2. Have teammates open the same URL to see the plan
    

    And if so, what type of preferred hosting would you want? Like deployment scripts for Kubernetes? Well, it's actually a very simple deployment. All it is is a static site. So like internal static hosting, really, I guess. Any preferred cloud?

  2. ffmmjj commented on Jan 3, 2026

    @ffmmjj
    Author

    Thanks for the quick response, @backnotprop (and sorry for taking so long to get back to you, but well, holidays 🤷‍♂️).

    I meant exactly what you described above. I noticed that I could try to override some variables in the code to make the scripts point to another URL but I was wondering if there was an easier or recommended way to do it.
    I was thinking maybe a k8s pod but since this works as a static site, I could try hosting it on S3.

    Should I just change these URLs in the code, then?

  3. backnotprop commented on Jan 3, 2026

    @backnotprop
    Owner

    @ffmmjj thanks for the details, I'll look into this. Maybe the first iteration I'll just allow you to set that URL. And then look at hosted config.

  4. added a commit that references this issue on Feb 12, 2026
    d0ea05f
  5. backnotprop commented on Feb 12, 2026

    @backnotprop
    Owner

    This is addressed in PR #146 — adds a PLANNOTATOR_SHARE_URL environment variable so all generated share links point to your own domain:

    export PLANNOTATOR_SHARE_URL=https://plannotator.mycompany.com

    The portal is a static SPA with no backend, so self-hosting is just building and uploading to any static host (S3, Nginx, Vercel, etc.). A self-hosting guide is included at apps/portal/SELF-HOSTING.md.

    Also: the project has been relicensed from BSL-1.1 to dual MIT / Apache-2.0 (#144), so self-hosting and forking are fully open source.

    Should land in the next release.

  6. added a commit that references this issue on Feb 12, 2026
    0b47dd5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions