{"id":13646037,"url":"https://github.com/appjs/appjs","last_synced_at":"2025-05-14T14:08:14.600Z","repository":{"id":2849696,"uuid":"3853751","full_name":"appjs/appjs","owner":"appjs","description":"(Deprecated!) SDK on top of nodejs to build desktop apps using HTML5/CSS/JS","archived":false,"fork":false,"pushed_at":"2016-05-01T09:27:13.000Z","size":5055,"stargazers_count":3432,"open_issues_count":164,"forks_count":352,"subscribers_count":216,"default_branch":"master","last_synced_at":"2025-05-08T13:45:14.167Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://appjs.com","language":"C++","has_issues":false,"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/appjs.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":"2012-03-28T10:01:56.000Z","updated_at":"2025-03-13T03:59:21.000Z","dependencies_parsed_at":"2022-09-11T23:51:12.726Z","dependency_job_id":null,"html_url":"https://github.com/appjs/appjs","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/appjs%2Fappjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appjs%2Fappjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appjs%2Fappjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appjs%2Fappjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appjs","download_url":"https://codeload.github.com/appjs/appjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254159700,"owners_count":22024564,"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":"2024-08-02T01:02:47.256Z","updated_at":"2025-05-14T14:08:14.578Z","avatar_url":"https://github.com/appjs.png","language":"C++","readme":"# Attention\r\n\r\nAppJS project has not been actively developed for several months. However ownership of the project has now changed\r\nand the future is being discussed.\r\n\r\nAn offshoot project [deskshell](https://github.com/sihorton/appjs-deskshell/) has been very actively developed. \r\nIt is a javascript based SDK for building applications that uses an off the shelf nodejs and chromium to\r\nbuild html5 / css / js applications.\r\n\r\nThe future will probably involve appjs being able to be run stand alone or as a frontend to deskshell. Please contribute\r\nto the discussions on our mailing list: https://groups.google.com/forum/#!forum/appjs-dev\r\n\r\n# AppJS\r\nAppJS is an SDK to develop desktop applications using Node.js melded with Chromium. With AppJS you can develop desktop tools and applications using the same libraries and knowledge used to build websites. You get all the following in one package:\r\n\r\n* JS, HTML5, CSS, SVG, WebGL provided by Chromium\r\n* mature http/https servers and client APIs - Node\r\n* filesystem, dns, cryptography, subprocesses, OS APIs - Node\r\n* sandboxed code execution environments virtual machines - Node\r\n* tools for exposing native C++ bindings to JavaScript- Node\r\n\r\n---\r\n\r\n* __Site: [appjs.com](http://appjs.com)__\r\n* __[Google+](https://plus.google.com/u/0/112803615725562877790/posts)__\r\n* __Mailing List: [mailing list](https://groups.google.com/forum/#!forum/appjs-dev)__\r\n* __IRC: #appjs at irc.freenode.net__\r\n\r\n## 30 Second Quickstart\r\nThe below packages include everything needed to get started with AppJS, including Node.js, all dependencies, binaries, and a launcher ready to go out of the box. 1.) Extract to a folder. 2.) Double click on launch. 3.) Hello World.\r\n\r\n__AppJS 0.0.20 Distributables:__\r\n\r\n* Linux [32 bit](http://dl.bintray.com/sihorton/appjs/appjs-0.0.20-linux-ia32.tar.gz) / [64 bit](http://dl.bintray.com/sihorton/appjs/appjs-0.0.20-linux-x64.tar.gz) -\u003e app.sh\r\n* [Mac](http://dl.bintray.com/sihorton/appjs/appjs-0.0.20-darwin-ia32.zip) -\u003e app.sh\r\n* [Windows](http://dl.bintray.com/sihorton/appjs/appjs-0.0.20-win32-ia32.zip) -\u003e app.exe\r\n\r\n__npm install__\r\n*OS X install is currently broken*\r\n\r\nAppJS can be now be installed via npm.\r\n\r\n    npm install appjs\r\n\r\n__AppJS requires 32bit Node on OS X__. It works on 64bit OS X but __Node must be 32bit__. We're working on solving this, but it's a limitation of Chrome itself so it's a work in progress.\r\nHelp us gain traction by [starring this chromium issue](http://code.google.com/p/chromium/issues/detail?id=18323).\r\n\r\n\r\n(Windows requires [MSVC++ 2010 runtimes](http://www.microsoft.com/en-us/download/details.aspx?id=5555))\r\n\r\n## One Minute Usage Overview\r\n```javascript\r\nvar app = module.exports = require('appjs');\r\n\r\napp.serveFilesFrom(__dirname + '/content');\r\n\r\nvar window = app.createWindow({\r\n  width  : 640,\r\n  height : 460,\r\n  icons  : __dirname + '/content/icons'\r\n});\r\n\r\nwindow.on('create', function(){\r\n  console.log(\"Window Created\");\r\n  window.frame.show();\r\n  window.frame.center();\r\n});\r\n\r\nwindow.on('ready', function(){\r\n  console.log(\"Window Ready\");\r\n  window.require = require;\r\n  window.process = process;\r\n  window.module = module;\r\n  window.addEventListener('keydown', function(e){\r\n    if (e.keyIdentifier === 'F12') {\r\n      window.frame.openDevTools();\r\n    }\r\n  });\r\n});\r\n\r\nwindow.on('close', function(){\r\n  console.log(\"Window Closed\");\r\n});\r\n```\r\n\r\n## Shared Contexts\r\n\r\n![chrome-in-node-repl](https://github.com/appjs/appjs/raw/master/examples/chrome-in-node-repl.jpg \"Chrome in Node REPL\")\r\n\r\n![DOM Event Listener in Node](https://github.com/appjs/appjs/raw/master/examples/shared-context.jpg \"DOM Event Listener in Node\")\r\n\r\n\r\n\r\n## License\r\nThe MIT License\r\n\r\nCopyright (c) 2012 The AppJS Authors\r\n\r\nSee the LICENSE file for details.\r\n","funding_links":[],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappjs%2Fappjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappjs%2Fappjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappjs%2Fappjs/lists"}