Skip to content

hackergrrl/ipfs-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipfs-blog

opinionated ipfs-powered blog

Background

Wouldn't it be nice to have a simple static HTML blog that you didn't need to worry about hosting?

Prerequisites

You'll need IPFS installed, at least 0.4.0.

Usage

$ npm install -g ipfs-blog

$ cd /tmp

$ cat > article.md
# Hello world!

This is my very first blog entry to the permanent web! Huzzah!
^D

$ ipfs-blog --title "My Permanent Blarg"
wrote article.md
https://ipfs.io/ipfs/QmR8kn6CQzBADU6BvHPnvnkpXKykkJVwjJVujPqZz3nWDj

Note that you'll need a local IPFS daemon running in order to publish.

CLI

All markdown files (*.markdown, *.md) in the current directory will be published.

Each article will use its mtime (last modified time) as its publish date. You can use e.g. touch to fudge this to a custom time if you'd like: touch -d "Fri Sep 23 17:44:32 PDT 2016" article.md.

You can pass -t | --title with a string to specify the name of the blog.

Customization

All flavour text is hard-coded for now. PRs that better facilitate user customization (color scheme, etc) are very welcome!

License

ISC

About

🌐 Host a blog ..without the hosting!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published