<rss
      xmlns:atom="http://www.w3.org/2005/Atom"
      xmlns:media="http://search.yahoo.com/mrss/"
      xmlns:content="http://purl.org/rss/1.0/modules/content/"
      xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      version="2.0"
    >
      <channel>
        <title><![CDATA[Npub.pro]]></title>
        <description><![CDATA[Making beautiful nostr-based websites for creators. Our vision, goals, roadmap and challenges.]]></description>
        <link>https://blog.npub.pro/tag/howto/</link>
        <atom:link href="https://blog.npub.pro/tag/howto/rss/" rel="self" type="application/rss+xml"/>
        <itunes:new-feed-url>https://blog.npub.pro/tag/howto/rss/</itunes:new-feed-url>
        <itunes:author><![CDATA[Npub.pro]]></itunes:author>
        <itunes:subtitle><![CDATA[Making beautiful nostr-based websites for creators. Our vision, goals, roadmap and challenges.]]></itunes:subtitle>
        <itunes:type>episodic</itunes:type>
        <itunes:owner>
          <itunes:name><![CDATA[Npub.pro]]></itunes:name>
          <itunes:email><![CDATA[Npub.pro]]></itunes:email>
        </itunes:owner>
            
      <pubDate>Fri, 05 Jul 2024 12:17:11 GMT</pubDate>
      <lastBuildDate>Fri, 05 Jul 2024 12:17:11 GMT</lastBuildDate>
      
      <itunes:image href="https://image.nostr.build/285c6ca9d8cb4a351dff0ace2c301e1b58d8bd7a66633d60f60db700f3dc89dd.jpg" />
      <image>
        <title><![CDATA[Npub.pro]]></title>
        <link>https://blog.npub.pro/tag/howto/</link>
        <url>https://image.nostr.build/285c6ca9d8cb4a351dff0ace2c301e1b58d8bd7a66633d60f60db700f3dc89dd.jpg</url>
      </image>
      <item>
      <title><![CDATA[How to self-host npub.pro website on Github Pages?]]></title>
      <description><![CDATA[Host your site for free on Github]]></description>
             <itunes:subtitle><![CDATA[Host your site for free on Github]]></itunes:subtitle>
      <pubDate>Fri, 05 Jul 2024 12:17:11 GMT</pubDate>
      <link>https://blog.npub.pro/post/how-to-self-host-on-github/</link>
      <comments>https://blog.npub.pro/post/how-to-self-host-on-github/</comments>
      <guid isPermaLink="false">naddr1qqdxsmmh946x7ttnv4kxvttgdaehgtt0dckkw6t5dp6kyq3qpr4du5xl28dy5sh4msz9uddnwxgzupkk4qzjzklv84edc6ruevzqxpqqqp65wjpk6xx</guid>
      <category>#howto</category>
      
        <media:content url="https://image.nostr.build/3bef7b2e01dbe4ea48d1a774c9582139d83195615a5bc7db6822cc6e250f5068.png" medium="image"/>
        <enclosure 
          url="https://image.nostr.build/3bef7b2e01dbe4ea48d1a774c9582139d83195615a5bc7db6822cc6e250f5068.png" length="0" 
          type="image/png" 
        />
      <noteId>naddr1qqdxsmmh946x7ttnv4kxvttgdaehgtt0dckkw6t5dp6kyq3qpr4du5xl28dy5sh4msz9uddnwxgzupkk4qzjzklv84edc6ruevzqxpqqqp65wjpk6xx</noteId>
      <npub>npub1pr4du5xl28dy5sh4msz9uddnwxgzupkk4qzjzklv84edc6ruevzqlxmkzp</npub>
      <dc:creator><![CDATA[Npub.pro]]></dc:creator>
      <content:encoded><![CDATA[<ol>
<li>Create git repo:</li>
</ol>
<pre><code class="language-export">export REPO=nostr-site-demo
mkdir $REPO; cd $REPO;
</code></pre>
<ol start="2">
<li><p>Create $REPO on github.</p>
</li>
<li><p>Init local repo and push to Github:</p>
</li>
</ol>
<pre><code class="language-echo">git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/$USER/$REPO.git
git push -u origin main
</code></pre>
<ol start="4">
<li>Setup Github Pages:</li>
</ol>
<ul>
<li>open repo page on github</li>
<li>open Settings -&gt; Pages</li>
<li>under Branch choose 'main' and save</li>
</ul>
<ol start="5">
<li>Wait 1-2 minutes and reload the settings -&gt; Pages page until you see "Your site is live at URL".</li>
</ol>
<ul>
<li>copy URL of your github pages website</li>
</ul>
<ol start="6">
<li>Go to npub.pro <a href="https://npub.pro/admin">admin panel</a> and choose your site and open Settings.</li>
</ol>
<ul>
<li>edit Website Address, paste the URL of your Github Pages address</li>
<li>click Save</li>
</ul>
<ol start="7">
<li><p>Download the updated zip archive for self-hosting at <yoursite>.npub.pro/dist.zip</yoursite></p>
</li>
<li><p>Extract files from archive to your REPO dir, commit, push to Github:</p>
</li>
</ol>
<pre><code>unzip path/to/zip/dist.zip
git add .
git commit -m "Add site files"
git push origin main
</code></pre>
<ol start="9">
<li>Wait 1 minute for Github to update your site.</li>
</ol>
<p>You should be done now!</p>
]]></content:encoded>
      <itunes:author><![CDATA[Npub.pro]]></itunes:author>
      <itunes:summary><![CDATA[<ol>
<li>Create git repo:</li>
</ol>
<pre><code class="language-export">export REPO=nostr-site-demo
mkdir $REPO; cd $REPO;
</code></pre>
<ol start="2">
<li><p>Create $REPO on github.</p>
</li>
<li><p>Init local repo and push to Github:</p>
</li>
</ol>
<pre><code class="language-echo">git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/$USER/$REPO.git
git push -u origin main
</code></pre>
<ol start="4">
<li>Setup Github Pages:</li>
</ol>
<ul>
<li>open repo page on github</li>
<li>open Settings -&gt; Pages</li>
<li>under Branch choose 'main' and save</li>
</ul>
<ol start="5">
<li>Wait 1-2 minutes and reload the settings -&gt; Pages page until you see "Your site is live at URL".</li>
</ol>
<ul>
<li>copy URL of your github pages website</li>
</ul>
<ol start="6">
<li>Go to npub.pro <a href="https://npub.pro/admin">admin panel</a> and choose your site and open Settings.</li>
</ol>
<ul>
<li>edit Website Address, paste the URL of your Github Pages address</li>
<li>click Save</li>
</ul>
<ol start="7">
<li><p>Download the updated zip archive for self-hosting at <yoursite>.npub.pro/dist.zip</yoursite></p>
</li>
<li><p>Extract files from archive to your REPO dir, commit, push to Github:</p>
</li>
</ol>
<pre><code>unzip path/to/zip/dist.zip
git add .
git commit -m "Add site files"
git push origin main
</code></pre>
<ol start="9">
<li>Wait 1 minute for Github to update your site.</li>
</ol>
<p>You should be done now!</p>
]]></itunes:summary>
      <itunes:image href="https://image.nostr.build/3bef7b2e01dbe4ea48d1a774c9582139d83195615a5bc7db6822cc6e250f5068.png"/>
      </item>
      
      </channel>
      </rss>
    