<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Basicattentiontoken on Stephen Ajulu</title><link>https://ajulu.netlify.app/tags/basicattentiontoken/</link><atom:link href="https://ajulu.netlify.app/tags/basicattentiontoken/feed.xml" rel="self" type="application/rss+xml"/><description>Hello, I'm Stephen Ajulu, a seasoned multidisciplinary tech professional with over a decade of experience. I build impactful solutions using design, tech, and engineering in the pursuit of impact.</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><managingEditor>ajulu.b22uf@aleeas.com (Stephen Ajulu)</managingEditor><webMaster>ajulu.b22uf@aleeas.com (Stephen Ajulu)</webMaster><copyright>Stephen Ajulu.</copyright><lastBuildDate>Thu, 26 May 2022 20:30:00 +0300</lastBuildDate><item><title>Host Your Website For Free, Make It Web3 Compliant and Earn Money From It</title><link>https://ajulu.netlify.app/posts/host-your-website-for-free-make-it-web3-compliant-and-earn-money-from-it/</link><pubDate>Thu, 26 May 2022 20:30:00 +0300</pubDate><guid>https://ajulu.netlify.app/posts/host-your-website-for-free-make-it-web3-compliant-and-earn-money-from-it/</guid><description>&lt;h3 id="host-your-website-for-free"&gt;Host Your Website For Free&lt;/h3&gt;
&lt;h4 id="static-websites"&gt;Static Websites&lt;/h4&gt;
&lt;p&gt;Assuming the source code is in a git repository online(GitHub, GitLab, BitBucket, etc)&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;a href="https://netlify.com"&gt;netlify.com&lt;/a&gt; and create an account&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;&lt;strong&gt;&lt;em&gt;Add new site&lt;/em&gt;&lt;/strong&gt;&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;&lt;strong&gt;&lt;em&gt;Import an existing project&lt;/em&gt;&lt;/strong&gt;&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select Git provider_(&lt;a href="https://github.com/stephenajulu"&gt;&lt;em&gt;I&amp;rsquo;m on github&lt;/em&gt;&lt;/a&gt;)_&lt;/li&gt;
&lt;li&gt;Authenticate and Authorize&lt;/li&gt;
&lt;li&gt;Select the repository&lt;/li&gt;
&lt;li&gt;Enter build command e.g this site&amp;rsquo;s build command is &amp;ldquo;&lt;strong&gt;&lt;em&gt;hugo &amp;ndash;gc &amp;ndash;minify&lt;/em&gt;&lt;/strong&gt;&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter publish directory e.g this site&amp;rsquo;s publish directory is &amp;ldquo;&lt;strong&gt;&lt;em&gt;public&lt;/em&gt;&lt;/strong&gt;&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;&lt;strong&gt;&lt;em&gt;Deploy site&lt;/em&gt;&lt;/strong&gt;&amp;rdquo;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That&amp;rsquo;s it. Depending on the static version you used. It will take some time.&lt;/p&gt;</description><content:encoded><![CDATA[<h3 id="host-your-website-for-free">Host Your Website For Free</h3>
<h4 id="static-websites">Static Websites</h4>
<p>Assuming the source code is in a git repository online(GitHub, GitLab, BitBucket, etc)</p>
<ol>
<li>Go to <a href="https://netlify.com">netlify.com</a> and create an account</li>
<li>Click &ldquo;<strong><em>Add new site</em></strong>&rdquo;</li>
<li>Select &ldquo;<strong><em>Import an existing project</em></strong>&rdquo;</li>
<li>Select Git provider_(<a href="https://github.com/stephenajulu"><em>I&rsquo;m on github</em></a>)_</li>
<li>Authenticate and Authorize</li>
<li>Select the repository</li>
<li>Enter build command e.g this site&rsquo;s build command is &ldquo;<strong><em>hugo &ndash;gc &ndash;minify</em></strong>&rdquo;</li>
<li>Enter publish directory e.g this site&rsquo;s publish directory is &ldquo;<strong><em>public</em></strong>&rdquo;</li>
<li>Click &ldquo;<strong><em>Deploy site</em></strong>&rdquo;</li>
</ol>
<p>That&rsquo;s it. Depending on the static version you used. It will take some time.</p>
<p><strong>NB:</strong> <em>Just plain HTML, CSS, and Javascript will take less than 3 seconds and does not need a specified build command or publish directory, Hugo takes anywhere from 10 seconds to 1 minute depending on how large your site is.</em></p>
<h4 id="dynamic-websites">Dynamic Websites</h4>
<p>Now, this depends on what tech stack you are using. I won&rsquo;t lay down the details. Rather I&rsquo;ll provide you with a few hosting solutions, both free and paid.</p>
<ol>
<li><a href="https://heroku.com">Heroku</a></li>
<li><a href="https://digitalocean.com">Digital Ocean</a></li>
<li><a href="https://truehost.co.ke/cloud/aff.php?aff=1738">Truehost(Affordable)</a></li>
<li><a href="https://namecheap.com">Namecheap</a></li>
</ol>
<h3 id="making-your-website-web3-compliant">Making Your Website Web3 Compliant</h3>
<p>As far as I know, the only possible way is by making a static site web3 compliant. I don&rsquo;t know how to make a dynamic site web3 compliant hence will only cover static sites.</p>
<p>There are four URL options:</p>
<p>1. <strong>Constant Hashes</strong> =&gt; serve as links within ipfs and have been discussed in my previous article.</p>
<p>2. <strong>DNSLink</strong> =&gt; Simply put, a regular Web2.0 domain name from a DNS record.</p>
<p>3. <strong>ENS</strong> =&gt; Dynamic Url with a &rsquo; <em>.eth</em> &rsquo; ending and that is more readable than IPNs links. I would argue that this is the best domain choice for establishing a website, but the first option is free :)</p>
<ol>
<li><a href="https://unstoppabledomains.pxf.io/qnXOv5"><strong>Unstoppable Domains</strong></a> =&gt; Dynamic Url with multiple endings. My recommended choice.</li>
</ol>
<h4 id="static-sites">Static Sites</h4>
<ol>
<li>Go to <a href="https://fleek.co">fleek.co</a> and create an account</li>
<li>Follow the same process as Netlify</li>
<li>Select either IPFS or Internet Computer. Your choice.</li>
</ol>
<h3 id="earn-money-from-your-content-website">Earn Money From Your Content Website</h3>
<p>Here I won&rsquo;t cover affiliate marketing and other popular ways to monetize your website as there are enough resources in the web.</p>
<h4 id="1-web-monetization">1. Web Monetization</h4>
<p>To monetize your site, you must:</p>
<ol>
<li>
<p>Set up a web monetized receiver (wallet) for receiving payments. <a href="https://webmonetization.org/docs/ilp-wallets">Supported wallets.</a></p>
</li>
<li>
<p>Get your wallet&rsquo;s payment pointer. E.g. $wallet.example.com/alice</p>
</li>
<li>
<p>Create a special <code>&lt;meta&gt;</code> tag that tells <a href="https://webmonetization.org/#providers">Web Monetization providers</a> how to pay you. e.g.</p>
<pre><code>&lt;meta name=&quot;monetization&quot; content=&quot;$wallet.example.com/alice&quot;&gt;
</code></pre>
</li>
<li>
<p>Add the <code>&lt;meta&gt;</code> tag to each page of your website that you want to monetize. E.g.</p>
<pre><code>&lt;!doctype html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Web Monetized Site&lt;/title&gt;
&lt;meta name=&quot;monetization&quot; content=&quot;$wallet.example.com/alice&quot;&gt;
&lt;/head&gt;
&lt;/html&gt;
</code></pre>
</li>
<li>
<p>For a more detailed look at web monetizing your site, see the <a href="https://webmonetization.org/docs/explainer#getting-started">Web Monetization explainer</a>.</p>
</li>
<li>
<p>Congratulations! Your website is now web monetized.</p>
</li>
</ol>
<h4 id="2-basic-attention-tokens">2. Basic Attention Tokens</h4>
<p>Follow <a href="https://basicattentiontoken.org/publisher-terms-of-service/"><strong>this</strong></a> and <a href="https://creators.brave.com/"><strong>this</strong></a><strong>.</strong></p>
<h4 id="3-digital-product">3. Digital Product</h4>
<p>Create an account on Gumroad, and start creating digital products and selling. Then use their overlay widget on your website</p>
<p>Photo by <a href="https://unsplash.com/@le_buzz?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Le Buzz</a> on <a href="https://unsplash.com/s/photos/website?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p>
<p><a href="https://unstoppabledomains.pxf.io/qnXOv5"><img src="/images/unstoppabledomainsad.webp" style="width: 100%; height: auto;"></a></p>
]]></content:encoded><media:content url="https://ajulu.netlify.app/images/le-buzz-kieii2b9gku-unsplash.jpg" medium="image"/></item></channel></rss>