{"action":"created","issue":{"url":"https://api.github.com/repos/ninja-build/ninja/issues/1112","repository_url":"https://api.github.com/repos/ninja-build/ninja","labels_url":"https://api.github.com/repos/ninja-build/ninja/issues/1112/labels{/name}","comments_url":"https://api.github.com/repos/ninja-build/ninja/issues/1112/comments","events_url":"https://api.github.com/repos/ninja-build/ninja/issues/1112/events","html_url":"https://github.com/ninja-build/ninja/pull/1112","id":136544992,"number":1112,"title":"browse tool: Allow customization of port number, Py3 fix","user":{"login":"Lekensteyn","id":164530,"avatar_url":"https://avatars.githubusercontent.com/u/164530?v=3","gravatar_id":"","url":"https://api.github.com/users/Lekensteyn","html_url":"https://github.com/Lekensteyn","followers_url":"https://api.github.com/users/Lekensteyn/followers","following_url":"https://api.github.com/users/Lekensteyn/following{/other_user}","gists_url":"https://api.github.com/users/Lekensteyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Lekensteyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lekensteyn/subscriptions","organizations_url":"https://api.github.com/users/Lekensteyn/orgs","repos_url":"https://api.github.com/users/Lekensteyn/repos","events_url":"https://api.github.com/users/Lekensteyn/events{/privacy}","received_events_url":"https://api.github.com/users/Lekensteyn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-25T23:27:19Z","updated_at":"2016-03-11T23:29:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ninja-build/ninja/pulls/1112","html_url":"https://github.com/ninja-build/ninja/pull/1112","diff_url":"https://github.com/ninja-build/ninja/pull/1112.diff","patch_url":"https://github.com/ninja-build/ninja/pull/1112.patch"},"body":"Note: the environment variable is named `PORT`, but could also be renamed if you'd like.\r\n\r\nI use this tool also remotely over SSH where I set the `BROWSER=true` environment variable to avoid lynx from popping up. Is that information worth adding to the manual (it is part of the Python webbrowser package)?"},"comment":{"url":"https://api.github.com/repos/ninja-build/ninja/issues/comments/195602276","html_url":"https://github.com/ninja-build/ninja/pull/1112#issuecomment-195602276","issue_url":"https://api.github.com/repos/ninja-build/ninja/issues/1112","id":195602276,"user":{"login":"Lekensteyn","id":164530,"avatar_url":"https://avatars.githubusercontent.com/u/164530?v=3","gravatar_id":"","url":"https://api.github.com/users/Lekensteyn","html_url":"https://github.com/Lekensteyn","followers_url":"https://api.github.com/users/Lekensteyn/followers","following_url":"https://api.github.com/users/Lekensteyn/following{/other_user}","gists_url":"https://api.github.com/users/Lekensteyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Lekensteyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lekensteyn/subscriptions","organizations_url":"https://api.github.com/users/Lekensteyn/orgs","repos_url":"https://api.github.com/users/Lekensteyn/repos","events_url":"https://api.github.com/users/Lekensteyn/events{/privacy}","received_events_url":"https://api.github.com/users/Lekensteyn/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T23:29:05Z","updated_at":"2016-03-11T23:29:05Z","body":"I went ahead and replaced the PORT env var with --port and also added a --no-browser option. The initial command is also made optional (using `all` instead as default, matches the behavior of invoking `ninja` without options)."}}