{"id":24857382,"url":"https://github.com/blend/simple-server","last_synced_at":"2025-03-26T15:52:35.478Z","repository":{"id":146503101,"uuid":"338449582","full_name":"blend/simple-server","owner":"blend","description":"A simple web server written in Go","archived":false,"fork":false,"pushed_at":"2021-04-09T21:23:56.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":44,"default_branch":"main","last_synced_at":"2024-03-26T12:59:02.706Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blend.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":"2021-02-12T22:37:38.000Z","updated_at":"2024-06-19T12:27:09.100Z","dependencies_parsed_at":"2023-07-14T05:45:09.242Z","dependency_job_id":null,"html_url":"https://github.com/blend/simple-server","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/blend%2Fsimple-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Fsimple-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Fsimple-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Fsimple-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blend","download_url":"https://codeload.github.com/blend/simple-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245689455,"owners_count":20656414,"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":"2025-01-31T17:53:21.198Z","updated_at":"2025-03-26T15:52:35.449Z","avatar_url":"https://github.com/blend.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Web Server\n\nA simple web server written in Go. The server exposes the following endpoints:\n- `/`                     responds with `echo`\n- `/headers`              responds with the request headers in JSON\n- `/env`                  responds with the environment variables in JSON\n- `/encrypt`              responds with an encrypted message\n- `/decrypt/\u003cciphertext\u003e` responds with the plaintext of `\u003cciphertext\u003e`\n\n## How to run\n1. Install Go https://golang.org/doc/install.\n2. Clone this repository and `cd` into the directory.\n3. Build the server with `go build -o bin/server main.go`.\n4. Run `bin/server`.\n5. Test the connection by requesting `http://localhost/`, e.g. `curl http://localhost`.\n\n## Configuration\n\n### Command-line arguments\n- `-host`   the host to listen on (defaults to `127.0.0.1`)\n- `-port`   the port to listen on (defaults to `80`)\n- `-config` the server config file in JSON format (defaults to `config.json`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblend%2Fsimple-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblend%2Fsimple-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblend%2Fsimple-server/lists"}