{"id":26057823,"url":"https://github.com/feenkcom/glamorous-docker-setup","last_synced_at":"2025-04-11T05:07:39.664Z","repository":{"id":54549977,"uuid":"292500617","full_name":"feenkcom/glamorous-docker-setup","owner":"feenkcom","description":"a template repository for building a Glamorous Toolkit app","archived":false,"fork":false,"pushed_at":"2023-08-08T16:06:53.000Z","size":4172,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-11T05:07:26.340Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/feenkcom.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":"2020-09-03T07:38:56.000Z","updated_at":"2023-08-07T17:53:20.000Z","dependencies_parsed_at":"2022-08-13T19:20:47.540Z","dependency_job_id":null,"html_url":"https://github.com/feenkcom/glamorous-docker-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fglamorous-docker-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fglamorous-docker-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fglamorous-docker-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fglamorous-docker-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feenkcom","download_url":"https://codeload.github.com/feenkcom/glamorous-docker-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345266,"owners_count":21088244,"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":"2025-03-08T11:59:11.298Z","updated_at":"2025-04-11T05:07:39.628Z","avatar_url":"https://github.com/feenkcom.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# glamorous docker setup\nThis is a template repository for building and packaging a Glamorous Toolkit app in a docker image. It is based on GT.zip which contains a GlamorousToolkit.image without the GtWorld opened.\n\n\n# Command line only\nThe `main` branch shows how to run a command line app that does not really do much - it just outputs a number. That is not very useful but, for example, the code in `run.st` could instead start a [Teapot](https://github.com/zeroflag/Teapot).\n\n## Build docker image with bash\n```\nDOCKER_BUILDKIT=1 docker build --no-cache --secret id=myid_rsa,src=$HOME/.ssh/id_rsa --secret id=myid_rsa.pub,src=$HOME/.ssh/id_rsa.pub -t glamorousdocker .\n```\n## Run\n```\ndocker run glamorousdocker:latest\n```\nshould print a number to console and then exit.\n\n# GUI app\n\nThe `gui-app` branch is just an OpenGL Docker image with a [Xpra](https://xpra.org/) server which supports viewing and controlling X11 from a browser.\n\nThis allows running Glamorous Toolkit in Linux systems with older versions of `GLIBCXX`. Its only dependency being docker and a browser.\nOnly tested this setup on OS X and Chrome.\n\n## Build docker image with bash\n```\nDOCKER_BUILDKIT=1 docker build --no-cache --secret id=myid_rsa,src=$HOME/.ssh/id_rsa --secret id=myid_rsa.pub,src=$HOME/.ssh/id_rsa.pub -t glamorousdocker .\n```\n## Run\nFirst run the docker image \n```\ndocker run -it -p 9876:9876 glamorousdocker\n```\nThen open the browser on [http://localhost:9876](http://localhost:9876).\nThen, in xterm \n```\ncd GlamorousToolkit\n./glamoroustoolkit GlamorousToolkit.image st ../run.st --no-quit --interactive\n```\n\n![gt xpra](https://github.com/feenkcom/glamorous-docker-setup/raw/main/screenshots/gt-xpra.png \"Glamorous Toolkit Hello World app running in a container with the UI served by Xpra\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenkcom%2Fglamorous-docker-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeenkcom%2Fglamorous-docker-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenkcom%2Fglamorous-docker-setup/lists"}