{"id":19336743,"url":"https://github.com/samrocketman/simplehttpsserver","last_synced_at":"2026-06-13T13:32:42.901Z","repository":{"id":11773653,"uuid":"14311300","full_name":"samrocketman/SimpleHTTPSServer","owner":"samrocketman","description":"A hacked version of Python SimpleHTTPServer to provide quick HTTPS file sharing.","archived":false,"fork":false,"pushed_at":"2020-10-18T07:11:41.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-06T10:13:24.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/samrocketman.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}},"created_at":"2013-11-11T19:48:16.000Z","updated_at":"2015-02-17T04:00:39.000Z","dependencies_parsed_at":"2022-09-24T05:00:47.161Z","dependency_job_id":null,"html_url":"https://github.com/samrocketman/SimpleHTTPSServer","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/samrocketman%2FSimpleHTTPSServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocketman%2FSimpleHTTPSServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocketman%2FSimpleHTTPSServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocketman%2FSimpleHTTPSServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samrocketman","download_url":"https://codeload.github.com/samrocketman/SimpleHTTPSServer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240441953,"owners_count":19801793,"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-10T03:12:19.571Z","updated_at":"2026-06-13T13:32:37.878Z","avatar_url":"https://github.com/samrocketman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleHTTPSServer\r\n\r\nIt's like a secure pastebin but for files!  Run this command anywhere and you instantly have secure file sharing (assuming you set up signed certificates before hand) based on the current working directory of the command.  Also be aware that port `8000` will be open for all interfaces so it is assumed you will lock your system down with a firewall and only share to specific IP addresses or IP ranges using a firewall like iptables.\r\n\r\n## Prerequisites\r\n\r\nIn addition to Python 2.6 or Python 2.7 you need to have [pyOpenSSL installed](https://launchpad.net/pyopenssl/)\r\n\r\n## Installation\r\n\r\nCopy the version of `SimpleHTTPSServer` you want to use to the python modules directory.  e.g.\r\n\r\n    cp SimpleHTTPSServer.py /usr/lib/python2.7/SimpleHTTPSServer.py\r\n\r\n## Usage\r\n\r\n    python -m SimpleHTTPSServer\r\n\r\n1. Start the https server by simply running SimpleSecureHTTPServer.py for the desired version of Python (2.6 or 2.7).\r\n2. Visit `https://localhost:8000/` or `https://yourhost.yourdomain.com:8000`\r\n\r\nNote: Other versions of python are untested but still may work.\r\n\r\n# References\r\n\r\nOriginally obtained from [active state](http://code.activestate.com/recipes/442473-simple-http-server-supporting-ssl-secure-communica/)\r\n\r\nThis is a modification of [Python 2.6 SimpleHTTPServer](http://docs.python.org/release/2.6.8/library/simplehttpserver.html) and [Python 2.7 SimpleHTTPServer](http://docs.python.org/library/simplehttpserver.html)\r\n\r\nThere is a pyOpenSSL bug where it does not work properly with socket in Python 2.7.\r\n\r\n* https://bugs.launchpad.net/pyopenssl/+bug/686804\r\n* https://bugs.launchpad.net/pyopenssl/+bug/755852\r\n\r\nI wrote a workaround which is applied in the Python 2.7 directory to account for this.  Now we have the best of both worlds and it works with Python 2.7!\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrocketman%2Fsimplehttpsserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamrocketman%2Fsimplehttpsserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrocketman%2Fsimplehttpsserver/lists"}