{"id":20017563,"url":"https://github.com/foomo/gofoomo","last_synced_at":"2026-05-13T09:32:54.762Z","repository":{"id":19404952,"uuid":"22646775","full_name":"foomo/gofoomo","owner":"foomo","description":"go foomo integration - essentially a go proxy, that knows some foomo conventions and knows how to hijack routes","archived":false,"fork":false,"pushed_at":"2020-07-06T11:36:47.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":17,"default_branch":"master","last_synced_at":"2026-03-10T23:38:53.002Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/foomo.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}},"created_at":"2014-08-05T14:32:42.000Z","updated_at":"2020-07-06T11:36:18.000Z","dependencies_parsed_at":"2022-09-20T04:41:41.063Z","dependency_job_id":null,"html_url":"https://github.com/foomo/gofoomo","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/foomo/gofoomo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foomo%2Fgofoomo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foomo%2Fgofoomo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foomo%2Fgofoomo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foomo%2Fgofoomo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foomo","download_url":"https://codeload.github.com/foomo/gofoomo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foomo%2Fgofoomo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32976378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"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":[],"created_at":"2024-11-13T08:16:17.926Z","updated_at":"2026-05-13T09:32:54.746Z","avatar_url":"https://github.com/foomo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Travis CI](https://travis-ci.org/foomo/gofoomo.svg?branch=master)](https://travis-ci.org/foomo/gofoomo)\n\n# gofoomo\n\nGofoomo lets you use Go in your foomo project. It also lets you use php in your Go project.\n\nWe want to use Go, but it is not the right language for everyone, who is using php.\n\n## Complementing your LAMP stack\n\nGo is a much younger and cleaner stack than LAMP.\n\n* Serve static files without bugging your prefork apache\n* Keep slow connections away from your php processes (not implemented yet)\n* Hijack foomo json rpc services methods\n  * Your code is also running the server, this puts you in a place, whereyou can solve problems, that you can not solve in php\n* Go´s runtime model is pretty much the opposite of the php runtime model\n  * all requests vs one request per lifetime\n  * shared memory vs process and memory isolation\n  * one bug to kill them all vs one bug kills one request\n  * hard, but fast vs easy but slow\n\n## Sitting in front of your foomo LAMP app with Go\n\nGo or php? It is up to you, to decide which tool provides better solutions for your problem and who on your team will be more productive with php or Go.\n\n## Hijacking json rpc calls\n\nGofoomo lets you intercept and implement calls to foomo json rpc services. In addition [Foomo.Go](https://github.com/foomo/Foomo.Go) gives you an infrastructure to generate golang structs for php value objects.\n\n## Access foomo configurations\n\nGofoomo gives you access to foomo configurations from Go. Hint: if your php configuration objects are well annotated they are essentially value objects and corresponding structs can easily be generated with Foomo.Go.\n\n## foomo-bert\n\nIs a command line utility, that helps you with the setup of foomo installations.\n\n```bash\ngo install github.com/foomo/gofoomo/foomo-bert\nfoomo-bert -help\nusage: foomo-bert \u003ccommand\u003e\nfoomo-bert prepare :\n  -dir string\n    \tpath/to/your/foomo/root\n  -run-mode string\n    \tfoomo run mode test | development | production\nfoomo-bert reset :\n  -addr string\n    \taddress of the foomo server\n  -dir string\n    \tpath/to/your/foomo/root\n  -main-module string\n    \tname of main module (default \"Foomo\")\n  -run-mode string\n    \tfoomo run mode test | development | production\n\n```\n\n## More to come, but not much more\n\nWe are going to add features, as we are going to need them. The focus is to have a simple interface between foomo and Go.\n\n## A little more\n\nThis example shows how to access a remote server to read configs.\n\n```Go\nrc, err := core.NewRemoteClient(\"https://user:password@host.com\")\nif err != nil {\n\tlog.Fatal(\"could not start remote client\", err)\n}\nc := \u0026MyConf{}\nconfigErr := rc.GetConfig(c, \"My.Module\", \"My.conf\", \"\")\nfmt.Println(configErr, c)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoomo%2Fgofoomo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoomo%2Fgofoomo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoomo%2Fgofoomo/lists"}