{"id":25181794,"url":"https://github.com/glocktober/somepig","last_synced_at":"2025-09-22T03:23:17.981Z","repository":{"id":270138731,"uuid":"458588749","full_name":"Glocktober/somepig","owner":"Glocktober","description":"Web server test tool for wsgi environments","archived":false,"fork":false,"pushed_at":"2022-02-12T17:16:52.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T17:33:51.026Z","etag":null,"topics":["bottle","python","wsgi"],"latest_commit_sha":null,"homepage":"","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/Glocktober.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":"2022-02-12T17:16:16.000Z","updated_at":"2022-02-27T13:00:29.000Z","dependencies_parsed_at":"2024-12-28T23:03:04.972Z","dependency_job_id":null,"html_url":"https://github.com/Glocktober/somepig","commit_stats":null,"previous_names":["glocktober/somepig"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Glocktober%2Fsomepig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Glocktober%2Fsomepig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Glocktober%2Fsomepig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Glocktober%2Fsomepig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Glocktober","download_url":"https://codeload.github.com/Glocktober/somepig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247129850,"owners_count":20888462,"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":["bottle","python","wsgi"],"created_at":"2025-02-09T17:28:10.731Z","updated_at":"2025-09-22T03:23:17.893Z","avatar_url":"https://github.com/Glocktober.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Somepig\n\nSomepig is a simple Flask app useful in debugging web configurations and integrations.\n\nI don't want to oversell this - it's a simple application that might be useful to others.\n\n### What it does for you\n* Confirm HTML headers passed to the wsgi app\n* Confirm the environment variables passed to the wsgi app\n* Check for bearer token JWT (the token is decoded but not verified) (This is optional and is used only if the `pyjwt` module is installed.)\n\n### Where this is useful\n* Test installation of wsgi server (e.g. mod_wsgi configuration)\n* Verifying enviroment variables (including REMOTE_USER) passed to the app from the web server\n* Examine the impact of proxy servers on your app\n* Debugging mod_auth_mellon (SAML) or mod_auth_oidc integrations\n* These are Apache examples but the same is true for other web servers\n\n### API routes\n| URL route | format|description |\n|-------|--------|-------|\n|/hdr   | json|dump HTML headersp|\n|/env|json|dump (most) wsgi environment variables|\n|/whoami|html|print value of `REMOTE_USER`|\n|/bearer|json|print **JWT** bearer token (optional)|\n### Installation\n* install from github\n* integrate with your web server as you would any other Python Flask application\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglocktober%2Fsomepig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglocktober%2Fsomepig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglocktober%2Fsomepig/lists"}