{"action":"created","issue":{"url":"https://api.github.com/repos/yudai/gotty/issues/33","labels_url":"https://api.github.com/repos/yudai/gotty/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/yudai/gotty/issues/33/comments","events_url":"https://api.github.com/repos/yudai/gotty/issues/33/events","html_url":"https://github.com/yudai/gotty/issues/33","id":102292934,"number":33,"title":"Allow clients to specify commnd","user":{"login":"yudai","id":33192,"avatar_url":"https://avatars.githubusercontent.com/u/33192?v=3","gravatar_id":"","url":"https://api.github.com/users/yudai","html_url":"https://github.com/yudai","followers_url":"https://api.github.com/users/yudai/followers","following_url":"https://api.github.com/users/yudai/following{/other_user}","gists_url":"https://api.github.com/users/yudai/gists{/gist_id}","starred_url":"https://api.github.com/users/yudai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yudai/subscriptions","organizations_url":"https://api.github.com/users/yudai/orgs","repos_url":"https://api.github.com/users/yudai/repos","events_url":"https://api.github.com/users/yudai/events{/privacy}","received_events_url":"https://api.github.com/users/yudai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yudai/gotty/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/yudai/gotty/milestones/2","html_url":"https://github.com/yudai/gotty/milestones/icebox","labels_url":"https://api.github.com/repos/yudai/gotty/milestones/2/labels","id":1259832,"number":2,"title":"icebox","description":null,"creator":{"login":"yudai","id":33192,"avatar_url":"https://avatars.githubusercontent.com/u/33192?v=3","gravatar_id":"","url":"https://api.github.com/users/yudai","html_url":"https://github.com/yudai","followers_url":"https://api.github.com/users/yudai/followers","following_url":"https://api.github.com/users/yudai/following{/other_user}","gists_url":"https://api.github.com/users/yudai/gists{/gist_id}","starred_url":"https://api.github.com/users/yudai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yudai/subscriptions","organizations_url":"https://api.github.com/users/yudai/orgs","repos_url":"https://api.github.com/users/yudai/repos","events_url":"https://api.github.com/users/yudai/events{/privacy}","received_events_url":"https://api.github.com/users/yudai/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2015-08-18T04:16:13Z","updated_at":"2015-08-23T15:42:34Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-08-21T04:04:28Z","updated_at":"2015-09-01T18:14:53Z","closed_at":null,"body":"I know, it's dangerous enough.\r\n\r\n## Option 1\r\nAllow send only arguments like run `gotty --permit-arguments tailf` then, access `http://server.exmple.com:8080/%2Fvar%2Flog%2Fsyslog` (/var/log/syslog).\r\n(Need to take care of shell meta characters not to permit using pipe and redirects)\r\n\r\n## Option 2\r\nFreedom mode like `gotty --freedom` then, access `http://server.example.com:8080/tailf+%2Fvar%2Flog%2Fsyslog`.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yudai/gotty/issues/comments/136816189","html_url":"https://github.com/yudai/gotty/issues/33#issuecomment-136816189","issue_url":"https://api.github.com/repos/yudai/gotty/issues/33","id":136816189,"user":{"login":"Arno0x","id":10797139,"avatar_url":"https://avatars.githubusercontent.com/u/10797139?v=3","gravatar_id":"","url":"https://api.github.com/users/Arno0x","html_url":"https://github.com/Arno0x","followers_url":"https://api.github.com/users/Arno0x/followers","following_url":"https://api.github.com/users/Arno0x/following{/other_user}","gists_url":"https://api.github.com/users/Arno0x/gists{/gist_id}","starred_url":"https://api.github.com/users/Arno0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arno0x/subscriptions","organizations_url":"https://api.github.com/users/Arno0x/orgs","repos_url":"https://api.github.com/users/Arno0x/repos","events_url":"https://api.github.com/users/Arno0x/events{/privacy}","received_events_url":"https://api.github.com/users/Arno0x/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T18:14:53Z","updated_at":"2015-09-01T18:14:53Z","body":"Out of interest, here is TermGate, a GoTTY wrapper in PHP, which might suit your needs: https://github.com/Arno0x/TermGate"}}