{"id":19208052,"url":"https://github.com/ubuntu/simple-webserver-part","last_synced_at":"2025-05-12T18:49:56.902Z","repository":{"id":83295189,"uuid":"81839893","full_name":"ubuntu/simple-webserver-part","owner":"ubuntu","description":"Snapcraft simple webserver part","archived":false,"fork":false,"pushed_at":"2017-02-13T16:27:25.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T06:02:23.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ubuntu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-02-13T15:28:35.000Z","updated_at":"2022-08-26T06:11:50.000Z","dependencies_parsed_at":"2023-07-02T09:01:28.085Z","dependency_job_id":null,"html_url":"https://github.com/ubuntu/simple-webserver-part","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/ubuntu%2Fsimple-webserver-part","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fsimple-webserver-part/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fsimple-webserver-part/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fsimple-webserver-part/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ubuntu","download_url":"https://codeload.github.com/ubuntu/simple-webserver-part/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249918460,"owners_count":21345358,"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":[],"created_at":"2024-11-09T13:23:59.157Z","updated_at":"2025-04-20T15:33:47.117Z","avatar_url":"https://github.com/ubuntu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-webserver-part\nSnapcraft simple webserver part\n\n## Usage:\n\nIn your snapcraft.yaml:\n\n1. Just have one of your snapcraft part defining:\n`after: [simple-webserver]`\n1. Then, spawn a service with it, with the part relative to your snap to serve:\n```\napps:\n  my-server:\n    command: webserver www\n    daemon: simple\n    restart-condition: always\n    plugs: [network-bind]\n\n```\n\nHere, `www` is relative to **$SNAP** from your own snap.\n\nYou can change the default port (*8080*) with the `-p` option, for instance:\n`command: webserver -p 9001 www`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubuntu%2Fsimple-webserver-part","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubuntu%2Fsimple-webserver-part","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubuntu%2Fsimple-webserver-part/lists"}