{"id":16674170,"url":"https://github.com/byrnedo/prefab","last_synced_at":"2026-04-12T01:44:03.693Z","repository":{"id":57526381,"uuid":"58136080","full_name":"byrnedo/prefab","owner":"byrnedo","description":"Simple Go testing tool for making disposable containers with Docker for Mysql, Mongo, Nats or roll your own","archived":false,"fork":false,"pushed_at":"2017-07-04T09:26:21.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T07:21:36.941Z","etag":null,"topics":["docker","ftp","go","mongo","mysql","nats","nats-streaming","postgres","sftp","testing","testing-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","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/byrnedo.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":"2016-05-05T14:18:36.000Z","updated_at":"2020-01-17T21:03:58.000Z","dependencies_parsed_at":"2022-09-07T02:50:55.484Z","dependency_job_id":null,"html_url":"https://github.com/byrnedo/prefab","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/byrnedo/prefab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byrnedo%2Fprefab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byrnedo%2Fprefab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byrnedo%2Fprefab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byrnedo%2Fprefab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byrnedo","download_url":"https://codeload.github.com/byrnedo/prefab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byrnedo%2Fprefab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31701641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: 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":["docker","ftp","go","mongo","mysql","nats","nats-streaming","postgres","sftp","testing","testing-tools"],"created_at":"2024-10-12T12:29:36.199Z","updated_at":"2026-04-12T01:44:03.667Z","avatar_url":"https://github.com/byrnedo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prefab\n\nQuickly run docker containers for infrastructure when testing.\n\n```\nimport \"github.com/byrnedo/prefab\"\n\n// create and run a mysql container for this session\nid, url := prefab.StartMysqlContainer()\n\n// helper to wait for port to open\nif err := prefab.WaitForMysql(url, 20 * time.Second); err != nil {\n    panic(err)\n}\n\n// Connect using url :D\n\nprefab.Remove(id)\n```\n\nSupports:\n\n- Mysql\n- Postgresql\n- Mongo\n- Nats\n\nAlthough it's easy to roll your own.\n\n\nPull requests for new containers very welcome :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyrnedo%2Fprefab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyrnedo%2Fprefab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyrnedo%2Fprefab/lists"}