{"id":13813409,"url":"https://github.com/soasme/blackgate","last_synced_at":"2025-04-01T10:58:57.177Z","repository":{"id":57415508,"uuid":"59739087","full_name":"soasme/blackgate","owner":"soasme","description":"Blackgate is an API gateway application","archived":false,"fork":false,"pushed_at":"2019-09-19T11:05:57.000Z","size":206,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T12:42:22.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pythonhosted.org/blackgate/index.html","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/soasme.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","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":"2016-05-26T09:47:04.000Z","updated_at":"2024-01-04T17:07:15.000Z","dependencies_parsed_at":"2022-08-27T18:10:30.586Z","dependency_job_id":null,"html_url":"https://github.com/soasme/blackgate","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soasme%2Fblackgate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soasme%2Fblackgate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soasme%2Fblackgate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soasme%2Fblackgate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soasme","download_url":"https://codeload.github.com/soasme/blackgate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246628228,"owners_count":20808106,"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-08-04T04:01:16.814Z","updated_at":"2025-04-01T10:58:57.152Z","avatar_url":"https://github.com/soasme.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Blackgate\n=========\n\nBlackgate is an API gateway application.  It's stateless and extendable.\n\n.. image:: https://travis-ci.org/soasme/blackgate.svg?branch=master\n.. image:: https://images.microbadger.com/badges/image/soasme/blackgate.svg\n  :target: https://microbadger.com/images/soasme/blackgate\n\nInstall via pip\n---------------\n\nRun::\n\n    $ pip install blackgate\n\nOr::\n\n    $ git clone git@github.com:soasme/blackgate.git\n    $ cd blackgate\n    $ python setup.py install\n\nInstall via docker\n-------------------\n\nRun::\n\n    $ docker pull soasme/blackgate\n\n\nExample\n--------\n\nConfigure Upstream\n```````````````````\n\nA minimal Blackgate config looks something like this::\n\n    ---\n    proxies:\n      - name: github\n        upstream_url: 'https://api.github.com'\n        request_path_regex: /github/(.*)\n        request_path_sub: /\\1\n\nJust save it as `blackgate.yml`.\n\nRun Application\n```````````````````\n\nRun application::\n\n    $ blackgate -c ./blackgate.yml --no-daemon start\n\n    # or run as a daemon\n    $ blackgate -c ./blackgate.yml --pidfile=/tmp/blackgate.pid start\n\n    # or run via docker\n    $ docker run -it --rm --name blackgate \\\n        -p 9654:9654 \\\n        -v `pwd`:/etc/blackgate/blackgate.yml blackgate:latest\n\nTest Blackgate\n```````````````````\n\nUsing `curl` to test functionality::\n\n    $ curl http://127.0.0.1:9654/github/repos/soasme/blackgate\n    {\"id\":59739087,\"name\":\"blackgate\",\"full_name\":\"soasme/blackgate\", ...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoasme%2Fblackgate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoasme%2Fblackgate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoasme%2Fblackgate/lists"}