Hi friends, this post by Srinu chilukuri. In this article he will explain you how to create your own chrome app and upload to Google Chrome Web Store. We are creating this app using JSON data, and using Google chrome extension we can compress it to a extension pack. You need a notepad or any text editor and Google Chrome browser installed in your machine.

Create your own Google Chrome App using JSON by Srinu chilukuri

Create your own Google Chrome App using JSON by Srinu chilukuri

demo link for Create your own Google Chrome App using JSON download link for Create your own Google Chrome App using JSON

Create a new file in your project directory called “manifest.json” and add to it the following code.
Place your app icon inside the directory with the name icon.png. You can use png,gif and jpg files for icon. But I prefer png. Now you need to create a JSON object with the details for your Chrome App (Extension) like below.

JSON Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
    //name - name of your application
    "name": "AnilLabs",
    //description - description of your application
    "description": "PHP Tutorial Online with Demo and Example.",
    //version - of you APP
    "version": "1.0",
    //manifest version (No need to change)
    "manifest_version": 2,
    //Image of your app. Image should be 128 X 128 px
    "icons": {
    "128": "anillabs_icon.png"
    },

    "app": {
    "urls": [
    //URL of your website/Blog etc..
      "http://www.anillabs.com/"
    ],
    "launch": {
    //URL of your website/Blog etc..This URL will open once the user clik on the icon
      "web_url": "http://www.anillabs.com/"
    }
    },
    "permissions": [
    "unlimitedStorage",
    "notifications"
        ]
    }

Save the file and open your Google Chrome. From the options open Tools -> Extensions.
The new tab will open.

Create your own Google Chrome App using JSON by Srinu chilukuri

Create your own Google Chrome App using JSON by Srinu chilukuri

At the top you can find the menu called Load Unpacked Extension. In not, check the Developer Mode at the top right of the window. Now you can see Load Unpacked Extension button. Click and select the directory where you have saved the above JSON file and Image of your App. Now you can see your app installed in Chrome. Open a new window and check.

Now we can pack the extension using Chrome to send anybody or to upload in Chrome Store. Open Extension Manager (Tools -> Extensions) and click on Load Extension. Open the Extension root directory, click Pack Extension. You can find a file with your app name having .crx extension. You can upload this Packed Extension to Chrome Store or share on internet to make you app popular.

App Icon with 128X128 size

Create your own Google Chrome App using JSON by Anil Kumar Panigrahi

Create your own Google Chrome App using JSON by Anil Kumar Panigrahi

If you are interested in learning more about packaged apps I recommend that you check out the Packaged Apps documentation at
http://developer.chrome.com/apps/about_apps.html

Categories: Articles

3 Comments

Rajesh A · December 11, 2013 at 4:23 am

nice article
This is useful to me
Thank Q

Why You Need a VPN Chrome Extension - A Beginner's Guide - Anil Labs · September 3, 2018 at 9:12 am

[…] all, in the earlier, I have explained how to create Google Chrome app. This is VPN Chrome […]

Pretty printing of JSON using PHP and Javascript - Anil Labs · June 8, 2020 at 9:30 am

[…] way. In the earlier posts, I have explained how to create API. This post is extended to display JSON, so that easy to understand and readable. To print the JSON data pretty way we have two approaches, […]

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *