{"id":14978518,"url":"https://github.com/virtuoworks/electron-sahara","last_synced_at":"2025-10-27T09:02:49.750Z","repository":{"id":21813873,"uuid":"91797273","full_name":"VirtuoWorks/electron-sahara","owner":"VirtuoWorks","description":"Electron Sahara is an Apache Cordova like command line utility for electron.","archived":false,"fork":false,"pushed_at":"2022-12-30T18:13:13.000Z","size":591,"stargazers_count":4,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T11:50:43.633Z","etag":null,"topics":["cli","electron","electron-app","electronjs","javascript","node","node-js","nodejs"],"latest_commit_sha":null,"homepage":"","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/VirtuoWorks.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-05-19T10:58:03.000Z","updated_at":"2019-07-05T15:14:51.000Z","dependencies_parsed_at":"2023-01-12T03:46:01.835Z","dependency_job_id":null,"html_url":"https://github.com/VirtuoWorks/electron-sahara","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuoWorks%2Felectron-sahara","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuoWorks%2Felectron-sahara/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuoWorks%2Felectron-sahara/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuoWorks%2Felectron-sahara/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VirtuoWorks","download_url":"https://codeload.github.com/VirtuoWorks/electron-sahara/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238638127,"owners_count":19505538,"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":["cli","electron","electron-app","electronjs","javascript","node","node-js","nodejs"],"created_at":"2024-09-24T13:57:50.329Z","updated_at":"2025-10-27T09:02:44.729Z","avatar_url":"https://github.com/VirtuoWorks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n[![Codacy Badge][codacy-image]][codacy-url]\n[![Dependency Status][dependencyci-image]][dependencyci-url]\n\n# Electron Sahara\n\n - **Desktop apps with HTML, CSS \u0026 JS** \n - **Target multiple platforms with one code base** \n - **Free and open source**\n \n**Electron Sahara** is an *Apache Cordova like* command line utility for **electron**. \nSupported platforms :\n\n\u003e \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg\" width=\"48\"\u003e \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/b/bb/OS_X_El_Capitan_logo.svg\" width=\"48\"\u003e \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/5/5f/Windows_logo_-_2012.svg\" width=\"48\"\u003e\n\n## Installing Sahara\n\nSahara command-line runs on Node.js and is available on NPM. Follow platform specific guides to install additional platform dependencies. Open a command prompt or Terminal, and type ``npm install -g electron-sahara``\n\nExample :\n```\nnpm install -g @virtuoworks/electron-sahara\n```\n\n## Create a project\n\nCreate a blank Sahara project using the command-line tool. Navigate to the directory where you wish to create your project and type ``sahara create \u003cpath\u003e``.\n\nFor a complete set of options, type ``sahara help create``.\n\nExample :\n```\nsahara create MyApp\n```\n\n### Templates\n\nTemplates allow you to use preexisting code to jumpstart your project. Navigate to the directory where you wish to create your project and type ``sahara create \u003cpath\u003e [template]``\n\nAvailable templates :\n\n-  `` vanilla `` (default)\n-  `` react ``\n-  `` angular2 ``\n-  `` vuejs ``\n\nExample :\n```\nsahara create MyApp angular2\n```\n\n## Prepare a platform\n\nAfter creating a Sahara project, navigate to the project directory. From the project directory, you need to prepare a platform for which you want to build your app.\n\nTo prepare a platform, type ``sahara prepare \u003cplatform name\u003e``.\n\nFor a complete list of platforms you can run ``sahara prepare``.\n\nExample :\n```\ncd MyApp\nsahara prepare win32\n```\nAvailable platforms :\n\n-  `` win32`` (for Windows (32/64 bit))\n-  `` darwin `` (for OS X (also known as macOS))\n-  `` linux `` (for Linux (x86/x86_64))\n\n## Compile a platform\n\nAfter having prepared a platform, navigate to the project directory. From the project directory, you can compile a release for a platform.\n\nTo compile a platform, type ``sahara compile \u003cplatform name\u003e``.\n\nFor a complete list of platforms you can run ``sahara compile``.\n\nExample :\n```\ncd MyApp\nsahara compile win32\n```\n\n## Prepare AND Compile a platform\n\nIf you which to perform both operations in a row, navigate to the project directory. From the project directory, type ``sahara build \u003cplatform name\u003e``.\n\nExample :\n```\ncd MyApp\nsahara build win32\n```\n\n## Run your app\n\nFrom the command line, run ``sahara run \u003cplatform name\u003e``.\n\n`` sahara run win32 ``\n\n## Requirements\n\n - [Node.js](https://nodejs.org/en/download/) (\u003e=4.7)\n - [Git](https://git-scm.com/downloads)\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/@virtuoworks/electron-sahara.svg\n[npm-url]: https://www.npmjs.com/package/@virtuoworks/electron-sahara\n[downloads-image]: https://img.shields.io/npm/dm/@virtuoworks/electron-sahara.svg\n[downloads-url]: https://www.npmjs.com/package/@virtuoworks/electron-sahara\n[travis-image]: https://api.travis-ci.org/VirtuoWorks/electron-sahara.svg?branch=master\n[travis-url]: https://travis-ci.org/VirtuoWorks/electron-sahara\n[coveralls-image]: https://coveralls.io/repos/github/VirtuoWorks/electron-sahara/badge.svg?branch=master\u0026seed=3426236\n[coveralls-url]: https://coveralls.io/github/VirtuoWorks/electron-sahara?branch=master\n[codacy-image]: https://api.codacy.com/project/badge/Grade/a72b34b2d9194fe68a827c0a38f97aa9\n[codacy-url]: https://www.codacy.com/app/VirtuoWorks/electron-sahara?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=VirtuoWorks/electron-sahara\u0026amp;utm_campaign=Badge_Grade\n[dependencyci-image]: https://dependencyci.com/github/VirtuoWorks/electron-sahara/badge\n[dependencyci-url]: https://dependencyci.com/github/VirtuoWorks/electron-sahara","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtuoworks%2Felectron-sahara","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtuoworks%2Felectron-sahara","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtuoworks%2Felectron-sahara/lists"}