Skip to content

fwd/nano-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line

Nano Blog

Self-Hosted Crypto Paywall Blog

line

line line

line

Start Your Own Blog

  • Free hosting and deployment by Cloudflare Pages
  • Bring your own Nano Address
  • No domain purchased required

line

Your Repo can be private, and named anything you like.

Step 2. Setup Cloudflare Pages

Sign Up for Cloudflare line

Go to Workers & Pages

line

Create New Application

line

Go to Pages

line

Connect to Git

line

Add Github Account

line

Select Nano/Blog fork

line

Select Repo and Begin Setup

line

Configure Blog

  • Build command: node build
  • Build output: docs

line

Optional: Setup Custom Domain line

Step 3. Edit Your Blog

Now that Cloudflare is setup. It auto deploys. Meaning any changes done on Github are deployed.

  • Configure: /config.json
  • Write: /source/*
  • Language: Markdown
  • File Structure: source/my-premium-article-title-in-kebab-case.md
  • Put Images In: /images

Pro Tip: Press the '<' key while on Github to open Visual Studio in the browser.

Markdown Structure:

- title: My Premium Article Title
- date: 01-01-2023
- tags: Opinion
- price: 0.01
- free: true
- author: @your_twitter
- website: twitter.com/your_twitter
- address: YOUR_NANO_ADDRESS
-----
Your story in Markdown..

Offline Writing

git clone git@github.com:[name]/[your-nano-blog-fork].git
npm install
npm run watch

line

Local Version: http://localhost:8080

When changes in ./articles/*.md, ./images and ./themes it auto builds.

Build Your Own Theme

This project is designed for Theming. Duplicate /themes/minimal and change config.json.

Powered by Nano/Wall.JS

❯ Stargazers

Stargazers over time