{"id":16649159,"url":"https://github.com/epeios-q37/atlas-node","last_synced_at":"2025-04-09T16:52:19.191Z","repository":{"id":48697101,"uuid":"158060191","full_name":"epeios-q37/atlas-node","owner":"epeios-q37","description":"World's lightest toolkit to quickly and easily add a GUI to your Node programs and bring them online.","archived":false,"fork":false,"pushed_at":"2024-01-27T15:40:57.000Z","size":349,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T18:54:24.386Z","etag":null,"topics":["api","gui","javascript","network","node","node-js","node-module","nodejs","repl","todomvc","web"],"latest_commit_sha":null,"homepage":"http://atlastk.org","language":"JavaScript","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":"2018-11-18T07:31:04.000Z","updated_at":"2024-12-18T19:49:59.000Z","dependencies_parsed_at":"2024-01-27T16:50:12.406Z","dependency_job_id":null,"html_url":"https://github.com/epeios-q37/atlas-node","commit_stats":{"total_commits":61,"total_committers":1,"mean_commits":61.0,"dds":0.0,"last_synced_commit":"d0a806cc72801d8c64340689925eda30867d1272"},"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-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epeios-q37%2Fatlas-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epeios-q37%2Fatlas-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epeios-q37%2Fatlas-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epeios-q37","download_url":"https://codeload.github.com/epeios-q37/atlas-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248073323,"owners_count":21043410,"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","javascript","network","node","node-js","node-module","nodejs","repl","todomvc","web"],"created_at":"2024-10-12T09:07:28.959Z","updated_at":"2025-04-09T16:52:19.170Z","avatar_url":"https://github.com/epeios-q37.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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# *Node.js* 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-node/) [![license: MIT](https://img.shields.io/github/license/epeios-q37/atlas-node?color=yellow\u0026style=for-the-badge)](https://github.com/epeios-q37/atlas-node/blob/master/LICENSE) [![Documentation](https://img.shields.io/static/v1?label=documentation\u0026message=atlastk.org\u0026color=ff69b4\u0026style=for-the-badge)](https://atlastk.org) [![Version](https://img.shields.io/npm/v/atlastk?style=for-the-badge)](https://s.q37.info/h3zjb39j)\n\n\u003c/div\u003e\n\n\n\n## A GUI with *Node.js* 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 *Node.js* in a matter of minutes:\n\n\u003cdiv align=\"center\"\u003e\n\n[![Building a GUI in with *Node.js* in less then 10 minutes](https://s.q37.info/qp4z37pg.gif)](https://s.q37.info/4pcpvrhz)\n\n\u003c/div\u003e\n\nSame video on [*Peertube*](https://en.wikipedia.org/wiki/PeerTube): \u003chttps://s.q37.info/9wtsrwqw\u003e.\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to see the corresponding source code\u003c/summary\u003e\n\n```javascript\nconst atlastk = require('atlastk');\n \nconst BODY = `\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\n`;\n \nconst CALLBACKS = {\n \"\": (dom, id) =\u003e dom.inner(\"\", BODY,\n  () =\u003e dom.focus(\"Input\")),\n \"Submit\": (dom, id) =\u003e dom.getValue(\"Input\",\n  (name) =\u003e dom.begin(\"Output\", \"\u003cdiv\u003eHello, \" + name + \"!\u003c/div\u003e\",\n   () =\u003e dom.setValue(\"Input\", \"\",\n    () =\u003e dom.focus(\"Input\")))),\n};\n \natlastk.launch(() =\u003e new atlastk.DOM(), 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-node\ncd atlas-node\nnpm install\ncd examples\nnode Hello/main.js\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 front-end *JavaScript* to write; only *HTML*(/*CSS*) and *Node.js*,\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 *Node.js*, with no native code and no dependencies, allowing the *Atlas* toolkit to be used on all environments where *Node.js* 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 `atlastk` directory contains the *JavaScript* source code for *Node.js* of the *Atlas* toolkit, which is not needed to run the examples.\n\nThe `node_modules` directory (not provided by the repository, but will be created when launching `npm install`) contains the files that are needed in order to use the *Atlas* toolkit.\n\nThe `examples` directory contains some examples.\n\nTo launch an example (from within the repository):\n\n- launch `npm install` (this have only to be do once),\n- `cd examples`,\n- launch `node \u003cName\u003e/main.js`,\n\nwhere `\u003cName\u003e` is the name of the example (`15-puzzle`, `Blank`, `Chatroom`…). For example `node Hello/main.js`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepeios-q37%2Fatlas-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepeios-q37%2Fatlas-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepeios-q37%2Fatlas-node/lists"}