Create a Custom Chrome OS/Chromebook "App"
by jmclauchlan in Circuits > Computers
54861 Views, 20 Favorites, 0 Comments
Create a Custom Chrome OS/Chromebook "App"
In this write up I will describe how to create a custom Chromebok/Chrome OS app. I can't take full credit info was obtained from http://www.omgchrome.com. Just thought it would be good info to share and may the instructables crew would actually want to make a Chrome app available in the web store.
Set Up
Create a folder on your Chromebook, name the folder after your web app. In this example I’m naming it ‘Instructables' because I’m creating a Instructables web app.
Create Web App Icon
In this folder, download/create an icon for the app (it needs to be a 128×128 PNG file), rename it “icon_128.png”.
Code the App
Now you’ll need to create a plain text file with the following contents. Rename/edit the contents as per your web app.
{
"name": "Instructables",
"description": "App description (132 characters or less, no HTML)",
"version": "1.0.0",
"manifest_version": 2,
"icons": {
"128": "icon_128.png"
},
"app": {
"urls": [
"http://instructables.com/"
],
"launch": {
"web_url": "http://instructables.com/"
}
}
}
{
"name": "Instructables",
"description": "App description (132 characters or less, no HTML)",
"version": "1.0.0",
"manifest_version": 2,
"icons": {
"128": "icon_128.png"
},
"app": {
"urls": [
"http://instructables.com/"
],
"launch": {
"web_url": "http://instructables.com/"
}
}
}
Rename Txt File
Saved the file, renaming it to “manifest.json” (make sure the .txt file extension is gone).
Enable Chromebook to Test App
Once you have the icon and json file in the folder you should test that it works.
Open the ‘Extensions’ page from Chrome’s Settings menu. Tick “Developer Mode”. Click “Load Unpacked Extension” and select the web app folder.
The Web App should now be installed on your New Tab page.
Open the ‘Extensions’ page from Chrome’s Settings menu. Tick “Developer Mode”. Click “Load Unpacked Extension” and select the web app folder.
The Web App should now be installed on your New Tab page.
See You App in Action and Notes!
Please note, you can not delete the web app folder, since Chrome will load the web app from this folder.
To publish your web app to the Chrome Web Store you will need to be the owner of the domain used by the web-app. If you do not own the domain of the web app, you can not publish it to the Chrome Web Store.
To publish your web app to the Chrome Web Store you will need to be the owner of the domain used by the web-app. If you do not own the domain of the web app, you can not publish it to the Chrome Web Store.