{"id":22518409,"url":"https://github.com/nbari/www","last_synced_at":"2025-08-20T18:31:54.187Z","repository":{"id":57607805,"uuid":"73541993","full_name":"nbari/www","owner":"nbari","description":"web server for static content","archived":false,"fork":false,"pushed_at":"2024-07-22T17:22:36.000Z","size":88,"stargazers_count":51,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-07T04:15:31.863Z","etag":null,"topics":["ecc","elliptic-curves","hacktoberfest","http-server","https","https-server","letsencrypt","server","ssl","static-server","static-site","static-website","tls","www"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nbari.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"nbari"}},"created_at":"2016-11-12T08:50:49.000Z","updated_at":"2024-07-22T17:20:14.000Z","dependencies_parsed_at":"2023-12-16T08:26:18.279Z","dependency_job_id":"b469b82a-7cea-4f4f-9012-87d1d6981e18","html_url":"https://github.com/nbari/www","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbari%2Fwww","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbari%2Fwww/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbari%2Fwww/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbari%2Fwww/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbari","download_url":"https://codeload.github.com/nbari/www/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230445926,"owners_count":18227060,"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":["ecc","elliptic-curves","hacktoberfest","http-server","https","https-server","letsencrypt","server","ssl","static-server","static-site","static-website","tls","www"],"created_at":"2024-12-07T04:15:34.327Z","updated_at":"2024-12-19T14:06:31.521Z","avatar_url":"https://github.com/nbari.png","language":"Go","readme":"# www\n\nStatic web server\n\n[![download](https://img.shields.io/github/v/release/nbari/www)](https://github.com/nbari/www/releases)\n[![Go Report Card](https://goreportcard.com/badge/github.com/nbari/www)](https://goreportcard.com/report/github.com/nbari/www)\n\nLinux precompiled binaries\n\n[![deb](https://img.shields.io/badge/deb-packagecloud.io-844fec.svg)](https://packagecloud.io/nbari/www)\n[![rpm](https://img.shields.io/badge/rpm-packagecloud.io-844fec.svg)](https://packagecloud.io/nbari/www)\n\n## Install on mac:\n\n    $ brew tap nbari/homebrew-www\n\nnext\n\n    $ brew install www\n\n## Install on FreeBSD:\n\nTo install the port:\n\n    $ cd /usr/ports/www/go-www/ \u0026\u0026 make install clean\n\nTo add the package:\n\n    $ pkg install go-www\n\n\n# Why ?\n\nBecause of the need to share, test via HTTP the contents of a directory.\n\n\n# How it works\n\nBy typing ``www`` will start a web server and use as a document root the\ndirectory where the command was call, a different document root may be specified\nby using the ``-r`` option, for example:\n\n    $ www -r /tmp\n\nBy default  **www** listen on port 8000, this can be changed by using the ``-p`` option:\n\n    $ www -p 80 (may need root privilages)\n\n\nIf TLS is required use the option `-s` and a domain name, for example:\n\n    $ www -s example.com\n\nThis will try to get a valid certificate by using letsencrypt but the port will always be 443\n\nWhen using the ``-s`` use ``https`` option on the browser.\n\nExample using tls and document root on port 8080:\n\n    $ www -s localhost -r /tmp -p 8080\n","funding_links":["https://github.com/sponsors/nbari"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbari%2Fwww","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbari%2Fwww","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbari%2Fwww/lists"}