{"id":26103321,"url":"https://github.com/topfreegames/mystack-router","last_synced_at":"2026-05-06T14:35:25.780Z","repository":{"id":64307096,"uuid":"86486768","full_name":"topfreegames/mystack-router","owner":"topfreegames","description":"The router for mystack","archived":false,"fork":false,"pushed_at":"2018-09-24T14:05:08.000Z","size":81,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-07-27T23:47:32.845Z","etag":null,"topics":["kubernetes","mystack","nginx","ops","router","stack"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/topfreegames.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":"2017-03-28T17:13:39.000Z","updated_at":"2018-09-24T14:05:03.000Z","dependencies_parsed_at":"2023-01-15T11:00:55.737Z","dependency_job_id":null,"html_url":"https://github.com/topfreegames/mystack-router","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/topfreegames/mystack-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topfreegames%2Fmystack-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topfreegames%2Fmystack-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topfreegames%2Fmystack-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topfreegames%2Fmystack-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/topfreegames","download_url":"https://codeload.github.com/topfreegames/mystack-router/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topfreegames%2Fmystack-router/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32698426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"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":["kubernetes","mystack","nginx","ops","router","stack"],"created_at":"2025-03-09T20:06:22.199Z","updated_at":"2026-05-06T14:35:25.763Z","avatar_url":"https://github.com/topfreegames.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"mystack-router\n==============\n[![Build Status](https://travis-ci.org/topfreegames/mystack-router.svg?branch=master)](https://travis-ci.org/topfreegames/mystack-router)\n\nThe router for mystack.\n\n## About\nThis is the mystack router component, it will discover new services of apps deployed by mystack on Kubernetes cluster and creates routes on [Nginx](http://nginx.org) for your specific domain.\nThe routes are filtered by namespace (one for each user) and service. \n\n## Dependencies\n* Go 1.7\n* Docker\n\n## Building\n#### Build a linux binary\n```shell\n  make cross-build-linux-amd64\n```\n\n\n## Running\nThis router must run inside Kubernetes cluster. So you need to create a docker image, push it to Dockerhub and run a service using this image. \nHere is an example of how to do it.\n\n#### Build a docker image\nOn project root, run (mind the dot):\n```shell\n  docker build -t dockerhub-user/mystack-router:v1 .\n```\n\n#### Push it to Dockerhub\n```shell\n  docker push dockerhub-user/mystack-router:v1\n```\n\n#### Create a yaml file for the router\n```\nkubectl create -f ./manifests\n```\n\n#### Configure your domain\nIf you have the domain `yourdomain.com` registered, you can point `*.yourdomain.com` to your mystack-router loadbalancer external-ip and access your service with:\n```shell\ncurl -v {{appname}}.{{user}}.yourdomain.com\n```\n\n#### Access your services\nGiven that you've pointed `*.yourdomain.com` to the router's LB address, access a service with:\n```\nexample:\napp: testapp\nuser: test-user\n\ncurl testapp.test-user.yourdomain.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopfreegames%2Fmystack-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftopfreegames%2Fmystack-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopfreegames%2Fmystack-router/lists"}