{"id":19010831,"url":"https://github.com/meltmedia/bouncer","last_synced_at":"2026-06-21T02:31:22.540Z","repository":{"id":5497802,"uuid":"6696630","full_name":"meltmedia/bouncer","owner":"meltmedia","description":"Fileserver supporting cross region AWS access on instance startup.","archived":false,"fork":false,"pushed_at":"2019-12-04T01:58:35.000Z","size":41,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":69,"default_branch":"develop","last_synced_at":"2025-02-21T15:49:12.994Z","etag":null,"topics":["cloudinit","ops"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meltmedia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-14T23:18:40.000Z","updated_at":"2019-12-03T20:09:25.000Z","dependencies_parsed_at":"2022-08-06T18:16:20.317Z","dependency_job_id":null,"html_url":"https://github.com/meltmedia/bouncer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/meltmedia/bouncer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meltmedia%2Fbouncer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meltmedia%2Fbouncer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meltmedia%2Fbouncer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meltmedia%2Fbouncer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meltmedia","download_url":"https://codeload.github.com/meltmedia/bouncer/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meltmedia%2Fbouncer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34592050,"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-21T02:00:05.568Z","response_time":54,"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":["cloudinit","ops"],"created_at":"2024-11-08T19:12:37.724Z","updated_at":"2026-06-21T02:31:22.522Z","avatar_url":"https://github.com/meltmedia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bouncer\n\nThe purpose of this web server is to offer up files only to authorized ec2 instances. This will query the ec2 endpoints and allow ip based file access. \n\nFeatures:\n* select \"home\" region\n* combined ips from multiple regions\n* regularly check for new ips\n* supports multiple aws accounts\n* ip address white listing for non ec2 addresses \n* rechecks ec2 addresses\n* blacklisting\n* quiet periods to prevent DOS attacks from unrecognized addresses\n\nFuture:\n* Add API Endpoints.\n* Cleanup how providers are loaded.\n* Git Support.\n* Support uploading.\n* Administration interface.\n* Check against security groups.\n* Save Whitelist changes to speed up next start.\n\n## Configuration\n\nConfiguration files are kept in the etc folder. Refer to the [defaults](etc/defaults.json) for options.\n\n### Backends\n\nExample backend configurations for S3 and Github. S3 accounts must be defined under the accounts section.\n\n```\n    \"backends\": {\n      \"example\": {\n        \"provider\": \"bouncer.providers.s3.S3Provider\",\n        \"path\": \"/\",\n        \"account\": \"example\",\n        \"bucket\": \"my-bucket-example\",\n        \"prefix\": \"\",\n        \"writable\": false\n      },\n      \"example-git\": {\n        \"provider\": \"bouncer.providers.github.GithubProvider\",\n        \"path\": \"/github/example/\",\n        \"writable\": false,\n        \"owner\": \"my-example-org\",\n        \"token\": null\n      }\n    }\n```\n\n### Remote Configuration\n\nLoading encrypted configuration from a remote service is supported. In order to use this feature both `BOUNCER_SECRET` and `BOUNCER_CONFIG` environment variables need to be set. Currently the remote configuration can return base64 encoded text or a JSON object with the base64 encoded text under the key `data` or a key set by the environment variable `BOUNCER_ENC_KEY`.\n\nExample remote configuration:\n\n```\n{\n  \"data\": \"\u003cenc-string\u003e\"\n}\n```\n\n## Running\n\nThe project can be run with the following command.\n\n```\n$ python -m bouncer -w 127.0.0.1\n```\n\n## Tests\n\nTests can be run with `make test`.\n\n## License\n\nBouncer is free software distributed under the terms of the MIT license reproduced in the LICENSE file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeltmedia%2Fbouncer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeltmedia%2Fbouncer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeltmedia%2Fbouncer/lists"}