{"id":16649178,"url":"https://github.com/epeios-q37/atlas-ruby","last_synced_at":"2025-04-09T16:52:13.888Z","repository":{"id":131332867,"uuid":"163938782","full_name":"epeios-q37/atlas-ruby","owner":"epeios-q37","description":"World's lightest toolkit to quickly and easily add a GUI to your Ruby programs and bring them online.","archived":false,"fork":false,"pushed_at":"2024-01-27T15:43:27.000Z","size":140,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T18:54:23.811Z","etag":null,"topics":["api","gui","network","repl","ruby","todomvc","web"],"latest_commit_sha":null,"homepage":"http://atlastk.org","language":"Ruby","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/epeios-q37.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-01-03T07:35:07.000Z","updated_at":"2024-12-18T19:49:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b53adbc-3c0f-4b08-a354-521a015fd48a","html_url":"https://github.com/epeios-q37/atlas-ruby","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/epeios-q37%2Fatlas-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epeios-q37%2Fatlas-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epeios-q37%2Fatlas-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epeios-q37%2Fatlas-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epeios-q37","download_url":"https://codeload.github.com/epeios-q37/atlas-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248073272,"owners_count":21043397,"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":["api","gui","network","repl","ruby","todomvc","web"],"created_at":"2024-10-12T09:07:35.694Z","updated_at":"2025-04-09T16:52:13.864Z","avatar_url":"https://github.com/epeios-q37.png","language":"Ruby","readme":"\u003cdiv align=\"center\"\u003e\n\nThe *Atlas* toolkit is available for:\n\n[![Java](https://s.q37.info/jrnv4mj4.svg)](https://github.com/epeios-q37/atlas-java) [![Node.js](https://s.q37.info/fh7v7kn9.svg)](https://github.com/epeios-q37/atlas-node) [![Perl](https://s.q37.info/hgnwnnn3.svg)](https://github.com/epeios-q37/atlas-perl) [![Python](https://s.q37.info/94937nbb.svg)](https://github.com/epeios-q37/atlas-python) [![Ruby](https://s.q37.info/zn4qrx9j.svg)](https://github.com/epeios-q37/atlas-ruby)\n\nTo see the *Atlas* toolkit in action:\n\n[![Version 0.13](https://img.shields.io/static/v1.svg?\u0026color=blue\u0026labelColor=red\u0026label=online\u0026message=demonstrations\u0026style=for-the-badge)](https://s.q37.info/sssznrb4)\n\n\u003c/div\u003e\n\n\n\n# *Ruby* version of the *Atlas* toolkit\n\n\u003cdiv align=\"center\"\u003e\n\n[![Version 0.13](https://img.shields.io/static/v1.svg?\u0026color=90b4ed\u0026label=Version\u0026message=0.13\u0026style=for-the-badge)](http://github.com/epeios-q37/atlas-ruby/) [![license: MIT](https://img.shields.io/github/license/epeios-q37/atlas-ruby?color=yellow\u0026style=for-the-badge)](https://github.com/epeios-q37/atlas-ruby/blob/master/LICENSE) [![Documentation](https://img.shields.io/static/v1?label=documentation\u0026message=atlastk.org\u0026color=ff69b4\u0026style=for-the-badge)](https://atlastk.org) \n\n\u003c/div\u003e\n\n\n\n## A GUI with *Ruby* in a couple of minutes\n\nClick the animation to see a screencast of programming this [\"Hello, World!\" program](https://en.wikipedia.org/wiki/%22Hello,_World!%22_program) with *Ruby* in a matter of minutes:\n\n\u003cdiv align=\"center\"\u003e\n\n[![Building a GUI in with *Ruby* in less then 10 minutes](https://s.q37.info/qp4z37pg.gif)](https://s.q37.info/zgb4d9v3)\n\n\u003c/div\u003e\n\nSame video on [*Peertube*](https://en.wikipedia.org/wiki/PeerTube): \u003chttps://s.q37.info/fj3trgds\u003e.\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to see the corresponding source code\u003c/summary\u003e\n\n```ruby\nrequire 'Atlas'\n \n$BODY =\n\u003c\u003c~HEREDOC\n\u003cfieldset\u003e\n \u003cinput id=\"Input\" xdh:onevent=\"Submit\" value=\"World\"/\u003e\n \u003cbutton xdh:onevent=\"Submit\"\u003eHello\u003c/button\u003e\n \u003chr/\u003e\n \u003cfieldset\u003e\n  \u003coutput id=\"Output\"\u003eGreetings displayed here!\u003c/output\u003e\n \u003c/fieldset\u003e\n\u003c/fieldset\u003e\nHEREDOC\n \ndef acConnect(userObject, dom, id)\n dom.inner(\"\", $BODY)\n dom.focus(\"Input\")\nend\n \ndef acSubmit(userObject, dom, id)\n name = dom.getValue(\"Input\")\n dom.begin(\"Output\", \"\u003cdiv\u003eHello, \" + name + \"!\u003c/div\u003e\")\n dom.setValue(\"Input\", \"\")\n dom.focus(\"Input\")\nend\n \nCALLBACKS = {\n \"\" =\u003e method(:acConnect),\n \"Submit\" =\u003e method(:acSubmit)\n}\n \nAtlas.launch(CALLBACKS)\n```\n\n\u003c/details\u003e\n\n### See for yourself right now - it's quick and easy!\n\n```shell\n# You can replace 'github.com' with 'framagit.org'.\n# DON'T copy/paste this and above line!\ngit clone https://github.com/epeios-q37/atlas-ruby\ncd atlas-ruby/examples\nruby -I../atlastk Hello/Hello.rb\n```\n\n\n\n## Your turn\n\nIf you want to take your code to the next level, from [CLI](https://s.q37.info/cnh9nrw9) to [GUI](https://s.q37.info/hw9n3pjs), then you found the right toolkit.\n\nWith the [*Atlas* toolkit](http://atlastk.org/), you transform your programs in modern web applications ([*SPA*](https://s.q37.info/7sbmxd3j)) without the usual hassles:\n- no *JavaScript* to write; only *HTML*(/*CSS*) and *Ruby*,\n- no [front and back end architecture](https://s.q37.info/px7hhztd) to bother with,\n- no [web server](https://s.q37.info/n3hpwsht) (*Apache*, *Nginx*…) to install,\n- no need to deploy your application on a remote server,\n- no incoming port to open on your internet box or routeur.\n\nThe *Atlas* toolkit is written in pure *Ruby*, with no native code and no dependencies, allowing the *Atlas* toolkit to be used on all environments where *Ruby* is available. \n\nAnd simply by running them on a local computer connected to internet, applications using the *Atlas* toolkit will be accessible from the entire internet on laptops, smartphones, tablets…\n\n## Content of the repository\n\nThe `Atlas` directory contains the *Ruby* source code of the *Atlas* toolkit, which is not needed to run the examples.\n\nThe `examples `directory contains some examples.\n\nTo run an example, launch, from the `examples` directory, `ruby -I../atlastk \u003cName\u003e/main.rb`, where `\u003cName\u003e` is the name of the example (`Blank`, `Chatroom`…).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepeios-q37%2Fatlas-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepeios-q37%2Fatlas-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepeios-q37%2Fatlas-ruby/lists"}