{"id":37094766,"url":"https://github.com/ptaas-tool/gateway","last_synced_at":"2026-01-14T11:40:06.189Z","repository":{"id":189340716,"uuid":"628231899","full_name":"ptaas-tool/gateway","owner":"ptaas-tool","description":"PTaaS: Gateway API system.","archived":false,"fork":false,"pushed_at":"2023-12-29T13:41:38.000Z","size":372,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-31T18:30:17.562Z","etag":null,"topics":["automated-pentesting","go","golang","network","network-security","pentesting","python","python3"],"latest_commit_sha":null,"homepage":"","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/ptaas-tool.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":"2023-04-15T10:02:26.000Z","updated_at":"2024-03-05T09:57:01.000Z","dependencies_parsed_at":"2024-06-21T04:10:18.439Z","dependency_job_id":"fb8099de-3942-4ab6-96da-6aeaa93c45f7","html_url":"https://github.com/ptaas-tool/gateway","commit_stats":null,"previous_names":["apt-tool/apt-gateway","ptaas-tool/gateway"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ptaas-tool/gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptaas-tool%2Fgateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptaas-tool%2Fgateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptaas-tool%2Fgateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptaas-tool%2Fgateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptaas-tool","download_url":"https://codeload.github.com/ptaas-tool/gateway/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptaas-tool%2Fgateway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automated-pentesting","go","golang","network","network-security","pentesting","python","python3"],"created_at":"2026-01-14T11:40:05.679Z","updated_at":"2026-01-14T11:40:06.180Z","avatar_url":"https://github.com/ptaas-tool.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PTaaS Gateway\n\n![](https://img.shields.io/badge/language-golang_v1.20-lightblue)\n![GitHub release (with filter)](https://img.shields.io/github/v/release/ptaas-tool/gateway)\n\nGateway is the ```PTaaS``` restful API for handling client http requests.\nThis module handles the user interface logic in order to communicate with\n```base-api``` and ```ftp-server```. It is the system main gateway app.\n\n## Image\n\nGateway app docker image address:\n\n```shell\ndocker pull amirhossein21/ptaas-tool:gateway-v0.X.X\n```\n\n### configs\n\nMake sure to create ```config.yaml``` file with the following variable init:\n\n```yaml\nhttp:\n  port: 8080\n  core: 'http://localhost:9090/api'\n  core_secret: 'secret'\n  dev_mode: true\njwt:\n  private_key: 'super'\n  expire_time: 180 # minute\nmysql:\n  host: 'localhost'\n  port: 3306\n  user: root\n  pass: ''\n  database: 'apt'\n  migrate: false\nftp:\n  host: 'http://localhost:9091'\n  secret: 'secret'\n  access: 'access'\n```\n\n## Setup\n\nSetup gateway service in docker container with following command:\n\n```shell\ndocker run -d \\\n  -v type=bind,source=$(pwd)/config.yaml,dest=/app/config.yaml \\\n  -p 80:80 \\\n  amirhossein21/ptaas-tool:gateway-v0.X.X\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptaas-tool%2Fgateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptaas-tool%2Fgateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptaas-tool%2Fgateway/lists"}