{"id":16244451,"url":"https://github.com/piranna/oneshoot","last_synced_at":"2025-09-13T18:32:41.734Z","repository":{"id":40395828,"uuid":"46669485","full_name":"piranna/oneshoot","owner":"piranna","description":"WebSockets and static web server for just one request","archived":false,"fork":false,"pushed_at":"2023-12-15T11:49:59.000Z","size":15,"stargazers_count":3,"open_issues_count":8,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-29T23:53:28.951Z","etag":null,"topics":["nodeos"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piranna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-22T16:42:14.000Z","updated_at":"2024-06-21T09:39:34.447Z","dependencies_parsed_at":"2024-06-21T09:39:32.307Z","dependency_job_id":"bf975de7-6a58-49a1-ba38-dadf2e87ff31","html_url":"https://github.com/piranna/oneshoot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piranna%2Foneshoot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piranna%2Foneshoot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piranna%2Foneshoot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piranna%2Foneshoot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piranna","download_url":"https://codeload.github.com/piranna/oneshoot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232902856,"owners_count":18594353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nodeos"],"created_at":"2024-10-10T14:19:14.056Z","updated_at":"2025-01-07T15:56:42.986Z","avatar_url":"https://github.com/piranna.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oneshoot\nWebSockets and static web server for just one request\n\nThis is a WebSocket and a static web server that gets clossed 5 second after the\nlast connection was clossed. The delay is introduced to reuse previous instances.\nThis is used on NodeOS to start to serve the users files and give them an\ninteractive shell session from inside a secure environment instead of using a\nglobal web server.\n\nThink of it as a web server started on demand from another web server as CGI to\nserve a particular subpath :-P\n\n## options\n\n* **hostname**: address from only accept connections. Default: any\n* **port**: port where to listen for connections. The used port will be printed\n  on *stdout*. Default: random\n* **timeout**: seconds to wait before exiting the server for new incomming\n  connections, if set to zero it doesn't exit. Default: 5 seconds\n* **command**: command to exec for interactive WebSocket sessions. If not set\n  WebSocket server will be disabled\n\nAny arguments after '--' will be passed as arguments array to the *command* used\nfor WebSocket sessions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiranna%2Foneshoot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiranna%2Foneshoot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiranna%2Foneshoot/lists"}