Skip to content

Commit 6d55879

Browse files
committed
Site updated: 2020-03-13 03:12:07
1 parent 9f7a73d commit 6d55879

File tree

5 files changed

+95
-60
lines changed

5 files changed

+95
-60
lines changed

getting-started/index.html

+39-19
Original file line numberDiff line numberDiff line change
@@ -109,31 +109,51 @@ <h1 id="Examples">Examples</h1>
109109
<div class="book-content">
110110
<div class="book-post">
111111
<h1 id="Getting-Started">Getting Started</h1>
112+
<p>Aify is very easy to get started with. Following this guide you can begin using Aify in under 15 minutes! Let’s dive in!</p>
113+
<h2 id="Step-1-Create-your-account-on-Aify-Dashboard">Step 1 - Create your account on Aify Dashboard</h2>
112114
<ol>
113-
<li>Log on to <a href="https://aify.thecodefoundation.dev/" target="_blank" rel="noopener">Aify Dashboard</a> and Login or Create Account. After account creation, Login to your account.</li>
115+
<li>Head over to <a href="https://thecodefoundation.dev" target="_blank" rel="noopener">aify.thecodefoundation.dev</a>. You’ll be presented with the login screen as shown below -</li>
116+
<li>Click on Create an Account to register a new account. If you already have an account, skip to step 4.</li>
117+
<li>Fill in the required details on the registration page. Click on Register to button to complete registration.</li>
118+
<li>You’ll be taken back to the login screen. Enter your credentials and submit the form to login.</li>
119+
</ol>
120+
<h2 id="Step-2-Add-your-website">Step 2 - Add your website</h2>
121+
<ol start="5">
114122
<li>On the left menu, Click on Websites &gt; Add</li>
115123
<li>Add your website, enter any name for your website and enter the root URL of the site.</li>
116-
<li>Ensure that your website has a publicly accessible sitemap file, preferably at <a href="https://example.com/sitemap.xml" target="_blank" rel="noopener">/sitemap.xml</a> location. Our Aify Crawler will use this sitemap to crawl your website.</li>
117-
<li>Wait for 10-15 mins for the Aify Crawler to visit your website and work its magic in the background.</li>
118-
<li>On your web page, include the following line to import the AifyJS package into your application -</li>
119124
</ol>
120-
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&lt;script src&#x3D;&quot;https:&#x2F;&#x2F;thecodefoundation.dev&#x2F;aify.js&quot;&gt;&lt;&#x2F;script&gt;</span><br></pre></td></tr></table></figure>
125+
<blockquote style="background: #f4f493">
126+
<p>Ensure that your website has a publicly accessible sitemap file, preferably at [/sitemap.xml](https://example.com/sitemap.xml) location. Our Aify Crawler will use this sitemap to crawl your website.</p>
127+
</blockquote>
128+
<p>Wait for a few minutes for the Aify Crawler to visit your website and work its magic in the background. Meanwhile, you can move to the next steps and grab your API keys!</p>
129+
<h2 id="Step-3-Get-your-API-Keys">Step 3 - Get your API Keys</h2>
121130
<ol start="7">
122-
<li>In your web page, use the following line to instantiate a connection to the Aify API -</li>
123-
</ol>
124-
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">var ai &#x3D; new aifyjs();</span><br></pre></td></tr></table></figure>
125-
<ol start="8">
126-
<li>To generate element labels on the web page, use the following line -</li>
127-
</ol>
128-
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ai.labels();</span><br></pre></td></tr></table></figure>
129-
<ol start="9">
130-
<li>To fetch captions for the images on the page, use the following line -</li>
131-
</ol>
132-
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ai.captions();</span><br></pre></td></tr></table></figure>
133-
<ol start="10">
134-
<li>When your page loads, it will silently cause an update of the page source to reflect the labels and captions fetched from the Aify API.</li>
135-
<li>Voila! Your website is more accessible to people with visual challenges now!</li>
131+
<li>On the top right of any page in the Aify Dashboard, Click on the user profile picture to open your personal information and settings menu.</li>
132+
<li>Click on <a href="https://aify.thecodefoundation.dev/settings" target="_blank" rel="noopener">Settings</a> to open up your account settings page.</li>
133+
<li>To create a New API Key, enter any string as per your wish as a name for the Key. Click on Create API Key button.</li>
134+
<li>Note down the API key displayed in a safe location. You will not be shown in this API key again.</li>
136135
</ol>
136+
<h2 id="Step-4-Play-with-the-APIs">Step 4 - Play with the APIs</h2>
137+
<p>Now that you’ve got your API keys, you can play around with your API key using Postman or any other equivalent tool for making calls to the REST API.</p>
138+
<p>if you do not have Postman on your system, you can download it using the link below -</p>
139+
<p><a class="btn btn-primary" style="text-decoration: none;" href="https://www.postman.com/downloads/" target="_blank" rel="noopener">Download Postman</a></p>
140+
<style>
141+
.btn.btn-primary {
142+
background: #128fff;
143+
border-color: #2299ff;
144+
text-decoration: none;
145+
}
146+
.btn.btn-primary:active {
147+
background: #1299ff;
148+
border-color: #1277dd;
149+
text-decoration: none ;
150+
}
151+
.btn.btn-primary:focus, .btn.btn-primary:hover {
152+
text-decoration: none;
153+
background: #1299ff;
154+
border-color: #1277dd;
155+
}
156+
</style>
137157

138158
</div>
139159

index.html

+11-13
Original file line numberDiff line numberDiff line change
@@ -109,26 +109,24 @@ <h1 id="Examples">Examples</h1>
109109
<div class="book-content">
110110
<div class="book-post">
111111
<h1 id="Introduction-to-Aify">Introduction to Aify</h1>
112-
<p>In the simplest terms, Aify is a platform-independent library of REST APIs which can be used on web pages, mobile apps, server side code and pretty much anywhere to quickly add the power of artificial intelligence to your website, without you having to invest in any backend or machine learning costs. Aify packs some of the most powerful research based, state of the art models, delivered to you instantly in any environment.</p>
113-
<h2 id="Current-Models">Current Models</h2>
112+
<p>Are you worried about losing out on the benefits of a recommendation engine by using static web hosting? Or maybe your hosting provider does not provide you with shell access? Oh, and to just imagine having to host Python/R files on your hosting!</p>
113+
<p>We solve these for you!</p>
114+
<p>Aify is a platform-independent library of REST APIs which can be used on web pages, mobile apps, server side code and pretty much anywhere to quickly add the power of artificial intelligence to your website, without you having to invest in any backend or machine learning costs. Aify packs some of the most powerful research based, state of the art models, delivered to you instantly in any environment.</p>
115+
<h2 id="Features">Features</h2>
114116
<ul>
115-
<li>Captioning for images</li>
117+
<li>REST API</li>
118+
<li>Recommendation Engine</li>
119+
<li>Auto Website Crawl</li>
120+
<li>High quality generated captions for images</li>
116121
<li>Label determination for webpage elements</li>
117122
<li>Summary of any given text</li>
118-
<li>Voice UX</li>
119-
<li>Recommendation Engine</li>
123+
<li>Voice UX on Web Browsers and Mobile app</li>
120124
</ul>
121-
<h2 id="How-to-use">How to use</h2>
122-
<p>There are two ways you can use aify.js -</p>
123-
<ol>
124-
<li>Hope that the developer of the website you are on has included the aify.js library on their web page. If you’re a developer, you can too! Details in below sections.</li>
125-
<li>Get yourself our browser extension. <a href="https://github.com/aifyjs/extension" target="_blank" rel="noopener">Download it here!</a></li>
126-
</ol>
127125
<h2 id="Quickstart-for-Developers">Quickstart for Developers</h2>
128126
<ol>
129-
<li>Get your API keys from <a href="https://aify.thecodefoundation.dev" target="_blank" rel="noopener">aify.thecodefoundation.dev</a>.</li>
127+
<li>Get your API keys from <a href="https://aify.thecodefoundation.dev" target="_blank" rel="noopener">Aify Dashboard</a>.</li>
130128
<li>Use APIs as listed in the <a href="/api/overview">API Reference</a> or <a href="/getting-started#libraries">Get a Library</a>.</li>
131-
<li>Enjoy! :tada:</li>
129+
<li>Enjoy!</li>
132130
</ol>
133131

134132
</div>

introduction/index.html

+11-13
Original file line numberDiff line numberDiff line change
@@ -109,26 +109,24 @@ <h1 id="Examples">Examples</h1>
109109
<div class="book-content">
110110
<div class="book-post">
111111
<h1 id="Introduction-to-Aify">Introduction to Aify</h1>
112-
<p>In the simplest terms, Aify is a platform-independent library of REST APIs which can be used on web pages, mobile apps, server side code and pretty much anywhere to quickly add the power of artificial intelligence to your website, without you having to invest in any backend or machine learning costs. Aify packs some of the most powerful research based, state of the art models, delivered to you instantly in any environment.</p>
113-
<h2 id="Current-Models">Current Models</h2>
112+
<p>Are you worried about losing out on the benefits of a recommendation engine by using static web hosting? Or maybe your hosting provider does not provide you with shell access? Oh, and to just imagine having to host Python/R files on your hosting!</p>
113+
<p>We solve these for you!</p>
114+
<p>Aify is a platform-independent library of REST APIs which can be used on web pages, mobile apps, server side code and pretty much anywhere to quickly add the power of artificial intelligence to your website, without you having to invest in any backend or machine learning costs. Aify packs some of the most powerful research based, state of the art models, delivered to you instantly in any environment.</p>
115+
<h2 id="Features">Features</h2>
114116
<ul>
115-
<li>Captioning for images</li>
117+
<li>REST API</li>
118+
<li>Recommendation Engine</li>
119+
<li>Auto Website Crawl</li>
120+
<li>High quality generated captions for images</li>
116121
<li>Label determination for webpage elements</li>
117122
<li>Summary of any given text</li>
118-
<li>Voice UX</li>
119-
<li>Recommendation Engine</li>
123+
<li>Voice UX on Web Browsers and Mobile app</li>
120124
</ul>
121-
<h2 id="How-to-use">How to use</h2>
122-
<p>There are two ways you can use aify.js -</p>
123-
<ol>
124-
<li>Hope that the developer of the website you are on has included the aify.js library on their web page. If you’re a developer, you can too! Details in below sections.</li>
125-
<li>Get yourself our browser extension. <a href="https://github.com/aifyjs/extension" target="_blank" rel="noopener">Download it here!</a></li>
126-
</ol>
127125
<h2 id="Quickstart-for-Developers">Quickstart for Developers</h2>
128126
<ol>
129-
<li>Get your API keys from <a href="https://aify.thecodefoundation.dev" target="_blank" rel="noopener">aify.thecodefoundation.dev</a>.</li>
127+
<li>Get your API keys from <a href="https://aify.thecodefoundation.dev" target="_blank" rel="noopener">Aify Dashboard</a>.</li>
130128
<li>Use APIs as listed in the <a href="/api/overview">API Reference</a> or <a href="/getting-started#libraries">Get a Library</a>.</li>
131-
<li>Enjoy! :tada:</li>
129+
<li>Enjoy!</li>
132130
</ol>
133131

134132
</div>

javascript/usage/index.html

+20-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,26 @@ <h1 id="Examples">Examples</h1>
108108
</div>
109109
<div class="book-content">
110110
<div class="book-post">
111-
<p>Coming Soon.</p>
111+
<ol start="6">
112+
<li>On your web page, include the following line to import the AifyJS package into your application -</li>
113+
</ol>
114+
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&lt;script src&#x3D;&quot;https:&#x2F;&#x2F;thecodefoundation.dev&#x2F;aify.js&quot;&gt;&lt;&#x2F;script&gt;</span><br></pre></td></tr></table></figure>
115+
<ol start="7">
116+
<li>In your web page, use the following line to instantiate a connection to the Aify API -</li>
117+
</ol>
118+
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">var ai &#x3D; new aifyjs();</span><br></pre></td></tr></table></figure>
119+
<ol start="8">
120+
<li>To generate element labels on the web page, use the following line -</li>
121+
</ol>
122+
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ai.labels();</span><br></pre></td></tr></table></figure>
123+
<ol start="9">
124+
<li>To fetch captions for the images on the page, use the following line -</li>
125+
</ol>
126+
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ai.captions();</span><br></pre></td></tr></table></figure>
127+
<ol start="10">
128+
<li>When your page loads, it will silently cause an update of the page source to reflect the labels and captions fetched from the Aify API.</li>
129+
<li>Voila! Your website is more accessible to people with visual challenges now!</li>
130+
</ol>
112131

113132
</div>
114133

sitemap.xml

+14-14
Original file line numberDiff line numberDiff line change
@@ -6,51 +6,51 @@
66
</url>
77

88
<url>
9-
<loc>https://docs.thecodefoundation.dev/javascript/voice-ux/</loc>
9+
<loc>https://docs.thecodefoundation.dev/getting-started/</loc>
1010

11-
<lastmod>2020-03-12T14:32:53.626Z</lastmod>
11+
<lastmod>2020-03-12T21:33:09.327Z</lastmod>
1212

1313
</url>
1414

1515
<url>
16-
<loc>https://docs.thecodefoundation.dev/introduction/</loc>
16+
<loc>https://docs.thecodefoundation.dev/javascript/usage/</loc>
1717

18-
<lastmod>2020-03-12T14:25:09.090Z</lastmod>
18+
<lastmod>2020-03-12T21:11:14.757Z</lastmod>
1919

2020
</url>
2121

2222
<url>
23-
<loc>https://docs.thecodefoundation.dev/api/overview/</loc>
23+
<loc>https://docs.thecodefoundation.dev/introduction/</loc>
2424

25-
<lastmod>2020-03-12T14:15:10.449Z</lastmod>
25+
<lastmod>2020-03-12T20:52:12.005Z</lastmod>
2626

2727
</url>
2828

2929
<url>
30-
<loc>https://docs.thecodefoundation.dev/javascript/reference/</loc>
30+
<loc>https://docs.thecodefoundation.dev/javascript/voice-ux/</loc>
3131

32-
<lastmod>2020-03-12T14:12:42.012Z</lastmod>
32+
<lastmod>2020-03-12T14:32:53.626Z</lastmod>
3333

3434
</url>
3535

3636
<url>
37-
<loc>https://docs.thecodefoundation.dev/getting-started/</loc>
37+
<loc>https://docs.thecodefoundation.dev/api/overview/</loc>
3838

39-
<lastmod>2020-03-12T14:06:36.456Z</lastmod>
39+
<lastmod>2020-03-12T14:15:10.449Z</lastmod>
4040

4141
</url>
4242

4343
<url>
44-
<loc>https://docs.thecodefoundation.dev/examples/showcase/</loc>
44+
<loc>https://docs.thecodefoundation.dev/javascript/reference/</loc>
4545

46-
<lastmod>2020-03-08T12:21:33.926Z</lastmod>
46+
<lastmod>2020-03-12T14:12:42.012Z</lastmod>
4747

4848
</url>
4949

5050
<url>
51-
<loc>https://docs.thecodefoundation.dev/javascript/usage/</loc>
51+
<loc>https://docs.thecodefoundation.dev/examples/showcase/</loc>
5252

53-
<lastmod>2020-03-07T18:27:54.459Z</lastmod>
53+
<lastmod>2020-03-08T12:21:33.926Z</lastmod>
5454

5555
</url>
5656

0 commit comments

Comments
 (0)