{"id":50967662,"url":"https://github.com/dymoo/python-webserver","last_synced_at":"2026-06-18T22:02:25.439Z","repository":{"id":214219696,"uuid":"235793061","full_name":"dymoo/python-webserver","owner":"dymoo","description":"A webserver written in python, it allows python to be ran inline with html. Similar to PHP","archived":false,"fork":false,"pushed_at":"2020-01-23T12:44:36.000Z","size":273,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-12-26T18:22:17.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dymoo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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}},"created_at":"2020-01-23T12:44:05.000Z","updated_at":"2023-12-26T18:22:18.854Z","dependencies_parsed_at":"2023-12-26T18:36:41.762Z","dependency_job_id":null,"html_url":"https://github.com/dymoo/python-webserver","commit_stats":null,"previous_names":["dymoo/python-webserver"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/dymoo/python-webserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dymoo%2Fpython-webserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dymoo%2Fpython-webserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dymoo%2Fpython-webserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dymoo%2Fpython-webserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dymoo","download_url":"https://codeload.github.com/dymoo/python-webserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dymoo%2Fpython-webserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34508867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-06-18T22:02:24.591Z","updated_at":"2026-06-18T22:02:25.428Z","avatar_url":"https://github.com/dymoo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"DSWS (Dylan's simple web server) - This name is not final and may change, same with everything on this project. \nALPHA v0.2\n\nDSWS is a simple python web server designed to be deployed within seconds of being downloaded.\n\nHow to configure:\nDSWS has been designed to be as user friendly to use as possible.\n        \n    1) Clone this git repository into a directory.\n    2) Make sure your machine has atleast python 3.6 installed (due to fstrings being introduced in 3.6)\n    3) Configure the server to your needs (how to use the config file documentation down below)\n    4) Run the server using python.\n\nConfig file:\nThe config file is in the same directory as server.py by default, you can also load a different config file by adding it as a console argument when starting the script.\nThe config file uses the JSON format.\nData in parenthesis is the datatype and default that will be used if not set in config file.\n\n    - port (integer : 80)\n        This is the port the server will listen on.\n    - localonly (boolean : false):\n        If this is true then the server will only listen for localhost connections.\n    - debug (boolean : false)\n        If this is true then the server will output debug information that would be useful in congunction with the scripting.\n    - fileslocation (string : 'www')\n        This is the folder the webserver will look for files to serve.\n    - scripting (boolean : false)\n        If this is true then scripting will be enabled.\n    - buffersize (in kb)(integer : 128)\n        This is the buffer size that the server will use for network communications, its best to leave it at its default.\n    - redirects (dict : none)\n        This is a dictionary of redirects the server will serve, so '/':'index.html' would redirect the '/' route to 'index.html'. This also supports error codes, so '404':'404.html' would redirect 404 errors to '404.html'\n    - cache_enabled (boolean : false)\n        If this is enabled then (all) files will be cached in memory.\n    - cache_specific (dict : none)\n        This is a dictionary that specifies all specific files / formats to be cached. supports wildcards.\n    - logging_enabled (boolean : true)\n        If this is enabled then the server will log its actions.\n    - logging_onlyfatal (boolean : false)\n        If this is enabled then the server will only log fatal errors.\n    - logging_file (string : 'server.log')\n        This is the file the server will log into.\n\nCurrent features:\n    \n    - Fast, stable webserver.\n    - Decent scripting support.\n\nFeature roadmap:\n    \n    - Sessions and post / get variables accessible by scripting.\n    - Caching system\n    - Ability to serve other filetypes (images etc...)\n    - Better error logging / handling\n    - Clean up code alot more!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdymoo%2Fpython-webserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdymoo%2Fpython-webserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdymoo%2Fpython-webserver/lists"}