├── extension-starter-master.zip
├── extension.json
├── index.html
└── README.md
/extension-starter-master.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cosmicjs/extension-starter/master/extension-starter-master.zip
--------------------------------------------------------------------------------
/extension.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "Extension Starter",
3 | "font_awesome_class": "fa-rocket",
4 | "image_url": "https://cosmicjs.com/images/marketing/logo-w-brand.jpg",
5 | "repo_url": "https://github.com/cosmicjs/extension-starter"
6 | }
7 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Extension Starter
8 |
9 |
10 | Hello World!
11 |
12 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | # Cosmic Extension Starter
4 | Extend the Cosmic dashboard experience. Cosmic Extensions enable you to:
5 | - Create custom views in your Cosmic dashboard
6 | - Connect to third-party APIs
7 |
8 |
9 | ### What is a Comsic JS Extension?
10 | In short, it's a [JAMstack app](https://jamstack.org). It can be a simple static website, or complex web app, using front end web technology.
11 |
12 |
13 | ### Links
14 | [Extension docs](https://cosmicjs.com/docs/extensions)
15 |
16 | [Extension examples](https://cosmicjs.com/extensions/)
17 |
18 |
19 | ### Installation
20 | 1. Download the .zip file in this repo
21 | 2. [Login to Cosmic](https://cosmicjs.com) and go to Your Bucket > Settings > Extensions > Add Extension
22 |
23 |
24 | ### Required files
25 | #### extension.json
26 | Key | Type | Description
27 | --- | --- | ---
28 | | title | String | Function title
29 | | font_awesome_class | String | Icon to display in the Bucket sidenav
30 | | image_url | String | Image thumbnail
31 | | repo_url | String | Extension source code url
32 |
33 | Example `extension.json` file:
34 | ```json
35 | {
36 | "title": "Extension Starter",
37 | "font_awesome_class": "fa-rocket",
38 | "image_url": "https://cosmicjs.com/images/marketing/logo-w-brand.jpg",
39 | "repo_url": "https://github.com/cosmicjs/extension-starter"
40 | }
41 | ```
42 | #### index.html
43 | ```html
44 |
45 |
46 |
47 |
48 |
49 |
50 | Extension Starter
51 |
52 |
53 | Hello World! or whatever...
54 |
55 |
56 | ```
57 |
--------------------------------------------------------------------------------